[linux-mm-cc] Announce: ccache release 0.1

Nitin Gupta nitingupta910 at gmail.com
Mon Feb 18 16:39:54 EST 2008


Hi All,

I am excited to announce first release of ccache - Compressed RAM
based swap device for Linux (2.6.x kernel).
  - Project home: http://code.google.com/p/ccache/
  - ccache-0.1: http://ccache.googlecode.com/files/ccache-0.1.tar.bz2

This is RAM based block device which acts as swap disk. Pages swapped
to this device are compressed and stored in memory itself. This is
especially useful for swapless embedded devices. Also, flash storage
typically used in embedded devices suffer from wear-leveling issues -
so, its very useful if we can avoid using them as swap device.
And yes, its useful for desktops too :)

It does not require any kernel patching. All components are separate
kernel modules:
- Memory allocator (tlsf.ko)
- Compressor (lzo1x_compress.ko)
- Decompressor (lzo1x_decompress.ko)
- Main ccache module (ccache.ko)
(LZO de/compressor is already in mainline but I have included it here
since distros don't ship it by default).
README (or project home) explains compilation and usage in detail.

Some performance numbers for allocator and de/compressor can be found
on project home. Currently it is tested on Linux kernel 2.6.23.x and
2.6.25-rc2 (x86 only). Please mail me/mailing-list any
issues/suggestions you have.

Code reviews will be really helpful! :)

Thanks,
- Nitin


More information about the linux-mm-cc mailing list