Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 1999 07:12:43 +0200
From:      Eivind Eklund <eivind@FreeBSD.ORG>
To:        Luigi Rizzo <luigi@labinfo.iet.unipi.it>
Cc:        Satoshi - Ports Wraith - Asami <asami@FreeBSD.ORG>, 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>
In-Reply-To: <199905311206.OAA19033@labinfo.iet.unipi.it>; from Luigi Rizzo on Mon, May 31, 1999 at 02:06:22PM %2B0200
References:  <199905311410.HAA51369@silvia.hip.berkeley.edu> <199905311206.OAA19033@labinfo.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990601071242.A58405>