linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "John McCabe-Dansted" <gmatht@gmail.com>
To: Nitin Gupta <nitingupta910@gmail.com>
Cc: linux-mm-cc@laptop.org, linux-mm@kvack.org,
	linuxcompressed-devel@lists.sourceforge.net
Subject: Re: [linux-mm-cc] Announce: ccache release 0.1
Date: Wed, 20 Feb 2008 17:29:21 +0900	[thread overview]
Message-ID: <fd87b6160802200029q6b94311eq78fc4f2d7ab147d4@mail.gmail.com> (raw)
In-Reply-To: <4cefeab80802200012r39b00beera521935d141b966a@mail.gmail.com>

On Wed, Feb 20, 2008 at 5:12 PM, Nitin Gupta <nitingupta910@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
swapon_compcache.sh:

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

#!/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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2008-02-20  8:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-18 21:39 Announce: ccache release 0.1 Nitin Gupta
2008-02-19 10:33 ` [linux-mm-cc] " John McCabe-Dansted
2008-02-19 12:06   ` Nitin Gupta
2008-02-19 13:07     ` John McCabe-Dansted
2008-02-19 14:04       ` Nitin Gupta
2008-02-19 16:16 ` John McCabe-Dansted
2008-02-19 16:46   ` Nitin Gupta
2008-02-20  8:12 ` Nitin Gupta
2008-02-20  8:29   ` John McCabe-Dansted [this message]
2008-02-20 12:40     ` [linux-mm-cc] " Nitin Gupta
2008-02-20  8:57 ` Pekka Enberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fd87b6160802200029q6b94311eq78fc4f2d7ab147d4@mail.gmail.com \
    --to=gmatht@gmail.com \
    --cc=linux-mm-cc@laptop.org \
    --cc=linux-mm@kvack.org \
    --cc=linuxcompressed-devel@lists.sourceforge.net \
    --cc=nitingupta910@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).