From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 26 05:06:28 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2492816A41F for ; Tue, 26 Jun 2007 05:06:28 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (vpn.mired.org [66.92.153.74]) by mx1.freebsd.org (Postfix) with SMTP id C58EF13C43E for ; Tue, 26 Jun 2007 05:06:27 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 16297 invoked by uid 1001); 26 Jun 2007 05:04:44 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Tue, 26 Jun 2007 01:04:44 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <18048.40555.876785.219568@bhuda.mired.org> Date: Tue, 26 Jun 2007 01:04:43 -0400 To: Garrett Cooper In-Reply-To: <4680895A.5060700@u.washington.edu> References: <467EF0C1.1010609@optiksecurite.com> <467FFF41.10204@math.missouri.edu> <20070625192308.GA14544@freebsd.org> <18048.12032.316862.338084@bhuda.mired.org> <468033A8.8060103@gmail.com> <4680895A.5060700@u.washington.edu> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.1.11 (Ladyburn) From: Mike Meyer Cc: freebsd-hackers@freebsd.org, Martin Turgeon , Roman Divacky Subject: Re: CPUTYPE in general - was Re: Which CPUTYPE for a dualcore Xeon on AMD64 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: Tue, 26 Jun 2007 05:06:28 -0000 In <4680895A.5060700@u.washington.edu>, Garrett Cooper typed: > Martin Turgeon wrote: > > Mike Meyer a =E9crit : > >> In <20070625192308.GA14544@freebsd.org>, Roman Divacky=20 > >> typed: > >> For the record, I believe the nocona cores are: > >> pentium 4/some prescott, prescott 2m, cedar mill > >> pentium D/all > >> core 2 duo/all > >> All xeons with sse3 except the sossaman cored Xeon LV. > >> > >> The prescott cores are: > >> pentium 4/some prescott > >> xeon lv (sossaman core) > >> core solo > >> core duo > > Thanks a lot for the precision, I will use nocona for my dual core = Xeon. > Cedar Mill: Last P4 processor. Followup to Prescott. > Nocona: Xeon server processor code name -- first CPU with EMT64 (amd6= 4)=20 > compatibility [and hence first non-IA64 bit Xeon processor to feature= =20 > 64-bit compatibility; not sure if it was the first non-IA64 64-bit=20= > designed Intel processor]. > Prescott: Single-core processor with HTT. Base CPU for [later=20 > generation] P4 processors, and the dual core Pentium D [basically the= =20 > larger cousin of the Northwood CPUs]. Prescott was compacted into Ced= ar=20 > Mill -- from a 90nm (=3F) process to 65nm. >From what I can tell, the Prescott went through a number of iterations; the first of them didn't have HTT, or had it but it was disabled. Later versions added that, EMT64, virtualization, and other things. If my information is correct, the nocona was the first version of the prescott core with em64t, and only used in Xeons. And yes, I believe prescott and following were 90nm until Cedar Mill. > Intel suggests using -march=3Dprescott (32-bit) and -march=3Dnoco= na=20 > (64-bit) with gcc on Core2Duo processors and equivalent Xeons. Note that /usr/share/mk/sys.mk includes bsd.mk.cpu, which overrides CPUTYPE if it's set to prescott or nocona. It turns nocona into prescott if you're building for i386 and prescott into nocona if you're building for amd64. So the correct answer to the question "Do I set CPUTYPE to nocona or prescott in /etc/make.conf=3F" would seem to b= e "It doesn't matter." > You can also find your CPU's type by going to this page:=20 > http://www.intel.com/products/server/processors/index.htm=3Fiid=3Dser= v=5Fbody+proc,=20 > and searching for the appropriate model number. Your frequency and mo= del=20 > should be reported in your BIOS, if not the first couple lines of dme= sg=20 > in FreeBSD. I've never seen those report core names. Possibly you're referring specifically to the Xeon cpu model numbers=3F =09thanks, =09=09=09http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more informatio= n.