0
rated 0 times
[
0]
[
0]
/ answers: 1 / hits: 1101
/ 1 Year ago, fri, january 13, 2023, 10:04:33
So I've read several related threads and there seems to be no answer.
I have an old laptop, with a Dual Core 1.7 GHz processor and added 2 GB of RAM, with a 30 GB partition for Ubuntu 12.04 and the remaining for Windows XP.
I want to change the default swappiness from 60 to 0.
When I start the computer and run cat /proc/sys/vm/swappiness
in Terminal I get the value 60.
I have no problems changing it to 0 with sudo sysctl vm.swappines=0
I have tried several times changing the file /etc/sysctl
by adding at the end
#
# vm.swappiness=0
But every time I restart my computer the value given by cat /proc/sys/vm/swappiness
is still 60.
Any ideas as to how to fix this?
Thanks
More From » 12.04