Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This article says you can have increased performance in Linux with zRam (virtual swap compressed in RAM).

I have 4 GB of RAM , 2.93 GHz (Dual Core) & I use virtualization a lot (VMWare). Would it be helpful to my computer's performance to install zRam? I'm using Ubuntu 11.10 as my host and a VMWare workstation for virtualization .

share|improve this question
& how do i know that zRam is working or not – One Zero Nov 18 '11 at 7:35
up vote 2 down vote accepted

I'm using it on Oneiric and have not found any problem yet. You should give it a try, and see if the performance is better. Virtualization is one of their use cases. But bear in mind that to give that "extra memory" effect, pages are compressed, which requires cpu power.

To see if it is running, use service zramswap status

share|improve this answer
zramswap start/running – One Zero Nov 26 '11 at 14:21
My question was it really work as it says – One Zero Nov 26 '11 at 14:22
As i said, it depends of the use you give to vm's. If you use vm's to run cpu intensive tasks, the extra cpu power needed to compress the pages could not improve performance at all. In my system, i feel that it is a lot more responsible when the swap memory begins to be used. – Salem Nov 26 '11 at 14:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.