Swappiness

Peter Gordon peter at thecodergeek.com
Thu Feb 22 05:16:47 UTC 2007


On Wed, 2007-02-21 at 19:40 -0800, Todd Simi wrote:
> Hi,
> Is there still something in FC6 to adjust swappiness like there used
> to be?  I couldn't find it in the /proc file system.

If you're looking for the file-like interface,
it's /proc/sys/vm/swappiness.

Otherwise, you can use the "vm.swappiness" sysctl. Run
"sysctl -w vm.swappiness=0" as root. That is a per-boot thing, so if you
want it to be a permanent, add a line that reads as follows to
your /etc/sysctl.conf file as root:

vm.swappiness = 0

Hope that helps!
-- 
Peter Gordon (codergeek42) / FSF Associate Member #5015
GnuPG Public Key ID: 0xFFC19479 / Fingerprint:
  DD68 A414 56BD 6368 D957 9666 4268 CB7A FFC1 9479
Blog: http://thecodergeek.com/blog/ 
About: http://fedoraproject.org/wiki/PeterGordon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070221/79cd9084/attachment-0001.sig>


More information about the fedora-list mailing list