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

inode_cache / dentry_cache not being reclaimed aggressively enoughon low-memory PCs


I've just run across a problem with 2.4.x (and probably 2.6.x as well, if
reports I've see are correct). When updatedb is run overnight, it builds
up large amounts of inode_cache and dentry_cache. This is a big problem on
low memory boxes as those caches are not being reclaimed aggressively
enough, which means the box will be constantly swapping if it runs out of
free memory. I've looked at archives and I find that there's similar
reports going back to 2.4.16, and doesn't seem to have been solved as this
problem is apparently in 2.6.0 as well!
 
The only solution I've found so far is to run L*rry McV*y's lmdd to force
reclaimation of those caches but this isn't ideal. What patches are out
there that solves this problem?

Thanks,
Alex.
-- 
http://www.munted.org.uk

Your mother cooks socks in hell
-
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を参照したい場合の設定について」
Follow-Ups: