If you have PC/Laptop and installed Ubuntu with low RAM or a lower-powered laptop. Now you could worried about the performance. In this brief i want to share how to increase its performance is make more use of RAM instead of swap disk (which is slow).
There’s a tool called zRam previously called “compcache” that creates a compressed block device in RAM to avoid paging on disk until it is necessary to use the swap space on the hard disk.
zRAM especially useful for netbooks, old computers (or computers that don’t have too much RAM), virtualization or embedded devices but of course, you can use it on any computer.
Even though the cost of RAM hardware is relatively low this feature still offers advantages for netbooks and other lower-powered latops, virtualization and in the case of embedded devices, especially those that use flash memories that have a limited lifespan, dependent on write-use and thus wear out quickly when used as a swap device.
How To install zRam in Ubuntu 11.04, 11.10, 12.04
sudo add-apt-repository ppa:shnatsel/zram sudo apt-get update sudo apt-get install zramswap-enabler