Thread
:
How to set swappiness?
View Single Post
DrWilken
2010-09-10 , 21:01
Posts: 515 | Thanked: 266 times | Joined on Nov 2009 @ Oelsted, Denmark
#
47
Originally Posted by
msa
ha, there is a difference: my RAM-usage is constantly at around 180 mb. not sure if thats good...?!
Using the memory available isn't a BAD thing...
Running out of memory is though...
That's where swap is useful.
High swappiness makes the system swap out (RAM->SWAP) aggressively (idle processes memory blocks are moved to disk).
Low swappiness swaps out when memory is running full instead.
http://kerneltrap.org/node/3000
Experiment with it and find out what setting fits Your usage pattern...
I wouldn't recommend setting the value too low (30 seems fine here so far).
__________________
Christian Wilken -
tux-POWER.dk!
... May the Source be with You ...
Last edited by DrWilken; 2010-09-10 at
21:05
.
Quote & Reply
|
DrWilken
View Public Profile
Send a private message to DrWilken
Visit DrWilken's homepage!
Find all posts by DrWilken