Re: Kswapd in 3.2.0-rc5 is a CPU hog

From: Andrew Morton
Date: Tue Jan 10 2012 - 17:33:32 EST


On Tue, 27 Dec 2011 13:56:58 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:

> Hmm, if I understand correctly,
>
> - dd's speed down is caused by kswapd's cpu consumption.
> - kswapd's cpu consumption is enlarged by shrink_slab() (by perf)
> - kswapd can't stop because NORMAL zone is small.
> - memory reclaim speed is enough because dd can't get enough cpu.
>
> I wonder reducing to call shrink_slab() may be a help but I'm not sure
> where lock conention comes from...

Nikolay, it sounds as if this problem has only recently started
happening? Was 3.1 OK?

If so, we should work out what we did post-3.1 to cause this.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/