Re: kswapd high CPU usage with no swap

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jan <jkt@...>
Cc: <linux-kernel@...>
Date: Tuesday, September 25, 2007 - 9:31 pm

On Tue, 25 Sep 2007 12:13:41 +0200
Jan Kundr=C3=A1t <jkt@gentoo.org> wrote:


Could you try out the attached patch, too?

Kswapd and try_to_free_pages() have a built-in pause, where
it waits for IO to complete.  However, the current code also
calls blk_congestion_wait() when there is no IO in flight!

This patch should only make the pageout code wait for IO when
there actually is a significant amount of pageout IO in flight.

Signed-off-by: Rik van Riel <riel@redhat.com>
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
kswapd high CPU usage with no swap, Jan Kundrát, (Mon Sep 24, 8:13 pm)
Re: kswapd high CPU usage with no swap, Rik van Riel, (Mon Sep 24, 10:34 pm)
Re: kswapd high CPU usage with no swap, Jan Kundrát, (Tue Sep 25, 6:13 am)
Re: kswapd high CPU usage with no swap, Rik van Riel, (Tue Sep 25, 9:31 pm)
Re: kswapd high CPU usage with no swap, Jan Kundrát, (Wed Sep 26, 3:27 am)
Re: kswapd high CPU usage with no swap, Rik van Riel, (Wed Sep 26, 11:25 am)
Re: kswapd high CPU usage with no swap, Jan Kundrát, (Wed Sep 26, 6:37 pm)