Today I was searching for ways of improving performance (memory/disk IO) on my Ubuntu desktop after running some application with extensive memory requirements - e.g. VirtualBox instance, I found that a bit of swap space (10%) remained in use, which was downgrading the overall system performance (any new application/windows = IO). Following commands that helped to offload previously paged data back to the RAM:
> sudo swapoff -a
> sudo swapon -a
Note:
Command to recreate swap partition: sudo /sbin/mkswap /dev/<e.g. sda4>
Some references:
http://ubuntuforums.org/showthread.php?t=848184
http://embraceubuntu.com/2005/10/07/memory-swap-management/
http://www.cyberciti.biz/faq/linux-check-memory-usage/
No comments:
Post a Comment