LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-11-2012, 10:46 PM   #1
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
Swappiness not working


I am using ubuntu 11.04 natty and I have 512mb ram. I have set the swappiness value to 10 (confirmed by command 'cat /proc/sys/vm/swappiness'). However, whenever the memory usage becomes more than 50% or so, the swap starts getting used and system performance goes down. Please help.
 
Old 01-12-2012, 09:26 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
http://kerneltrap.org/node/3000

Read the section where Andrew Morton says:
"I'm gonna stick my fingers in my ears and sing 'la la la' until people tell me 'I set swappiness to zero and it didn't do what I wanted it to do'".
 
Old 01-12-2012, 06:53 PM   #3
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
Interesting discussion!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reducing swappiness value 5.2.8 starkadder Puppy 8 11-26-2011 01:22 AM
[SOLVED] Swappiness parameter Mr. Alex Linux - Newbie 1 01-12-2011 09:32 AM
swappiness deactivated? norbert74 Linux - Kernel 7 11-23-2007 11:31 AM
Swappiness Jake_B Red Hat 1 10-21-2005 02:59 PM
Swappiness of kernel debian_dummy Debian 10 06-10-2004 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration