Re: How to tune vm to be less swap happy?

Andrea Aime (aaime@libero.it)
Wed, 1 May 2002 14:33:57 +0000


Sean wrote:
> I've found the rmap VM[0] to be a lot less swap-happy than the stock
> VM. For example, I don't come in in the morning to find that the
> updatedb run has pushed everything into swap and bloated the inode and
> dentry caches to ridiculous sizes. There is also a patch around for
> the stock VM, but I haven't tried it and I don't know what it does.

Thank you for your answer, Sean.
I've tried 2.4.19-pre6 (with preempt-patch), 2.4.19pre7ac2 (with rmap),
2.4.19-pre7aa2. The rmap kernel behaved a bit better by avoid swapping-out
to swap-in a second later (compared to aa), but still suffered (IMHO) from an
oversized cache. The stock kernel was the worst one, of course.
The final cache size doesn't seem to depend much on the kernel, that's because
I asked for VM tune parameters. I also noticed that aa kernel dropped cache
size down to 24MB, but only after one hour without any activity (had
lunch...). BTW, please cc me, I'm not on the list,
Best regards
Andrea Aime
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/