From owner-freebsd-questions@FreeBSD.ORG Sat Jul 21 00:37:18 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3265916A41B for ; Sat, 21 Jul 2007 00:37:18 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id D851713C478 for ; Sat, 21 Jul 2007 00:37:17 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 21092 invoked from network); 20 Jul 2007 19:37:17 -0500 Received: from 203-206-233-219.dyn.iinet.net.au (HELO localhost) (203.206.233.219) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 20 Jul 2007 19:37:16 -0500 Date: Sat, 21 Jul 2007 10:37:10 +1000 From: Norberto Meijome To: James Long Message-ID: <20070721103710.1e16a319@localhost> In-Reply-To: <20070720220337.GA87174@ns.umpquanet.com> References: <20070720220337.GA87174@ns.umpquanet.com> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: speed of bzip2 versus gzip X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2007 00:37:18 -0000 On Fri, 20 Jul 2007 15:03:37 -0700 James Long wrote: > Is it normal for bzip2 to be significantly slower than gzip? > If not, where can I look for things that might be causing > "bzip2 --fast" to take 50-60 times longer to compress a > (sendmail log) file than gzip? i never measured it to see if it is 50-60 times slower, but yes, gzip blows bzip2 out of the water on speed. I wanted to use bzip2 to compress multi-GB weblog files, but gzip beat it my miles, and bzip2 wasn't THAT much better @ compressing it to make it worth it. The box I had tested this one was a Dual Opteron 250, 4 GB RAM, SATA drives gmirrored, FreeBSD 6.1 (or 2), amd64. _________________________ {Beto|Norberto|Numard} Meijome "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." Albert Einstein I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.