Increase performance by reducing swappiness

If you have >4GB of ram in your system you might want to change how often the OS would use your HDD/SSD for swap! It can also improve the lifespan of your SSD by reducing the writes in it!

Let’s start!

First thing, open the terminal and paste the command bellow:

cat /proc/sys/vm/swappiness

and hit Enter key

The result should be 60

Now paste the command bellow:

xed admin:///etc/sysctl.conf

And hit Enter key
Copy those 2 lines:
# Decrease swap usage to a more reasonable level
vm.swappiness=10
Go to the end of the file and paste them.
Press CTRL + S and close that window

Please restart your system

Once your system is back, open the terminal and run again the command:
cat /proc/sys/vm/swappiness

The new result should be 10.

Written by: Μονομάχος

Comfuzio is a gamer since very young age, ahead of his era and Hellenic society in general. Fun and informative!

Leave a Reply

Please Login to comment
  Subscribe  
Notify of

E-Arena

Ηλεκτρονική Αρένα.

Παρουσιάσεις παιχνιδιών,

cheats, guides

Twitter

Radeon Software Crimson ReLive Edition 19.4.3 Adrenalin Edition Release Notes https://t.co/wFXEUTXqPS https://t.co/l6ksjdIzc8
XBOX ONE FIRMWARE UPDATE 16/4/2019 https://t.co/tHyuruhHkb https://t.co/Mh2GRYPBsP
Radeon Software Crimson ReLive Edition 19.4.2 Adrenalin Edition Release Notes https://t.co/Z71jIJSlMW https://t.co/prqUDaDpvC

Flickr Widget