From: Rik van Riel <H.H.vanRiel@phys.uu.nl>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Linux MM <linux-mm@kvack.org>
Subject: borrow percentages & new VM scheme
Date: Fri, 27 Nov 1998 06:27:04 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.3.96.981127062128.356A-100000@mirkwood.dummy.home> (raw)
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
reply other threads:[~1998-11-27 9:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.3.96.981127062128.356A-100000@mirkwood.dummy.home \
--to=h.h.vanriel@phys.uu.nl \
--cc=linux-mm@kvack.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox