From: Rik van Riel <riel@conectiva.com.br>
To: linux-mm@kvack.org
Cc: kernelnewbies@nl.linux.org, linux-kernel@vger.kernel.org
Subject: [CFT][PATCH *] faster cache reclaim
Date: Mon, 8 Oct 2001 20:38:27 -0300 (BRST) [thread overview]
Message-ID: <Pine.LNX.4.33L.0110082032070.26495-100000@duckman.distro.conectiva> (raw)
Hi,
after looking at some other things for a while, I made a patch to
get 2.4.10-ac* to correctly eat pages from the cache when it is
about pages belonging to files which aren't currently in use. This
should also give some of the benefits of use-once, but without the
flaw of not putting pressure on the working set when a streaming IO
load is going on.
It also reduces the distance between inactive_shortage and
inactive_plenty, so kswapd should spend much less time rolling
over pages from zones we're not interested in.
This patch is meant to fix the problems where heavy cache
activity flushes out pages from the working set, while still
allowing the cache to put some pressure on the working set.
I've only done a few tests with this patch, reports on how
different workloads are handled are very much welcome:
http://www.surriel.com/patches/2.4/2.4.10-ac9-eatcache
regards,
Rik
--
DMCA, SSSCA, W3C? Who cares? http://thefreeworld.net/ (volunteers needed)
http://www.surriel.com/ http://distro.conectiva.com/
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
next reply other threads:[~2001-10-08 23:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-08 23:38 Rik van Riel [this message]
2001-10-09 1:28 ` Bill Huey
2001-10-09 23:29 ` Robert Love
2001-10-10 2:04 ` Bill Huey
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.4.33L.0110082032070.26495-100000@duckman.distro.conectiva \
--to=riel@conectiva.com.br \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/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