From owner-freebsd-questions@FreeBSD.ORG Wed Jan 10 09:04:39 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6521716A40F for ; Wed, 10 Jan 2007 09:04:39 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (smtp1.utsp.utwente.nl [130.89.2.8]) by mx1.freebsd.org (Postfix) with ESMTP id E019E13C448 for ; Wed, 10 Jan 2007 09:04:38 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id l0A94NLr019194; Wed, 10 Jan 2007 10:04:24 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Wed, 10 Jan 2007 10:04:23 +0100 User-Agent: KMail/1.9.5 References: <1439.192.168.125.134.1168359685.squirrel@webmail.dfwlp.org> In-Reply-To: <1439.192.168.125.134.1168359685.squirrel@webmail.dfwlp.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701101004.23651.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Jonathan Horne Subject: Re: make.conf and building multiple kernels and worlds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2007 09:04:39 -0000 On Tuesday 09 January 2007 17:21, Jonathan Horne wrote: > i am finally looking at make.conf and how editing it could improve my > system(s). > > 1) does specifying a cpu architecture really help? It depends, but generally: yes. (although the perceived speed increase is probably marginal) It really helps when you are using programs which use a lot of floating point operations. gcc is then able to use the faster sse2 instructions instead of plain x87 instructions. > 2) if i am building for a p4-540 (nacona?), a p3, and a p4-xeon, what > problems am i setting myself up for by specifying a cpu type on my build > box? You should choose the lowest common denominator: the p3 in this case. You'll run into trouble if you build programs for a new processor and then run them on an old one. > > at this point, im wondering how to go about building for more than one > architecture effectively. right now, i build one world, and 3 different > kernels, but they are all build with generic options. > > just wondering how i can effectivly leverage my build server to have the > best compile options for my target boxes. > > any suggestions? The kernel probably won't be any faster, but in any case here's how: #make CPUTYPE=pentium4 buildkernel > > thanks, > jonathan Cheers, Pieter