Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2006 15:56:55 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Peter Jeremy <PeterJeremy@optushome.com.au>
Cc:        freebsd-hackers@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: speed up port compiling using RAM (tmpfs) ???
Message-ID:  <20060120205655.GA42732@xor.obsecurity.org>
In-Reply-To: <20060120205219.GK25397@cirb503493.alcatel.com.au>
References:  <86ek34d35f.fsf@xps.des.no> <17359.49899.183831.844670@bhuda.mired.org> <86k6cww445.fsf@xps.des.no> <20060119175224.GA71633@csh.rit.edu> <79e2026f0601191215p117d78ebjbee2c4b710075154@mail.gmail.com> <43D0139A.1040601@myrealbox.com> <20060119230604.GA98670@xor.obsecurity.org> <43D11499.8040808@myrealbox.com> <20060120194700.GB41039@xor.obsecurity.org> <20060120205219.GK25397@cirb503493.alcatel.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jan 21, 2006 at 07:52:20AM +1100, Peter Jeremy wrote:5C

> IMHO, the biggest problem (as des pointed out) is that there's nothing
> to prevent two makes attempting to build the same port (this can
> easily happen when both ports A and B depend on port C).  One possible
> solution would be to create another status file in the work directory
> and hold a file lock (flock/lockf) on it whilst a make is in progress.
> Any parallel attempt to make that port would block.
>=20
> If the above was implemented, an enhancement would then be to process
> the port's dependency list in parallel, rather than serially.  This
> would allow a make that was blocked on one dependency to continue with
> a different dependency.

There have been a couple of half-hearted attempts to implement this,
but no complete ones (see an old portmgr PR for details + discussion).
I'd welcome a complete version :)

Kris

--y0ulUmNC+osPPQO6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD4DBQFD0U6XWry0BWjoQKURAla0AKCNelxuoYaf09Yt7V0I2hr1IVcg7wCUD6Il
SHf0zIAnjooTpauOnJ0Ggg==
=SYag
-----END PGP SIGNATURE-----

--y0ulUmNC+osPPQO6--



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