From: firenza@gmx.net
To: linux-kernel@vger.kernel.org
Subject: how to page_cache.max_percent?
Date: Wed, 22 Aug 2001 01:39:29 +0200 [thread overview]
Message-ID: <20010822013929.E2275@telecoma.net> (raw)
hi,
the following scenario:
* kernel 2.4.9 smp
* machine with 6GB physical memory
* multiple processes are relying on a 3GB large data structure
to be in memory (speed goes down the drain, when some pages
are swapped out)
* not every page in this 3GB data structure is used all the time
* this data structure is loaded from files, so initially
i end up having 3GB of used cache (visible in vmstat)
now i start another memory intense process and discover via vmstat
the following sensible behaviour: pagecache shrinks slowly and
memory from the 3GB structure is swapped out at a faster rate...
i don't care about the pagecache, i only care about having those
3GB in memory...
is there a way to set a maximum size for the pagecache (afaik,
page_cache.max_percent is not used)?
or can i specify to always drain the pagecache before swapping out?
cheers,
-iowa
next reply other threads:[~2001-08-21 23:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-21 23:39 firenza [this message]
2001-08-21 23:22 ` Ben LaHaise
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=20010822013929.E2275@telecoma.net \
--to=firenza@gmx.net \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®