"tar -c|gzip" faster than "tar -cz"?!?

Steven Hartland killing at multiplay.co.uk
Thu Oct 12 03:20:42 PDT 2006


Just a silly one but are you guys using the same
version of gzip, would be worth just checking?

Joerg Sonnenberger wrote:
> On Wed, Oct 11, 2006 at 11:34:10AM +0200, Oliver Fromme wrote:
>> If gzip uses its own code instead of libz, that would
>> explain the results of my test, of course.  So it seems
>> that gzip is 30% faster than libz ...  quite significant,
>> I think.
> 
> No, it isn't. I did benchmarks before importing the NetBSD version
> into DragonFly two years ago and gzip was *always* slower. zlib 1.2
> added quite a number of performance improvements as well, so it
> shouldn't be the problem.
> 
> I have no idea why it is that slow on FreeBSD -- I don't think the
> slightly older version we have in DragonFly 1.6 is the origin.
> 
> The programs I run were from memory as well.


================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.



More information about the freebsd-hackers mailing list