setting swappiness issue
i tried setting swappiness doing:
but bwhenever reboot, swapiness value default of 60 (as reported sysctl) , file /proc/sys/vm/swapiness contains 60 again.
code: [select]
# sysctl -w vm.swappiness=10
# echo 10 > /proc/sys/vm/swappiness
but bwhenever reboot, swapiness value default of 60 (as reported sysctl) , file /proc/sys/vm/swapiness contains 60 again.
i tried setting swappiness doing:newline,code: [select]# sysctl -w vm.swappiness=10
# echo 10 > /proc/sys/vm/swappiness
but bwhenever reboot, swapiness value default of 60 (as reported sysctl) , file /proc/sys/vm/swapiness contains 60 again.
yes, that's why call default. if want change on boot up, add line (before exit 0) in
/etc/rc.local
that calls script. make sure make script executable (chmod +x) and, of
course, make sure owner root.
jesse
Arduino Forum > Products > Arduino Yún (Moderator: fabioc84) > setting swappiness issue
arduino
Comments
Post a Comment