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

From: Sean Neakums (sneakums@zork.net)
Date: Wed May 01 2002 - 05:51:37 EST


commence Andrea Aime quotation:

> sorry to bother you with this question, but I feel that current vm
> defaults are not tuned for a workstation use, but for a file
> server/db server use.
> [...] is there anything I can do to shrink the cache and to allow a
> bigger part of my working set to fit into memory? Moreover, what vm
> tuning do you advice for a typical workstation use with memory
> hungry applications?

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.

[0] http://www.surriel.com/patches/ -- I used the March 1 patch on
    2.4.18 and am now running with the April 9 patch.

-- 
 /////////////////  |                  | The spark of a pin
<sneakums@zork.net> |  (require 'gnu)  | dropping, falling feather-like.
 \\\\\\\\\\\\\\\\\  |                  | There is too much noise.
-
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/



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