Increase performance by reducing swappiness

12.7 C
Glyfada
Sunday, December 6, 2020

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.

Recent articles

XBOX ONE FIRMWARE UPDATE 30/11/2020

November 2020 Release date: 30/11/2020 OS version: 10.0.19041.5481 (rs_xbox_release_2011.201117-2300) “Optimized for Series X|S” badge in your collection To make it easier to see which of your games have...

L2JMobius Prelude Of War (CentOS 8 Edition)

L2JMobius Installation (CentOS 8 Edition) L2JMobius Server on CentOS 8+ In this guide we are using a VPS by Hetzner. We are also using ssh authentication...

L2JMobius Prelude Of War CentOS 7.7+ Guide

L2JMobius Installation (CentOS 7 Edition) L2JMobius Server on CentOS 7.7+ In this guide we are using a VPS by Hetzner. We are also using ssh authentication...

L2J-Server Installation (CentOS 7 Edition)

In this guide we are using a VPS by Hetzner and we assume you know basic linux commands. We are also using ssh authentication...

Radeon Software Adrenalin 2020 Edition 20.11.2 Release Notes

Radeon Software Adrenalin 2020 Edition 20.11.2 Highlights Support For Radeon™ RX 6800 SeriesWorld of Warcraft: Shadowlands Added Vulkan® Support VK_KHR_fragment_shading_rateThis extension provides the ability to change the shading...

Time to change

Hello friends of e-arena.gr! It has been very long time since we had any sort of changes on the website and gradually you will...
Μονομάχοςhttps://www.e-arena.gr
Comfuzio is a gamer since very young age, ahead of his era and Hellenic society in general. He is also very funny and informative!