From: Lei Yang <leiyang@nec-labs.com>
To: Phillip Lougher <phillip@lougher.demon.co.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Compression algorithm in cloop
Date: Wed, 11 Aug 2004 10:58:45 -0700 [thread overview]
Message-ID: <411A5E55.3050508@nec-labs.com> (raw)
In-Reply-To: <411A4D34.6000104@lougher.demon.co.uk>
If I don't want to build a new compression library and port it to
kernel, all I want to do is to try out the idea -- whether it could work
on cloop, whether the compression ratio is acceptable, can I just change
the cloop code? In other words, I just need a loopback block device with
other compression scheme.
I know that adding the new algorithm support to kernel would be standard
way to do this and would be helpful to more people, it's just that I
don't have that time :(
Phillip Lougher wrote:
> > Hello,
> >
> > I am trying to do some experiment on compression ratios with cloop. I
> > know that currently cloop uses zlib. How can I change it to other
> > algorithms?
>
> Changing the algorithm from gzip is going to be probably unpopular.
> Cloop uses the gzip deflate library inside the kernel shared by a
> large number of other programs. To change the algorithm you'll have
> to add more (private) decompression code to the kernel. This is a
> retrograde
> step because the shared library was only introduced in 2.4.17 to avoid lots
> of private copies of gzip.
>
> > Where should I start from? Really a newbie to this,
> > appreciate any comments and suggestions!!
>
> There has been discussion on this list before about adding
> bzip2 support to the kernel. Do a search on the list for this.
>
> Regards
>
> Phillip
>
next prev parent reply other threads:[~2004-08-11 18:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-11 16:45 Phillip Lougher
2004-08-11 17:21 ` Grzegorz Kulewski
2004-08-11 17:19 ` Randy.Dunlap
2004-08-11 17:58 ` Lei Yang [this message]
2004-08-11 18:24 ` Paulo Marques
[not found] <411A348D.9070808@nec-labs.com>
[not found] ` <411A50CD.3070908@gentoo.org>
2004-08-11 17:19 ` Lei Yang
-- strict thread matches above, loose matches on Subject: below --
2004-08-11 15:43 Lei Yang
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=411A5E55.3050508@nec-labs.com \
--to=leiyang@nec-labs.com \
--cc=linux-kernel@vger.kernel.org \
--cc=phillip@lougher.demon.co.uk \
/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
Powered by JetHome