Blogghete
2015-01-14 06:44 deepin
Hi justdrea,
as you know, the SWAP memory is the partition of the hard disk used by the system once the RAM is saturated.
As you might guess, the SWAP has an I/O speed lower than the RAM and, therefore, when the system has saturated its resources it uses the SWAP area and you notice a drop in performance.
As explained here, http://www.linuxdeepin.com/forum/39/27151, the advice of an Italian developer is to make sure that the system has recourse to swap as little as possible and you can do this by changing the value of the variable swappiness.
The default value of this variable is 60 (range 0..100); the advice of the developer is to decrease the value to 10.
To do so, you might edit the file sysctl.conf.
To do so, please open the terminal and type the following instructions:
Copy the CodeAt this point, you might add the string "vm.swappiness = 10" in line with the other instructions, i.e.:
Copy the CodeRegards.
as you know, the SWAP memory is the partition of the hard disk used by the system once the RAM is saturated.
As you might guess, the SWAP has an I/O speed lower than the RAM and, therefore, when the system has saturated its resources it uses the SWAP area and you notice a drop in performance.
As explained here, http://www.linuxdeepin.com/forum/39/27151, the advice of an Italian developer is to make sure that the system has recourse to swap as little as possible and you can do this by changing the value of the variable swappiness.
The default value of this variable is 60 (range 0..100); the advice of the developer is to decrease the value to 10.
To do so, you might edit the file sysctl.conf.
To do so, please open the terminal and type the following instructions:
- $ nano /etc/sysctl.conf
- #
- # Kernel sysctl configuration
- #
- # Disable packet forwarding
- net.ipv4.ip_forward=0
- # Disable the magic-sysrq key (console security issues)
- kernel.sysrq = 0
- # Enable TCP SYN Cookie Protection
- net.ipv4.tcp_syncookies = 1
- vm.swappiness=10
Reply Like 0 View the author
Here is the "Top" command results with everything running that I would normally use for my work.
Can anyone see any problems here? I really need help with this!! Thanks