Date: Wed, 11 Oct 2006 23:47:50 +1300 From: Dale DuRose <mafiageek@gmail.com> To: freebsd-hackers@freebsd.org Subject: Re: "tar -c|gzip" faster than "tar -cz"?!? Message-ID: <452CCBD6.6020900@gmail.com> In-Reply-To: <20061010205224.GB19608@britannica.bec.de> References: <200610101727.k9AHRrYo039774@lurza.secnetix.de> <20061010205224.GB19608@britannica.bec.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi I've tested on 6.1-RELEASE-p5 box these are my results. I'm wondering why the dragonfly results are so different. What have you guys done? Cheers Dale Run 1 ------------------------------------------------------------------------- %time sh -c "bsdtar -czf test.tgz /usr/src/contrib/gcc" 12.707u 0.547s 0:13.48 98.2% 58+607k 6+86io 0pf+0w %time sh -c "bsdtar -cf - /usr/src/contrib/gcc | gzip > test2.tgz" 11.043u 0.901s 0:12.07 98.9% 58+588k 0+86io 0pf+0w %time bsdtar -czf test3.tgz /usr/src/contrib/gcc 12.832u 0.525s 0:13.50 98.8% 58+607k 0+86io 0pf+0w Run 2 ------------------------------------------------------------------------- %time sh -c "bsdtar -czf test.tgz /usr/src/contrib/gcc" 12.810u 0.435s 0:13.39 98.8% 58+608k 0+86io 0pf+0w %time sh -c "bsdtar -cf - /usr/src/contrib/gcc | gzip > test2.tgz" 11.033u 0.884s 0:12.05 98.8% 58+590k 0+86io 0pf+0w %time bsdtar -czf test3.tgz /usr/src/contrib/gcc 12.684u 0.397s 0:13.33 98.0% 58+608k 0+86io 0pf+0w Run 2 File Results ------------------------------------------------------------------------- -rw-r--r-- 1 coder coder 11275589 Oct 11 23:39 test.tgz -rw-r--r-- 1 coder coder 11273163 Oct 11 23:40 test2.tgz -rw-r--r-- 1 coder coder 11275589 Oct 11 23:41 test3.tgz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?452CCBD6.6020900>