Responsiveness
Bu yazının ilgiye ihtiyacı var! Bu yazı şu anda OpenSUSE Wiki'de beklenilen standarda uygun değildir. |
On a system with plenty of RAM, a desktop user will probably dislike swapping. You can try to change the default swappiness setting from 60 to 1 in /proc/sys/vm/swappiness. Log in or use su to access the administrator account, called the "root" user.
Type
cd /proc/sys/vm
and then
echo 1 > swappiness
and then
exit
Note that swappiness will be reset upon reboot using the previous solution. To permanently set swappiness append the following line to /etc/sysctl.conf. As root or using sudo:
Type
echo vm.swappiness = 100 >> /etc/sysctl.conf
This will set your swappiness to 100. Swappiness in the 2.6 kernel branch can have a value between 0 and 100. According to -mm kernel branch maintainer, Andrew Morten, "My point is that decreasing the tendency of the kernel to swap stuff out is wrong. You really don't want hundreds of megabytes of BloatyApp's untouched memory floating about in the machine. Get it out on the disk, use the memory for something useful." article on swappiness