From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by wa-out-1112.google.com with SMTP id m33so4197260wag.8 for ; Wed, 20 Feb 2008 04:40:32 -0800 (PST) Message-ID: <4cefeab80802200440u693cf9d0w5c56b29bf3d5bd81@mail.gmail.com> Date: Wed, 20 Feb 2008 18:10:32 +0530 From: "Nitin Gupta" Subject: Re: [linux-mm-cc] Announce: ccache release 0.1 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4cefeab80802181339ia9609d3oeb238a9f549fc6e5@mail.gmail.com> <4cefeab80802200012r39b00beera521935d141b966a@mail.gmail.com> Sender: owner-linux-mm@kvack.org Return-Path: To: John McCabe-Dansted Cc: linux-mm-cc@laptop.org, linux-mm@kvack.org, linuxcompressed-devel@lists.sourceforge.net List-ID: On Feb 20, 2008 1:59 PM, John McCabe-Dansted wrote: > On Wed, Feb 20, 2008 at 5:12 PM, Nitin Gupta 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 > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org