use zram-config by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
ubiquity (Ubuntu) |
Invalid
|
Wishlist
|
Unassigned | ||
zram-config (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
There is already zram-config in Ubuntu, a package to enable compressed RAM swap: https:/
Starting with kernel 3.8 zram (a rewrite of older compcache) is out of staging. Please enable it by default.
See also:
http://
https:/
=== 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:/
compcache: http://
Thanks!
Changed in linux (Ubuntu): | |
status: | Expired → Confirmed |
description: | updated |
summary: |
- use compcache by default + use zram-config by default |
description: | updated |
no longer affects: | linux (Ubuntu Raring) |
no longer affects: | ubiquity (Ubuntu Raring) |
no longer affects: | zram-config (Ubuntu Raring) |
It should atleast be considerably easier to add, maybe as an option in the install menu or something, that's enabled on systems with 1gb memory or less. Even on a system with 4gb memory compcache helps performance considerably (allowing io cache to function optimally without swapping all my programs).
Instead of modifying initramfs it might be an idea to add a meta package to automatically do that as well.