From: Mike Fedyk <mfedyk@matchmail.com>
To: Alex Buell <alex.buell@munted.org.uk>
Cc: Mailing List - Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: inode_cache / dentry_cache not being reclaimed aggressively enough on low-memory PCs
Date: Sat, 3 Jan 2004 14:24:54 -0800 [thread overview]
Message-ID: <20040103222454.GJ1882@matchmail.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0401031823010.3488@slut.local.munted.org.uk>
On Sat, Jan 03, 2004 at 06:27:42PM +0000, Alex Buell wrote:
> On Sat, 3 Jan 2004, John Lash wrote:
> > A couple of solutions come to mind. The one I like best would be to
> > adjust the above code to make it conscious of the total memory in the
> > system and keep nr_unused to a reasonable percentage. Another is to
> > allow unused_ratio to be less than 1, Possibly some/proc entry to lower
> > it (.5, .25, whatever), or to avoid the float, provide another parameter
> > to do an integer divisor for unused_ratio. Something like:
> >
> > nr_unused - nr_used * unused_ratio / ratio_fraction
>
> That solution does seem be the best answer.
Be sure to run your changes by roger luetger. He's working with the
problems with lowmem machines and 2.6.
next prev parent reply other threads:[~2004-01-03 22:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-03 11:35 inode_cache / dentry_cache not being reclaimed aggressively enough on low-memory PCs Alex Buell
2004-01-03 16:30 ` John Lash
2004-01-03 18:27 ` Alex Buell
2004-01-03 22:24 ` Mike Fedyk [this message]
2004-01-03 22:55 ` Andrew Morton
2004-01-04 0:15 ` Alex Buell
2004-01-04 3:05 ` Andrew Morton
2004-01-04 7:23 ` Mike Fedyk
2004-01-05 17:32 ` Marcelo Tosatti
2004-01-05 18:47 ` Mike Fedyk
2004-01-09 20:49 ` Rik van Riel
2004-01-04 5:31 ` John Lash
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=20040103222454.GJ1882@matchmail.com \
--to=mfedyk@matchmail.com \
--cc=alex.buell@munted.org.uk \
--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