From owner-svn-src-all@FreeBSD.ORG Sat Nov 8 14:18:46 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 423F61065670 for ; Sat, 8 Nov 2008 14:18:46 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id 828C18FC08 for ; Sat, 8 Nov 2008 14:18:45 +0000 (UTC) (envelope-from marc@blackend.org) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id mA8E8DV0061304; Sat, 8 Nov 2008 15:08:14 +0100 (CET) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost [127.0.0.1]) by gothic.blackend.org (8.14.3/8.14.1) with ESMTP id mA8E8DkT001650; Sat, 8 Nov 2008 15:08:13 +0100 (CET) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.14.3/8.14.3/Submit) id mA8E8DiX001649; Sat, 8 Nov 2008 15:08:13 +0100 (CET) (envelope-from marc) Date: Sat, 8 Nov 2008 15:08:13 +0100 From: Marc Fonvieille To: Raphael Becker Message-ID: <20081108140813.GA1039@gothic.blackend.org> References: <200811072201.mA7M1VlX093904@svn.freebsd.org> <20081108001032.GA21542@ma.sigsys.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <20081108001032.GA21542@ma.sigsys.de> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 7.1-PRERELEASE User-Agent: Mutt/1.5.18 (2008-05-17) Cc: svn-src-all@freebsd.org Subject: Re: svn commit: r184753 - head/usr.sbin/sysinstall X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2008 14:18:46 -0000 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 08, 2008 at 01:10:32AM +0100, Raphael Becker wrote: > On Fri, Nov 07, 2008 at 10:01:31PM +0000, Marc Fonvieille wrote: > > + "This will give you ready access to over 19,000 ported software pa= ckages,\n" > > + "at a cost of around 445MB of disk space when \"clean\" and possib= ly\n" >=20 >=20 > I see around 700M here, my ports are configured "read-only", so all > work/, packages/ distfiles/ and so on are outside /usr/ports, updates > are done by cvsup: >=20 > # df -mi /usr/ports/ > Filesystem 1M-blocks Used Avail Capacity iused ifree %iused Mounted on > /dev/md0 1039 712 119 86% 129743 478895 21% /usr/ports >=20 > # du -sm /usr/ports/=20 > 713 /usr/ports/ >=20 > It heavily depends on inode-sizes. >=20 > I have about 130k inodes in use which cause a "theoretical minimum"=20 > of 508MB disk on filesystems with 4k inode-density, about 1G with 8k > inodes (default is 8k, see by newfs(8)) >=20 > -i bytes > Specify the density of inodes in the file system. The default is > to create an inode for every (4 * frag-size) bytes of data space. >=20 > -f frag-size > The fragment size of the file system in bytes. It must be a > power of two ranging in value between blocksize/8 and blocksize. > The default is 2048 bytes. >=20 >=20 > An uncompressed tarball (without the "inode-overhead") of=20 > /usr/ports/ is around 600MB here: >=20 > # tar cf - /usr/ports/ | wc -c > tar: Removing leading '/' from member names > 629196800 >=20 > or 600MB. >=20 > How did you measure / calculate 445MB?=20 >=20 If I do a csup after a rm -rf /usr/ports I get 402M according to "du -sh", so if we add INDEXes we should be close to 440M. I used 445MB to be consistent with what we have in http://www.freebsd.org/cgi/cvsweb.cgi/doc/share/sgml/freebsd.ent.diff?r1=3D= 1.100;r2=3D1.101 --=20 Marc --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFJFZ1MzQ9RwE+OdOgRApJGAKCUjG0DQOoJ2g0h8tRZcNSEYxNA2ACeJTVF ngi7ODM7A/FTr9H4PuuXaXA= =daqS -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--