![]() |
swappiness
the browser and ukplayer seem to be more stable when i set
echo 100 > /proc/sys/vm/swappiness my question is how do i set swappiness permanent |
Re: swappiness
I'd guess it has a hardcoded initial value in the kernel. I'd use a script under the /etc/rcX.d/ directories to echo your new swapiness value into the sysfs entry when the device boots (changes runlevel to be exact).
Simon |
Re: swappiness
thanks for the info lardman. it took me a while to get it, rc2.d being the proper directory. anyway after runing kauga and a samba client and the browser for hours and hours without a crash i am convinced setting swappiness to 100 is the answer to everything short of world hunger
|
Re: swappiness
while i could google it, what does said setting really do?
|
Re: swappiness
my understanding is a higher number shows a preferance of swapping over killing cache when more memory is needed. it can be set from 1 to 100.
|
All times are GMT. The time now is 13:08. |
vBulletin® Version 3.8.8