Date: Fri, 13 Oct 2006 19:57:20 +0200 From: Joerg Sonnenberger <joerg@britannica.bec.de> To: freebsd-hackers@freebsd.org Subject: Re: "tar -c|gzip" faster than "tar -cz"?!? Message-ID: <20061013175720.GA5150@britannica.bec.de> In-Reply-To: <200610131345.k9DDjYkD030561@lurza.secnetix.de> References: <452E8FDF.4050003@FreeBSD.org> <200610131345.k9DDjYkD030561@lurza.secnetix.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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061013175720.GA5150>
