Hi,<br><br>FYI...<br><br>New project repository at: <a href="http://code.google.com/p/ccache/">http://code.google.com/p/ccache/</a><br><br>This new implementation of compressed cache that will not require any kernel patching.
<br>Focus for this implementation will be embedded devices not desktops.<br><br>Notes:<br>- Compress only anonymous pages.<br>- Only LZO compression supported.<br>- Since LZO is hidden option in kernel config and also distro kernels don&#39;t ship with LZO modules by default, I have temporarily imported LZO algo from Linux kernel.
<br>- &#39;make&#39; in ccache will create both ccache and ccache/lzo* modules.<br><br>So, to use ccache, do:<br>- insmod ccache/ccache.ko<br>- insmod ccache/lzo/lzo_compress.ko<br>- insmod ccache/lzo/lzo_decompress.ko<br>
- mknod /dev/ccache b 253 0 (replace 253 with whatever Major no. is assigned to ccache - cat /proc/devices | grep ccache)<br>- swapon /dev/ccache<br>
<br><br>Currently, code is very minimal - ccache size is hardcoded to 10 pages etc. etc... but it conveys the idea :)<br><br><br>Cheers,<br>Nitin<br><br><br>