How to use RAM in the most efficient way in ubuntu?
In case you do not have much RAM memory it is critical to set up usage of RAM memory in the most efficient way. Here is a very simple way ho to do it.
Change the swap value is the clue.
How to change the swap value in Ubuntu?
You can check the swappiness value by running this command:
$ cat /proc/sys/vm/swappiness
To change the SWAP value simply edit the file above (I use vim):
$ sudo vim /etc/sysctl.conf
and enter the following two lines in the end of the file:
# Decrease swappiness value
vm.swappiness=10
Now just reboot the Ubuntu and it will run much faster!
No comments:
Post a Comment