From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: Rik van Riel <riel@conectiva.com.br>
Cc: Ben LaHaise <bcrl@redhat.com>,
linux-mm@kvack.org, Alexander Viro <viro@math.psu.edu>,
Ingo Molnar <mingo@elte.hu>
Subject: Re: inode/dentry pressure
Date: Wed, 16 May 2001 19:36:38 -0400 [thread overview]
Message-ID: <3B030F06.8BE98FC7@mandrakesoft.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0105161953170.5251-100000@duckman.distro.conectiva>
Rik van Riel wrote:
> since the inode and dentry cache memory usage and the way this
> memory is reaped by kswapd are still very fragile and these
> caches often eat as much as 50% of system memory on normal
> desktop systems I think we need to come up with a real solution
> to this problem.
>
> A quick fix would be to always try and reap inode and dentry
> cache memory whenever these two eat over 10% of memory and let
> the normal VM path eat from them when they're consuming less,
> but since this could break in other situations I'm asking here
> if anybody else has a real solution...
>
> If we cannot find an easy to implement Real Solution(tm) we
> should probably go for the 10% limit in 2.4 and implement the
> real solution in 2.5; if anybody has a 2.4-attainable idea
> I'd like to hear about it ;)
IMHO this is more of a policy question, though I agree strongly it needs
some sort of answer.
When applications start competing with disposable OS caches, of all
sorts, you have to decide cache reap rate, and a suitable low water mark
for each cache in order for the system to be useable under heavy load.
Some caches are going to have a higher low-water mark than others; some
caches may need to be reaped more slowly due to various issues.
--
Jeff Garzik | Game called on account of naked chick
Building 1024 |
MandrakeSoft |
--
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.eu.org/Linux-MM/
prev parent reply other threads:[~2001-05-16 23:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-16 22:59 Rik van Riel
2001-05-16 23:34 ` Alexander Viro
2001-05-17 3:26 ` Ed Tomlinson
2001-05-16 23:36 ` Jeff Garzik [this message]
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=3B030F06.8BE98FC7@mandrakesoft.com \
--to=jgarzik@mandrakesoft.com \
--cc=bcrl@redhat.com \
--cc=linux-mm@kvack.org \
--cc=mingo@elte.hu \
--cc=riel@conectiva.com.br \
--cc=viro@math.psu.edu \
/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