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

John McCabe-Dansted gmatht at gmail.com
Wed Feb 20 03:29:21 EST 2008

On Wed, Feb 20, 2008 at 5:12 PM, Nitin Gupta <nitingupta910 at gmail.com> wrote:
>  This project has now moved to: http://code.google.com/p/compcache/
>  This was done to avoid confusion with http://ccache.samba.org/ which
> has nothing to do with this project.
>  PS: only user visible change done is that virtual swap device is now
>  called /dev/compcache

You haven't updated the README file, fortunately
   sed s/ccache/compcache/g < README > README.new
 seems to do exactly what you want.

Perhaps for the convenience of your users you could also include

#Ubuntu Hardy does include lzo_compress and lzo_decompress
(modprobe lzo_compress || insmod
./sub-projects/compression/lzo-kmod/lzo1x_compress.ko) &&
(modprobe lzo_decompress || insmod
./sub-projects/compression/lzo-kmod/lzo1x_decompress.ko) &&
insmod ./sub-projects/allocators/tlsf-kmod/tlsf.ko &&
insmod ./compcache.ko &&
#insmod ./compcache.ko compcache_size_kbytes=128000 &&
sleep 1 &&
swapon /dev/compcache
lsmod | grep lzo
lsmod | grep tlsf
lsmod | grep cache

And swapoff_compcache.sh:

swapoff /dev/ccache
swapoff /dev/compcache
rmmod ccache
rmmod compcache
rmmod tlsf
rmmod lzo1x_compress
rmmod lzo_compress
rmmod lzo1x_decompress
rmmod lzo_decompress

John C. McCabe-Dansted
PhD Student
University of Western Australia

More information about the linux-mm-cc mailing list