Re: Re: 2.6.0-test4-mm1 - kswap hogs cpu OO takes ages to start!

Parag Warudkar
2003-08-31T16:52:27Z

But eventually, kswapd does stop scanning and machine is back to normal after a 2 min freeze.
BTW, how is it cured at swappiness ==100?
>
>
> On Thu, 28 Aug 2003, Con Kolivas wrote:
>
> > > Does this make a difference?
> >
> > Tried it. No change.
> >
> > kswapd0 can hit 90% cpu at times unless the swappiness is increased.
>
> Looks like the problem is that cache and process pages are on
> the same lists, forcing kswapd to scan the lists endlessly.
>
> One thing you could try is splitting the lists, at least the
> active list, like done in 2.4-rmap15...
>
> --
> "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
>