Why Linux swappines is so high while HDD is slower than RAM?



CentOS is a server-oriented distribution, virtual memory is very important for those machines (specially when server activity is intense). Regardless, you can set swappiness according to your needs.

Also, despite page files exist in order to allow a machine to behave as if it had extra memory, swappiness is a bit more complex than the fact that storage is slower than RAM. Some people report to have better performance when swappiness is, say, high.

Anyway, I set my laptop swappiness to 10 and I'm glad with it.
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online