From owner-freebsd-hackers Mon May 31 22:13: 3 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id 0853615127; Mon, 31 May 1999 22:12:48 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id HAA18066; Tue, 1 Jun 1999 07:12:43 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id HAA59651; Tue, 1 Jun 1999 07:12:43 +0200 (MET DST) Date: Tue, 1 Jun 1999 07:12:43 +0200 From: Eivind Eklund To: Luigi Rizzo Cc: Satoshi - Ports Wraith - Asami , mladavac@metropolitan.at, freebsd-ports@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: a two-level port system? (fwd) Message-ID: <19990601071242.A58405@bitbox.follo.net> References: <199905311410.HAA51369@silvia.hip.berkeley.edu> <199905311206.OAA19033@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <199905311206.OAA19033@labinfo.iet.unipi.it>; from Luigi Rizzo on Mon, May 31, 1999 at 02:06:22PM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, May 31, 1999 at 02:06:22PM +0200, Luigi Rizzo wrote: > > Now, the problems are: > > > > @ It takes a long time to...what? cvsup the tree? That's already > > to install the port distribution. it's the slowest part of the install > process. developers may not experience that, but all other > users (who buy the cd) do. This is due to FS bogons. There are two bogons in action: (1) 'async' isn't really fully async. Directory creation is still done synchronously. (2) The directory inode layout algorithm is not really efficient for things like the ports collection. There are a number of solutions available: (1) Change 'make release' to scan the ports collection and create an mtree file beforehand; apply the mtree file before extracting the collection. This will make the inode layout more efficient. (2) Change the directory inode layout policy in the kernel to a more efficient scheme (3) Hit jkh with a baseball bat until he stops refusing to use soft updates on the boot floppy during install (due to "making a point") (4) Fix the async code so it actually is fully async 1 and 2 are alternate solutions to the same part of the problem; 3 and 4 are alternate solutions to another part of the problem. Solving any of these would be useful, but solving one problem from each group would give most benefit. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message