Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2006 18:41:54 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Gayn Winters <gayn.winters@bristolsystems.com>
Cc:        'Wesley Shields' <wxs@csh.rit.edu>, freebsd-hackers@freebsd.org, 'Ashok Shrestha' <ashok.shrestha@gmail.com>, 'Brandon Flowers' <flowersster@gmail.com>, 'Mike Meyer' <mwm@mired.org>, 'Gary Thorpe' <gthorpe@myrealbox.com>, 'Kris Kennaway' <kris@obsecurity.org>, 'Dag-Erling Sm?rgrav' <des@des.no>
Subject:   Re: speed up port compiling using RAM (tmpfs) ???
Message-ID:  <20060120234154.GA45159@xor.obsecurity.org>
In-Reply-To: <02c901c61e19$2efd3680$6501a8c0@workdog>
References:  <20060120194700.GB41039@xor.obsecurity.org> <02c901c61e19$2efd3680$6501a8c0@workdog>

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

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

On Fri, Jan 20, 2006 at 03:28:08PM -0800, Gayn Winters wrote:
> > [mailto:owner-freebsd-hackers@freebsd.org] On Behalf Of Kris Kennaway
> > Sent: Friday, January 20, 2006 11:47 AM
> > To: Gary Thorpe
> > Cc: Wesley Shields; Ashok Shrestha; Brandon Flowers; Kris=20
> > Kennaway; Mike Meyer; freebsd-hackers@freebsd.org; Dag-Erling Sm?rgrav
> > Subject: Re: speed up port compiling using RAM (tmpfs) ???
> >=20
> >=20
> > On Fri, Jan 20, 2006 at 11:49:29AM -0500, Gary Thorpe wrote:
> >=20
> > > >-j is not safe to use with port builds since many ported software
> > > >contain race conditions in the build.
> > > >
> > > >Kris
> > >=20
> > > This effectively means that you cannot take advantage of SMP to
> compile=20
> > > FreeBSD's ports collection. That sounds like a big=20
> > > limitation...especially for people trying to speed up bulk builds.
> >=20
> > Yeah, but what do you propose to do about it?  We have 14000 ports
> > that need to be inspected for build race conditions and fixed before
> > you can turn on -j by default.
> >=20
> > Kris
>=20
>=20
> With a dual processor (even dual core?) is there a way to assign the big
> make to one processor and to assign the foreground activity (email,
> edits, etc) to another?  Is SMP somehow smart enough to do this
> automagically?

Yes, this is what will happen, more or less.

Kris

--T4sUOijqQbZv57TR
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFD0XVCWry0BWjoQKURAiiCAJ9w6Nxh3WRSQ3aMTFVzV9TYFi2A9wCeL4bI
ooTecvFlnfI3HY1yeb2O6kE=
=45l6
-----END PGP SIGNATURE-----

--T4sUOijqQbZv57TR--



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