LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Changing swappiness on SUSE-9.3 (https://www.linuxquestions.org/questions/linux-software-2/changing-swappiness-on-suse-9-3-a-327882/)

srivastava 05-28-2005 12:09 AM

Changing swappiness on SUSE-9.3
 
I want to change swappiness from 60 to 10 and I am running SUSE-9.3. How can I do it?

marghorp 05-28-2005 04:49 PM

As the article says :P Why is everybody suddenly changing swappiness, I did it too. I didn't really notice any change in the speed.

Here is how. Login as root. and run the command sysctl -w vm.swappiness=10

Or you can edit the sysctl.conf file in the /etc folder. I did that only to find out that sysctl.conf file does not exist in Slackware. Created my own and seems to work.

Good luck!

masand 06-05-2005 12:41 PM

or add this line to

rc.local file

echo 10 > /proc/sys/vm/swappiness

same can be dome in slackware for 2.6 kernel

regards


All times are GMT -5. The time now is 07:12 AM.