![]() |
Re: How to set swappiness?
Quote:
And you've missed the critical '>' in the command you've given there. |
Re: How to set swappiness?
Thank you Rob1n. My bad. How do you type > using the n900 keyboard?
|
Re: How to set swappiness?
Quote:
|
Re: How to set swappiness?
Thank you once again. You are a live saver. So just to confirm...
echo 60 > /proc/sys/vm/swappiness |
Re: How to set swappiness?
Quote:
Code:
cat /proc/sys/vm/swappiness |
Re: How to set swappiness?
Yep it's 60 :) Thank you!
|
Re: How to set swappiness?
Could you tell us how much better does it perform with the new value after some use?
|
Re: How to set swappiness?
I have been running my N900 with swappiness 30 for some weeks without any ill side-effect. But it seems that battery-life and device responsiveness have both noticably improved.
BTW, on Diablo OS, the default swappiness value was 1. I'm almost certain that a default value of 100 on the N900 is not the optimal setting for this device at all. |
Re: How to set swappiness?
Thanks Pycage!
Do you know how to set it so the value will persist after reboot? |
Re: How to set swappiness?
On n900 default value for swappiness is set by /etc/init.d/rcS script somewhere in the last lines.
echo value > /proc/sys/vm/swappiness works until the next reboot. So if you want to change the value permanently you should edit it in rcS script. |
All times are GMT. The time now is 06:32. |
vBulletin® Version 3.8.8