Hi,
If you use Openbox Bonsai, or the last version of Openbox full, or your own version build on top of it, and if you do use and appreciate ramzswap, you might be interested by what follows.
The configuration made originally won't work anymore with the kernels 2.6.37 which are available in the repos, because the modules in the kernel have changed.
With the 2.6.37 (and above) it is zram:
zgrep ZRAM /proc/config.gz
CONFIG_ZRAM=m
The developer of the Compcache project, Nitingupta,
http://code.google.com/p/compcache, has given the necessary information in order to adapt.
Now what is to be done ? In the next versions of Bonsai and full Openbox, the change will be done. In Openbox Edu, the change is already in it.
If you are switching or have switched to one of the kernels of version 2.6.37, you need to make a change in your /etc/rc.d/rc.local file.
This is the rc.local as it is originally:
http://pastebin.com/zyJkfxKEThis is the rc.local used in the Openbox versions with kernel 2.6.33.7, using /dev/ramzswap0:
http://pastebin.com/4tUgebU8This is the new rc.local you need to use if you want an active
zram0 module, with the kernels 2.6.37:
http://pastebin.com/1Tn9D0ZKI use this configuration each day, it's a good one, "fit for most cases". Here is what I get with this config:
cat /proc/swaps
Filename Type Size Used Priority
/dev/sda7 partition 1019900 0 -1
/dev/zram0 partition 254972 0 30
If you know what you are doing, you can tweak it your way, with the help of the wiki page at the compcache project:
http://code.google.com/p/compcache/wiki/CompilingAndUsingNewthere are many comments, and in the comments, informations given by the developer, on how to activate several block devices and so on...
If you don't know what Compache project and RAM based block device are, and want to know more, you may want to read the main page at the Compcache project:
http://code.google.com/p/compcachePS: if in the future, anyone has an idea about how it could be configured in the pclinuxos systems, in a way that allows to switch from "with zram module" to "without", on the fly, with an adapted configuration, and why not, the choice between several configuration types, I could be interested to know.
PS 2 : if you switch permanently to zram, and kernels 2.6.37 and above, you can also remove the rzscontrol binary which is in /usr/local/sbin as it's neither needed, nor used anymore.