From owner-freebsd-current@FreeBSD.ORG Wed May 7 15:24:28 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05D8C37B418 for ; Wed, 7 May 2003 15:24:28 -0700 (PDT) Received: from falcon.midgard.homeip.net (h76n3fls20o913.telia.com [213.67.148.76]) by mx1.FreeBSD.org (Postfix) with SMTP id E350643F85 for ; Wed, 7 May 2003 15:24:25 -0700 (PDT) (envelope-from ertr1013@student.uu.se) Received: (qmail 49671 invoked by uid 1001); 7 May 2003 22:24:22 -0000 Date: Thu, 8 May 2003 00:24:22 +0200 From: Erik Trulsson To: Narvi Message-ID: <20030507222422.GA49576@falcon.midgard.homeip.net> Mail-Followup-To: Narvi , Matthias Buelow , current@freebsd.org References: <20030507203018.GA48927@falcon.midgard.homeip.net> <20030508003413.V40030-100000@haldjas.folklore.ee> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030508003413.V40030-100000@haldjas.folklore.ee> User-Agent: Mutt/1.5.4i cc: Matthias Buelow cc: current@freebsd.org Subject: Re: HEADS UP: bzip2(1) compression for manpages, Groff and Texinfo docs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2003 22:24:28 -0000 On Thu, May 08, 2003 at 12:34:58AM +0300, Narvi wrote: > > On Wed, 7 May 2003, Erik Trulsson wrote: > > > > which is a quite significant difference. I picked the file because of size > > > and not change of compression ratio, or check all the files (just in case > > > there are any benchmarking paranoids around). On the speed side, the speed > > > of bunzip2 only matters if the speed difference between it and gunzip were > > > user perceptible on even not really up to date at all hardware, which is > > > not the case AFAICT. > > > > Here you are wrong. On old hardware the difference in speed (and the > > difference in memory needed) between bunzip2 and gunzip is quite > > noticable. > > > > So... how old hardware are you talking about? What I consider old is essentially stuff that is more than 10 years old. 5 year old machines are not old in my opinion. (Yes, I know that many people consider 5 year old computers to be old and obsolete. I consider such people to be quite ridiculous.) A couple of datapoints, using your example of gcc.info compressed with both gzip and bzip2: On my main machine, a Pentium 166/MMX, which I don't consider to be particularly old, and definitely not even close to obsolete, gunzip took less than one second to uncompress the file while bunzip2 took a bit over 5 seconds. I would call that difference quite noticable. On my other FreeBSD machine, a 386sx/33, which I will admit is getting a bit old but not yet obsolete, gunzip required 7 seconds to uncompress the .gz file while bunzip2 required over a minute to uncompress the .bz2 file. Very noticable difference. -- Erik Trulsson ertr1013@student.uu.se