← Back to team overview

kernel-packages team mailing list archive

[Bug 381059] Re: use zram-config by default


The Ubuntu kernels also have zswap since Saucy.
It may be a simpler option, needing only a change to the kernel command-line ( add "zswap.enabled=1" ).

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  use zram-config by default

Status in “linux” package in Ubuntu:
Status in “ubiquity” package in Ubuntu:
Status in “zram-config” package in Ubuntu:
Status in “linux” source package in Raring:
Status in “ubiquity” source package in Raring:
Status in “zram-config” source package in Raring:

Bug description:
  There is already zram-config in Ubuntu, a package to enable compressed
  RAM swap: https://launchpad.net/ubuntu/+source/zram-config

  Starting with kernel 3.8 zram (a rewrite of older compcache) is out of
  staging. Please enable it by default.

  See also:

  === Original description ===

  Including compcache by default can have a number of benefits for the
  average, and not so average, Ubuntu user.

  For the average user, compcache will decrease disk swapping, which
  will increase perceived performance and decrease hits, which for
  laptop users will improve battery life. Since many users use laptops
  and netbooks these days, this is a big audience and would make many
  people happy. Desktop users will also benefit, as their disks will be
  less active and their electric bills may go down a tiny bit.

  For the not-so-average user,  such as those that run virtualization,
  they can run more VMs. With Ubuntu striving to be bigger in the server
  space, this could be a big deal. For me, I (unfortunately) run Windows
  in KVM, and it appears that enabling compcache improves my VM's

  Embedded devices and netbooks (such as those that run Ubuntu Netbook
  Remix) will benefit, as they have little RAM, and since compcache sort
  of increases RAM, it will make these devices more capable.

  Since compcache is already in the Ubuntu kernel (see bug 200765), the
  only thing left is to either add an initramfs script or a udev script
  (IMHO, the udev approach is cleaner) as described here:

  compcache: http://code.google.com/p/compcache/


To manage notifications about this bug go to: