Re: Root-causing kswapd spinning on Sandy Bridge laptops?
From: Andrew Lutomirski <hidden>
Date: 2011-06-24 13:32:28
On Fri, Jun 24, 2011 at 8:51 AM, Mel Gorman [off-list ref] wrote:
On Fri, Jun 24, 2011 at 11:24:24AM +0100, P?draig Brady wrote:quoted
On 24/06/11 10:27, Minchan Kim wrote:quoted
Hi Andrew, Sorry but right now I don't have a time to dive into this. But it seems to be similar to the problem Mel is looking at. Cced him. Even, Pádraig Brady seem to have a reproducible scenario. I will look when I have a time. I hope I will be back sooner or later.My reproducer is (I've 3GB RAM, 1.5G swap): dd bs=1M count=3000 if=/dev/zero of=spin.test To stop it spinning I just have to uncache the data, the handiest way being: rm spin.test To confirm, the top of the profile I posted is: i915_gem_object_bind_to_gtt shrink_slabI don't think it's an i915 bug. Another candidate fix in the other thread that Padraig started.
I bet you're right. I do indeed have a tiny high zone. (No clue why -- I have 2G of ram right now.) I won't be a reliable tester because I don't have a good way to reproduce this bug. --Andy -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>