* Compressor options and speed vs size tradeoff.
@ 2009-02-09 8:23 Gregory Maxwell
2009-02-09 15:16 ` Chris Mason
0 siblings, 1 reply; 2+ messages in thread
From: Gregory Maxwell @ 2009-02-09 8:23 UTC (permalink / raw)
To: linux-btrfs
I ran across an interesting page which reviews the performance of a
number of compressors which are already available for the Linux Kernel
(zlib, lzop, lzma) and which shows the highest performing compressor
choice given the authors test CPU for a variety of data transfer
rates, and read vs write ratio.
http://users.elis.ugent.be/~wheirman/compression/
It shows that for normal disk speeds (i.e. >200mbit/sec) LZOP of some
flavor will yield the greatest performance.
(LZMA, however, has considerably greater space savings; but isn't
likely to increase overall performance with normal disk)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Compressor options and speed vs size tradeoff.
2009-02-09 8:23 Compressor options and speed vs size tradeoff Gregory Maxwell
@ 2009-02-09 15:16 ` Chris Mason
0 siblings, 0 replies; 2+ messages in thread
From: Chris Mason @ 2009-02-09 15:16 UTC (permalink / raw)
To: Gregory Maxwell; +Cc: linux-btrfs
On Mon, 2009-02-09 at 03:23 -0500, Gregory Maxwell wrote:
> I ran across an interesting page which reviews the performance of a
> number of compressors which are already available for the Linux Kernel
> (zlib, lzop, lzma) and which shows the highest performing compressor
> choice given the authors test CPU for a variety of data transfer
> rates, and read vs write ratio.
>
> http://users.elis.ugent.be/~wheirman/compression/
>
>
> It shows that for normal disk speeds (i.e. >200mbit/sec) LZOP of some
> flavor will yield the greatest performance.
>
> (LZMA, however, has considerably greater space savings; but isn't
> likely to increase overall performance with normal disk)
The compression metadata has what it needs to understand other
compression algorithms, but we haven't gotten around to actually coding
in support for other ones.
>From a latency point of view, the decompression speed matters most, but
both compression and decompression are done in the background by a
number of async helper threads in the kernel.
So, lots of the smaller differences between the compression algos end up
hidden for most users. I'm definitely not saying zlib is the perfect
compression routine, but it holds up well overall.
-chris
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-09 15:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-09 8:23 Compressor options and speed vs size tradeoff Gregory Maxwell
2009-02-09 15:16 ` Chris Mason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox