hg clone https://compcache.googlecode.com/hg/ compcache
The README file in the source root contains information on how to use it. Some of its features include (see Changelog for details):
- Devices are now called /dev/zram
( = 0, 1, 2 ...) instead of ramzswap since they can now handle any kind of I/O and not limited to use as swap.
- Replaced ioctls with sysfs interface. So no need for separate tool like rzscontrol.
- Percpu stats and buffers for improved scalability
- Lots of other cleanups, minor fixes.
(quote from http://code.google.com/p/compcache/issues/detail?id=68)