From owner-freebsd-current Wed Jan 26 3: 1:21 2000 Delivered-To: freebsd-current@freebsd.org Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.9.224.2]) by hub.freebsd.org (Postfix) with ESMTP id EBAFA15158 for ; Wed, 26 Jan 2000 03:01:12 -0800 (PST) (envelope-from sobomax@altavista.net) Received: from vega.vega.com (dialup2-49.iptelecom.net.ua [212.9.226.113]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id NAA23971; Wed, 26 Jan 2000 13:06:55 +0200 (EET) Received: from altavista.net (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.9.3/8.9.3) with ESMTP id NAA08145; Wed, 26 Jan 2000 13:00:33 +0200 (EET) (envelope-from sobomax@altavista.net) Message-ID: <388ED3C9.4B20E139@altavista.net> Date: Wed, 26 Jan 2000 13:00:25 +0200 From: Maxim Sobolev Reply-To: sobomax@altavista.net Organization: Vega International Capital X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: John LoVerso Cc: Alex Zepeda , freebsd-current@FreeBSD.ORG Subject: Re: bzip2 in src tree References: <388DCF1F.19385402@infolibria.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John LoVerso wrote: > > Again, lemmie get on my soap box, and ask have you looked at the man page, > > and compared the memory required when using -s to the memory required by > > gzip? > > Actually, lemmie get on my soap box and ask have you measured the time that > bunzip2 takes to run? While it does give better compression in many cases, it > is just too SLOW. Using "-s" on decompression just makes it slower. > > I played on a test machine (PII 233MHz 192Mb, spare ST34502LW disk) with some > large package binaries: > [...] > A decompression time of 13 seconds vs. 67 seconds (or 125 seconds with "-s). > Given that ports and packages need a multi-CD anyway, I don't think the speed > penalty of bzip2 is worth it. All this apply only when download cost is not considered. IMHO it is clean that CPU time nowadays is much less expensive than the online time, at least for dialup connections. Also you should take into consideration that usually you packing package ONCE, while number of users downloading this package could be very huge, so online costs savings from decreased download time multiplied by the number of downloads and divided by the costs associated with required CPU time increase will be considerable. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message