[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] kswapd fix & logic improvement
On Tue, 3 Mar 1998, Jani Hakala wrote:
> I patched pre5 with your diff. Now I get 'kswapd: failed, got 73 of
> 128' messages all the time.
Maybe you should play around a little with /proc/sys/vm/swapctl
and /proc/sys/vm/freepages...
A 1:2:4 ratio for freepages usualy works wonders.
And a echo "10 3 1 3 0 0 0 0 1024" > swapctl gives some
improvement too. As a matter of fact, I'm currently (read:
now) removing some of the 1.1.xx artifacts from mm/vmscan.c...
Things will straighten up RSN, but until that time, you can:
- tune /proc/sys/vm/*
- tune mm/vmscan.c (just make it more agressive)
The main reason that you didn't get that message with the
old kernel is that it doesn't show you the error, but
you're right, I should limit the printout of the error
(to once every 5 seconds?).
Rik.
+-----------------------------+------------------------------+
| For Linux mm-patches, go to | "I'm busy managing memory.." |
| my homepage (via LinuxHQ). | H.H.vanRiel@fys.ruu.nl |
| ...submissions welcome... | http://www.fys.ruu.nl/~riel/ |
+-----------------------------+------------------------------+