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

From: Andrea Aime (
Date: Wed May 01 2002 - 09:33:57 EST

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
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:10 EST