Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2006 11:54:20 -0700 (PDT)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Joerg Sonnenberger <joerg@britannica.bec.de>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: "tar -c|gzip" faster than "tar -cz"?!?
Message-ID:  <200610131854.k9DIsKTV026430@apollo.backplane.com>
References:  <452E8FDF.4050003@FreeBSD.org>  <200610131345.k9DDjYkD030561@lurza.secnetix.de> <20061013175720.GA5150@britannica.bec.de>

next in thread | previous in thread | raw e-mail | index | archive | help

:On Fri, Oct 13, 2006 at 03:45:34PM +0200, Oliver Fromme wrote:
:> Meanwhile I had a quick look at the code:  gzip uses some
:> optimized assembler code (for x86 and 680x0), while libz
:> doesn't have such a thing.  Maybe that's the reason why
:> gzip is noticeably faster.
:
:I'm not sure what happened in the mean time, but when I did the tests in
:2004, libz was faster. *sigh* The assembly doesn't seem to help much, at
:least not the longest_match version. Might be a good idea to look at
:crc32, but I don't have the time now :-(
:
:Joerg

    I very vaguely remember someone mentioning assembly optimized code
    for our libz, or something... I don't remember precisely.  I think
    my response was along the lines of "as long as a C version always
    works, knock yourself out".

						-Matt




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