From owner-freebsd-libh Wed Nov 1 6:47:10 2000 Delivered-To: freebsd-libh@freebsd.org Received: from hyde.ssec.wisc.edu (hyde.ssec.wisc.edu [144.92.108.217]) by hub.freebsd.org (Postfix) with ESMTP id 03C0D37B4CF for ; Wed, 1 Nov 2000 06:47:08 -0800 (PST) Received: from hyde.ssec.wisc.edu (dglo@localhost [127.0.0.1]) by hyde.ssec.wisc.edu (8.9.3/8.9.3) with ESMTP id IAA07292; Wed, 1 Nov 2000 08:46:25 -0600 (CST) Message-Id: <200011011446.IAA07292@hyde.ssec.wisc.edu> X-Mailer: exmh version 2.1.1 10/15/1999 To: kientzle@acm.org Cc: "Daniel C. Sobral" , Patrick Bihan-Faou , libh@FreeBSD.ORG Subject: Re: BOF at BSDCon: FreeBSD Installer, Packages System In-reply-to: Your message of "Wed, 01 Nov 2000 00:09:12 PST." <39FFCFA8.BCF5425@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 01 Nov 2000 08:46:25 -0600 From: Dave Glowacki Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tim Kientzle wrote: > "Daniel C. Sobral" wrote: > > It would surprise me. I think you are grossly overestimating tar.gz > > advantage. Anyway, the ports tree is very different from the source tree > > or the ports sources. > > My earlier numbers used default compression for all tests. > Using maximum compression for both ZIP and GZip gives different > numbers, but the same conclusion: > > /usr/ports > tar.gz size: 7,454,638 > ZIP size: 14,947,231 > > If you don't trust my numbers, feel free to try it yourself: > > cd && zip -r9 - . | wc > cd && tar -cf - . | gzip -9 | wc One point I haven't seen anyone else make is that any compression method wins with more raw data. If your above is /usr/ports, you're unfairly biasing things in favor of tar.gz. Individual packages are *much* smaller than /usr/ports and thus won't get the same compression rate. The tar.gz versions will be smaller because they're compressing the entire package rather than compressing individual files, but I don't think the savings will be quite as dramatic, except possibly for mega-packages like emacs or X11. > I have written a set of tools to automate the maintenance of link > directories. They're really very simple. Would you like to see them? Your earlier description sounds a lot like the GNU 'stow' system. You might want to look at that: http://www.gnu.org/software/stow/manual.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message