linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* borrow percentages & new VM scheme
@ 1998-11-27  5:27 Rik van Riel
  0 siblings, 0 replies; only message in thread
From: Rik van Riel @ 1998-11-27  5:27 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux MM

Hi,

I've found that the rediculous amount of swapping associated
with 2.1.130-pre3 goes away if you reduce the borrow percentages
for both buffer and page cache to 10 percent...

We probably want 15% for the borrow percentage on small (<32M)
boxes, but nothing more either.

Lowering the borrow percentage gives kswapd the 'need' to prune
the cache once in a while, even when it is still easy to unmap
something in swap_out().

Because kswapd usually only switches when there is a failure
for either swap_out() or shrink_mmap() it can continue with
swap_out() (since there still is not enough memory free) doing
1000+ swapouts a second for a 7 second period (on my box) which
is just a bit too much.

We need some sort of mechanism to make kswapd switch tactics
more often, or else system stability and performance may
suffer.

regards,

Rik -- now completely used to dvorak kbd layout...
+-------------------------------------------------------------------+
| Linux memory management tour guide.        H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader.      http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+

--
This is a majordomo managed list.  To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-11-27  9:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-27  5:27 borrow percentages & new VM scheme Rik van Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox