I run ubuntu on 4 Gb of RAM, and found the system still using 20% of Swap although the RAM is only 57% full and swappiness set to 5.
The result of
cat /proc/sys/vm/swappiness is 5.
Is this is normal? Or is the swappiness setting not being read at all?
Note : The question is not about how to set swappiness, but rather why after setting the swapiness to a very low number, ubuntu still used a lot of swap although there are plenty of memory to use.