What do you manually set your swappiness to on your linux workstation?

link|improve this question
FWIW, for those who don't know what exactly 'swappiness' means, read this for some context: superuser.com/questions/20984/releasing-swap-space/21005#21005 – Jonik Aug 22 '09 at 8:34
3  
Oh, this should probably be community wiki. (No definitive answer — more like a poll.) – Jonik Aug 22 '09 at 8:35
6  
As it stands, this isn't much of a question. It should be CW, and it may be worth asking people to explain a bit of why they made their choices and what changes (if any) it produced? Otherwise, this is just asking "What color is your mousepad?" – Telemachus Aug 22 '09 at 12:59
feedback

3 Answers

$ sysctl vm.swappiness
vm.swappiness = 30

This worked best on my machine. It has 1gb RAM.

link|improve this answer
feedback

I set mine to 0 but that's because I have 8 gig of ram in the machine. Before that I had it set to 256 but I only had a gig of ram and actually needed the swap in that case.

As Telemachus said I was answering the wrong question: my swappiness is currently set to 60 the default for ubuntu because I never bothered to change it.

link|improve this answer
1  
@Jeremy: You're answering the question "How much swap space do you have?" not the question "What is your swappiness level set to?" (For swappiness, the only possible values are 0-100, so not "I had it set to 256" (which pretty certainly means 256MB of space for swap). – Telemachus Aug 22 '09 at 12:30
heh your right. I wasn't paying attention when I read the question I guess. whoops. – Jeremy Wall Aug 23 '09 at 3:23
feedback

I have mine set to 0.

link|improve this answer
4  
You could have just edited your OP instead of posting an answer. – ephilip Aug 22 '09 at 1:27
2  
Why? What did this do for you? What kind of machine are we talking about (i.e., hardware specs about RAM, please)? Otherwise, honestly, who cares? – Telemachus Aug 22 '09 at 13:00
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.