LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 05-28-2005, 12:09 AM   #1
srivastava
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, 04:49 PM   #2
marghorp
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, 12:41 PM   #3
masand
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

regards
 
  


Reply


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 02:59 PM
changing my hostname in suse 9.3 abuheider Linux - Networking 1 10-11-2005 10:28 PM
How to run vm.swappiness=10 to /etc/sysctl.conf on SUSE-9.3? srivastava Linux - Software 3 05-27-2005 11:10 PM
Swappiness of kernel debian_dummy Debian 10 06-10-2004 03:46 PM
changing motherboard with suse 8.1 Moebius Linux - Hardware 1 12-16-2002 03:20 AM


All times are GMT -5. The time now is 06:56 AM.

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