Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2006 15:32:50 +0200
From:      Joerg Sonnenberger <joerg@britannica.bec.de>
To:        freebsd-hackers@freebsd.org
Subject:   Re: "tar -c|gzip" faster than "tar -cz"?!?
Message-ID:  <20061011133250.GA483@britannica.bec.de>
In-Reply-To: <200610110934.k9B9YASW081294@lurza.secnetix.de>
References:  <17707.64434.913943.549852@bhuda.mired.org>  <200610110934.k9B9YASW081294@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Joerg



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