The use of the swap memory by default on Kernel 2.6.xx is set to 60% that means that the system will use intensively the swap memory. This sounds good if we have a small amount of memory (around 512MB or less) and lot of load on our PC especially if it is working as server. But if we have plenty of RAM (at least 1GB), as I do which is 2GB, and we are using our PC as desktop machine for daily use, we can change the percentage of swap to be utilized. This setting will increase the performance of Linux experience.
This is valid for quite a lot os distributions inlcuding openSUSE, Debian, Fedora and CentOS.
On a Terminal do this as root (use sudo if running Ubuntu)
cat /proc/sys/vm/swappiness
You should see 60. Now change it to 10
sysctl -w vm.swappiness=10
Now is time to work for some minutes with some applications if you see that is better, you can make the changes permanent.
vim /etc/sysctl.conf
and add this line at the end (let me know if it is better to insert this in other file for openSUSE distribution)
vm.swappiness=10
Related: Reduce your Linux Memory Footprint
Similar & Related Posts:
- Tips: Changing Root Mode in Ubuntu/Kubuntu - The Old Way
- All About Linux Swap Space
- Tips: Converting RPMs to DEBs
- Automatix2: Installing Popular Applications On Ubuntu Edgy and Dapper
- Review: OpenSUSE vs Ubuntu
- Training Videos: Updating and installing software in Ubuntu
- Tips: Adding Extra Repositories in Ubuntu
- Ubuntu 8.04: Enabling Multimedia Playbacks
- Ubuntu 8.04: Enabling Atheros AR5007 Based Wireless
- Ubuntu 8.04: Running VMware Server 1.0 and VMware Workstation 6.5




Get FREE daily updates via Email:
















Sitemap
RSS Feed
By:
CC Licensed