Saturday, January 15, 2011

Speeding up Ubuntu linux by tweeking SWAP memory

I have a desktop with 1GB RAM and Ubuntu 10.10 OS with 4GB of SWAP memory configured and still it felt slow. I'm fine using it for general browsing and reading but not happy to use this desktop for any development

Yesterday I was trying the new Linix Mint 10 Debian Edition (LMDE) with a live CD in this desktop. When looking at the configuration in GParted, I understood that all the 4GB SWAP memory is allocated in one partition. So I though lets break this into two and see what happens.

To my surprise, when I restarted the machine using installed Ubuntu OS, I found my machine got lot faster with the same RAM same amount of SWAP.

So I realized deviding the SWAP memory into multiple parts, each part is with minimum size of the RAM the machine has makes the machine faster.

I'm yet to read upon more on this on how exactly it works, but this is a quick tip we can follow to speedup Ubuntu or any other linux distro.

 

No comments: