[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inode_cache / dentry_cache not being reclaimed aggressively enough on low-memory PCs


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo _at_ vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
References: