Configuring disk cache

Anton Markov anton-F0u+EriZ6ihBDgjK7y7TUQ at public.gmane.org
Mon Jun 21 16:11:41 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Thanks, this is exactly what I was looking for. I have set the
swappiness value to 30 as you have suggested, and now my computer does
not start swapping until about 400MB out of 512MB of RAM are used.

Jing Su wrote:
> there's a file inside your /proc tree that you can set to determine how
> aggressively your kernel will swap out applications for buffers and
> caches.
>
> /proc/sys/vm/swappiness
>
> The file takes a value between 0 and 100.  100 means aggressively swap out
> applications for buffers, 0 means never swap out applications for buffers.
> The default, I think, is 60.  I have mine set to 30, which is a good
> compromise betwen buffers and keeping idle applications responsive.

- --
Anton Markov <("anton" + "@" + "truxtar" + "." + "com")>

GnuPG Key fingerprint =
5546 A6E2 1FFB 9BB8 15C3  CE34 46B7 8D93 3AD1 44B4

*** LINUX - MAY THE SOURCE BE WITH YOU! ***
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA1wi7RreNkzrRRLQRAuhxAJ44/D85mOKzmcGNIELT6edhmYAi1QCghPgf
oNVVYWToORIQvLOLsHvgNew=
=Vi+T
-----END PGP SIGNATURE-----
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list