mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Phillip Lougher <phillip@lougher.demon.co.uk>
To: leiyang@nec-labs.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: Compression algorithm in cloop
Date: Wed, 11 Aug 2004 17:45:40 +0100	[thread overview]
Message-ID: <411A4D34.6000104@lougher.demon.co.uk> (raw)

 > 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


             reply	other threads:[~2004-08-11 17:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-11 16:45 Phillip Lougher [this message]
2004-08-11 17:21 ` Grzegorz Kulewski
2004-08-11 17:19   ` Randy.Dunlap
2004-08-11 17:58 ` Lei Yang
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=411A4D34.6000104@lougher.demon.co.uk \
    --to=phillip@lougher.demon.co.uk \
    --cc=leiyang@nec-labs.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®