Re: Compression algorithm in cloop

From: Phillip Lougher
Date: Wed Aug 11 2004 - 12:08:24 EST


> 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/