Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-28-2005, 01:09 AM   #1
LQ Newbie
Registered: Apr 2005
Posts: 14

Rep: Reputation: 0
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?
Old 05-28-2005, 05:49 PM   #2
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
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!
Old 06-05-2005, 01:41 PM   #3
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
or add this line to

rc.local file

echo 10 > /proc/sys/vm/swappiness

same can be dome in slackware for 2.6 kernel



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Swappiness Jake_B Red Hat 1 10-21-2005 03:59 PM
changing my hostname in suse 9.3 abuheider Linux - Networking 1 10-11-2005 11:28 PM
How to run vm.swappiness=10 to /etc/sysctl.conf on SUSE-9.3? srivastava Linux - Software 3 05-28-2005 12:10 AM
Swappiness of kernel debian_dummy Debian 10 06-10-2004 04:46 PM
changing motherboard with suse 8.1 Moebius Linux - Hardware 1 12-16-2002 04:20 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration