From owner-freebsd-questions@FreeBSD.ORG Tue Apr 18 12:05:51 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE41016A402 for ; Tue, 18 Apr 2006 12:05:51 +0000 (UTC) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D2BA43D48 for ; Tue, 18 Apr 2006 12:05:50 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from frontend2.internal (frontend2.internal [10.202.2.151]) by frontend1.messagingengine.com (Postfix) with ESMTP id 307C4D47880 for ; Tue, 18 Apr 2006 08:05:50 -0400 (EDT) Received: from frontend3.messagingengine.com ([10.202.2.152]) by frontend2.internal (MEProxy); Tue, 18 Apr 2006 08:05:17 -0400 X-Sasl-enc: kY3kdpcaJ+cRXugz8EC69j+xF5YzIuF/dJN54ig3mzk8 1145361915 Received: from bb-87-81-140-128.ukonline.co.uk (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by frontend3.messagingengine.com (Postfix) with ESMTP id 8CD1489E0 for ; Tue, 18 Apr 2006 08:05:15 -0400 (EDT) From: RW To: freebsd-questions@freebsd.org Date: Tue, 18 Apr 2006 13:05:23 +0100 User-Agent: KMail/1.9.1 References: <53599B87179DE947A3F8E90550BA89296BFF@amserver.AffidavitMaker.local> <44446F47.4010200@yahoo.com> In-Reply-To: <44446F47.4010200@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604181305.25735.list-freebsd-2004@morbius.sent.com> Subject: Re: CPUTYPE Optimizations 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: Tue, 18 Apr 2006 12:05:51 -0000 On Tuesday 18 April 2006 05:47, Brian McKeon wrote: > Bradford Fisher wrote: > >Gathering information as I begin building my optimized make.conf, I > >collected from my sysctl output that I'm running on an Intel Pentium(R) > >4 2.53 GHz processor. I was wondering what architecture would be best > >applied to the CPUTYPE flag. > > > >Thanks, > >-Brad > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > CPUTYPE=pentium4 > or > CPUTYPE=pentium4m > for a mobile chip > > seems logical. however it depends on the type of pentium 4 you have. > There is one chip with more bells and whistles (SSE3 I believe) that has > a specific CPUTYPE associated with it you'd have to check out GCC's > website and lookinto the -march option I know the optimized p4 has a > different name from the general p4 variants, but its exact name escapes > me as I only have the general run of the mill version. > Just run grep SSE /var/run/dmesg.boot if you see SSE3 the type is prescott It's sometimes useful to look in /usr/share/mk/bsd.cpu.mk where a lot of this stuff is defined.