[Bug 381059] Re: use compcache by default
Martin Meyer
elreydetodo at gmail.com
Mon Mar 15 03:13:50 UTC 2010
This is still an issue. I see that COMPCACHE is enabled in my lucid kernel:
$ grep COMPCACHE config-2.6.32-16-generic
CONFIG_BLK_DEV_COMPCACHE=m
# CONFIG_BLK_DEV_COMPCACHE_DEBUG is not set
# CONFIG_BLK_DEV_COMPCACHE_STATS is not set
The module name now is ramzswap. Probing it creates /dev/ramzswap0, which you can call swapon on. Using it is simple:
# modprobe ramzswap
# swapon /dev/ramzswap0 -p 100
Doing that simple stuff will cause an area of compressed ramdisk to be
your highest priority swap disk. A nice init script with a configurable
variable to specify the size to use is all that is needed. A little
configuration dialog to put in the Administration would be nice. Would
also be nice if the Ubuntu installer would detect small-ram conditions
and offer to configure it automatically at install time.
--
use compcache by default
https://bugs.launchpad.net/bugs/381059
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.
More information about the kernel-bugs
mailing list