kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #33013
[Bug 381059] Re: use zram-config by default
On my machine, which is a default desktop I have the following:
$ swapon -s
Filename Type Size Used Priority
/dev/sdc3 partition 33436668 0 -1
/dev/zram0 partition 2044092 0 5
/dev/zram1 partition 2044092 0 5
/dev/zram2 partition 2044092 0 5
/dev/zram3 partition 2044092 0 5
/dev/zram4 partition 2044092 0 5
/dev/zram5 partition 2044092 0 5
/dev/zram6 partition 2044092 0 5
/dev/zram7 partition 2044092 0 5
This is with Trusty. Does this mean it's used and enabled by default and
therefore this bug can be closed?
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/381059
Title:
use zram-config by default
Status in “linux” package in Ubuntu:
Confirmed
Status in “ubiquity” package in Ubuntu:
Confirmed
Status in “zram-config” package in Ubuntu:
Invalid
Status in “linux” source package in Raring:
Confirmed
Status in “ubiquity” source package in Raring:
Confirmed
Status in “zram-config” source package in Raring:
Invalid
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:
http://www.webupd8.org//2011/10/increased-performance-in-linux-with.html
https://launchpad.net/~shnatsel/+archive/zram
=== 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
performance.
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:
https://wiki.ubuntu.com/Compcache
compcache: http://code.google.com/p/compcache/
Thanks!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/381059/+subscriptions