From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 20 23:41:56 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6018F16A41F for ; Fri, 20 Jan 2006 23:41:56 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F1C643D49 for ; Fri, 20 Jan 2006 23:41:56 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id D652A1A3C1B; Fri, 20 Jan 2006 15:41:55 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A8A1D51AD6; Fri, 20 Jan 2006 18:41:54 -0500 (EST) Date: Fri, 20 Jan 2006 18:41:54 -0500 From: Kris Kennaway To: Gayn Winters Message-ID: <20060120234154.GA45159@xor.obsecurity.org> References: <20060120194700.GB41039@xor.obsecurity.org> <02c901c61e19$2efd3680$6501a8c0@workdog> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline In-Reply-To: <02c901c61e19$2efd3680$6501a8c0@workdog> User-Agent: Mutt/1.4.2.1i Cc: 'Wesley Shields' , freebsd-hackers@freebsd.org, 'Ashok Shrestha' , 'Brandon Flowers' , 'Mike Meyer' , 'Gary Thorpe' , 'Kris Kennaway' , 'Dag-Erling Sm?rgrav' Subject: Re: speed up port compiling using RAM (tmpfs) ??? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2006 23:41:56 -0000 --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--