Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2006 15:59:46 -0400
From:      Mike Meyer <mwm-keyword-freebsdhackers2.e313df@mired.org>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: "tar -c|gzip" faster than "tar -cz"?!?
Message-ID:  <17707.64434.913943.549852@bhuda.mired.org>
In-Reply-To: <200610101727.k9AHRrYo039774@lurza.secnetix.de>
References:  <200610101727.k9AHRrYo039774@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
In <200610101727.k9AHRrYo039774@lurza.secnetix.de>, Oliver Fromme <olli@lurza.secnetix.de> typed:
> Is that a known problem?  Is someone working on it?

Not necessarily a known problem, but not a surprise. I'm not sure
about the size issue - it's not clear what compression level it's
running at. The real time difference is expected. tar uses libarchive,
which does the compression in the process. So while piping tar's
output to gzip will let gzip compress data while tar is waiting on
disk I/O, having tar compress things for you means that doesn't
happen. Fixing that is a non-trivial task.

Since they use different code - with different licenses - some
difference is expected.

	<mike
-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.



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