On Jan 4, 2008 5:00 AM, Mhac Janapin <[EMAIL PROTECTED]> wrote: > I think there's a way to tune the swappiness, right guys? I just forgot > the right command. :-( > > To check the swappiness value on your system, run the following command on the terminal.
# cat /proc/sys/vm/swappiness The value of 60 is often the default on most Linux systems. This value ranges from 0 (less likely to swap) to 100 (very likely to swap). By setting it to a lower value e.g. 10, the system uses much less swap memory than before. To temporarily change the value: # echo "10" > /proc/sys/vm/swappiness To set it permanently so that it takes effect on each boot, edit the /etc/sysctl.conf file and add the line: vm.swappiness=10 HTH > > On Jan 2, 2008 10:22 AM, mary tabucan <[EMAIL PROTECTED] > wrote: > > > i see... ey, thanks much for the info, guys.. really appreciate it.. :) > > > > > > On Jan 2, 2008 1:07 PM, Zak B. Elep <[EMAIL PROTECTED]> wrote: > > > > > On Jan 2, 2008 9:42 AM, mary tabucan <[EMAIL PROTECTED]> wrote: > > > > i see.. so when does my machine normally use the swap? Does my > > > machine make > > > > use of it when my RAM gets full, am i getting it right? > > > > > > Yup, you're doing it right. :D > > > > > > You can check if swap is enabled and used by looking at the output of > > > `swapon -s'. Typically swap gets used even if RAM isn't fully used up > > > > > > when memory-intensives like Firefox make use of the swap to store > > > not-so-frequently accessed media. Also, if you're using a tmpfs > > > partition (like having it on /tmp,) swap can be used in the same way > > > as RAM. > > > > > > Cheers, > > > > > > Zakame > > > > > > > > > -- > > > Zak B. Elep || http://zakame.spunge.org > > > [EMAIL PROTECTED] || [EMAIL PROTECTED] || [EMAIL PROTECTED] > > > 1486 7957 454D E529 E4F1 F75E 5787 B1FD FA53 851D > > > _________________________________________________ > > > Philippine Linux Users' Group (PLUG) Mailing List > > > [email protected] (#PLUG @ irc.free.net.ph) > > > Read the Guidelines: http://linux.org.ph/lists > > > Searchable Archives: http://archives.free.net.ph > > > > > > > > > _________________________________________________ > > Philippine Linux Users' Group (PLUG) Mailing List > > [email protected] (#PLUG @ irc.free.net.ph) > > Read the Guidelines: http://linux.org.ph/lists > > Searchable Archives: http://archives.free.net.ph > > > > > > -- > Mhac Janapin > PBTS SysAd > ============= > http://mulingsilang.wordpress.com > ============= > I'm an Open Source Enthusiast. c",) > _________________________________________________ > Philippine Linux Users' Group (PLUG) Mailing List > [email protected] (#PLUG @ irc.free.net.ph) > Read the Guidelines: http://linux.org.ph/lists > Searchable Archives: http://archives.free.net.ph > -- http://jangestre.wordpress.com
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

