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

Nitin Gupta nitingupta910 at gmail.com
Wed Feb 20 07:40:32 EST 2008


On Feb 20, 2008 1:59 PM, John McCabe-Dansted <gmatht at gmail.com> wrote:
> 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.
>

Now compcache download has updated README.

> Perhaps for the convenience of your users you could also include
> swapon_compcache.sh:
>
> #!/bin/sh
> #Ubuntu Hardy does include lzo_compress and lzo_decompress


I wonder why ubuntu renamed lzo1x_compress module to lzo_compress and
likewise for decompressor. Anyway, I will add these scripts to
download.


> (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:
>
> #!/bin/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