gzip vs. bzip2 - beware of performance difference

Josh Richards <[email protected]>
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <[email protected]>
Before I started testing performance I'd tested the resulting file size
and bzip2 came out better.  But when performance testing came up...

In testing bzip2 is considerably slower than gzip.  By near an order of a
magnitude for me.. (!)

This isn't an hdup problem.  Some googling backs up these results:

  http://jeremy.zawodny.com/blog/archives/000953.html

A recent thread brought up afio, partially due to a performance concern by
the original poster.  They referenced "[..].tar.bz2" as their file 
extension...perhaps they'd have better luck with hdup w/ "compression =
gzip" instead of "compression = bzip". 

Perhaps something to add in the FAQ and/or man page for hdup.conf.

As a side note, lzop, another compression option looks interesting and may
warrant consideration for support in hdup.  An informal analysis (comparing
to gzip/pkzip & bzip2) and links can be had here:

  http://www.matrixlist.com/pipermail/leaplist/2001-December/016244.html

-jr

-- 
Josh Richards            | Collocation   Web Hosting   Bandwidth
Digital West Networks    | +1 805 781-9378 / www.digitalwest.net
San Luis Obispo, CA      | AS14589 & AS29962
[email protected] | DWNI - Making Internet Business Better
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.