[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Swappiness



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

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]