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: Monday, September 24, 2007 - 10:34 pm

On Tue, 25 Sep 2007 02:13:42 +0200
Jan Kundrát <jkt@gentoo.org> wrote:


How much memory did you have in "cached" when you looked
with top (and no swap enabled) ?

If the amount of "cached" memory is very low, it could mean
that your shared libraries are being pushed out of memory,
instead of the kernel swapping out some page that belongs to
only one process.

As for kswapd getting into uninterruptible sleep state, it
will do that all by itself sometimes, without even having
any disk IO going on... that code looks a little suspect,
I will look into it.

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
-
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)