1

How can we enable, fine-tune the Linux kernels memory compression?

So if we have 1 GByte physical memory, the OS could see ex.: 1.5 GByte because of the compression (but of course it would use more CPU).

  • 2
    That's not how it works. Compression doesn't increase available memory, it just decreases the space taken by what is stored in the memory. Your system will always see 1G of RAM, it just might be able to store >1G of data if the data are compressed. – terdon May 11 '17 at 14:59
  • that is ok now, thanks! But how do we enable it on SUSE 11/12? – Peter May 14 '17 at 9:12
  • it cannot be done from user perspective? :) need to re-compile the kernel, or what? – Peter Jun 11 '17 at 7:45
-1

This might point you in the right direction. It tells you what to look up but not necessarily how to implement. I also believe there's a zram service you can install. Something like systemd-zram-service.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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