Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2007 10:37:10 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        James Long <list@museum.rain.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: speed of bzip2 versus gzip
Message-ID:  <20070721103710.1e16a319@localhost>
In-Reply-To: <20070720220337.GA87174@ns.umpquanet.com>
References:  <20070720220337.GA87174@ns.umpquanet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 20 Jul 2007 15:03:37 -0700
James Long <list@museum.rain.com> wrote:

> Is it normal for bzip2 to be significantly slower than gzip?
> If not, where can I look for things that might be causing
> "bzip2 --fast" to take 50-60 times longer to compress a 
> (sendmail log) file than gzip?

i never measured it to see if it is 50-60 times slower, but yes, gzip blows
bzip2 out of the water on speed. I wanted to use bzip2 to compress multi-GB
weblog files, but gzip beat it my miles, and bzip2 wasn't THAT much better @
compressing it to make it worth it.

The box I had tested this one was a Dual Opteron 250, 4 GB RAM, SATA drives
gmirrored, FreeBSD 6.1 (or 2), amd64. 

_________________________
{Beto|Norberto|Numard} Meijome

"Any intelligent fool can make things bigger and more complex... 
 It takes a touch of genius - and a lot of courage to move in the opposite
direction." Albert Einstein

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070721103710.1e16a319>