Just another trying-to-be-a-geek's blog
Posts tagged vm
Five Ubuntu Features You Didn’t Know About
Feb 15th
The quest to discover something new and fresh about Ubuntu, which is arguably the world’s most popular and best documented Linux distribution, is an almost ridiculous one to accept and an almost impossible one to fulfill. I felt like the Mission Impossible character, Jim Phelps, as I read the request from my editor. I expected to see the words, “This is your mission, Ken, should you choose to accept it. This email will self-destruct in five seconds” at the end of that message.
vm.swappiness tweaks
Oct 3rd
First lets revise the basics.
In terms of performance, small storage devices are faster e.g. registers are faster than ram, RAM is faster than hard disk. And Swap is a dedicated partition to be used as paging alternate to RAM when there is not much RAM available.
Now how linux decides when to use swap or not? There is a sysctl parameter called vm.swappiness that is used by linux to decide. vm.swappiness is the kernel parameter that controls how kernel favors swap over RAM. By default its value is 60. So as you guess as value of 0 in the parameter would tell linux More >