How can I install zRam on my Ubuntu 11.10 acer inspire netbook? Seems like it would be advantageous to use zRam. And would it work?
To install Zram for Ubuntu 11.04 and 11.10:
Open terminal and type in:
zram is built into the Linux kernel. I've been experimenting with zram and have a brief script to set it up for swapping, like this:
The machine I was testing on had 1GB of RAM, so I decided to use 256MB*2 for zram swapping. You can also use a similar technique to set up zram as an ext3 filesystem.
You can check zram usage by cat'ing /sys/block/zram0/orig_data_size and mem_used_total