From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 26 11:00:51 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 A976416A400; Tue, 26 Jun 2007 11:00:51 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by mx1.freebsd.org (Postfix) with ESMTP id 82F8513C469; Tue, 26 Jun 2007 11:00:51 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.05) with ESMTP id l5QB0ojb005863 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 26 Jun 2007 04:00:51 -0700 X-Auth-Received: from [192.168.10.45] (c-24-10-12-194.hsd1.ca.comcast.net [24.10.12.194]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l5QB0oJt023521 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 26 Jun 2007 04:00:50 -0700 Message-ID: <4680F1E3.1010306@u.washington.edu> Date: Tue, 26 Jun 2007 04:00:51 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Mike Meyer 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> <18048.40555.876785.219568@bhuda.mired.org> In-Reply-To: <18048.40555.876785.219568@bhuda.mired.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.6.26.33934 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' 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 11:00:51 -0000 Mike Meyer wrote: > In <4680895A.5060700@u.washington.edu>, Garrett Cooper typed: > >> Martin Turgeon wrote: >> >>> Mike Meyer a écrit : >>> >>>> In <20070625192308.GA14544@freebsd.org>, Roman Divacky >>>> 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 (amd64) >> compatibility [and hence first non-IA64 bit Xeon processor to feature >> 64-bit compatibility; not sure if it was the first non-IA64 64-bit >> designed Intel processor]. >> Prescott: Single-core processor with HTT. Base CPU for [later >> generation] P4 processors, and the dual core Pentium D [basically the >> larger cousin of the Northwood CPUs]. Prescott was compacted into Cedar >> Mill -- from a 90nm (?) 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. > There was a big difference between the Prescott CPU core and the Nocona core though, in terms of technology (Pentium 4 vs Core/Core2). Apparently the pipelines for the CPU were similar for the desktop CPU though, some have claimed. I haven't looked at the RTL though, so I can't be sure for myself whether or not that's the case. > And yes, I believe prescott and following were 90nm until Cedar Mill. > Ok, that's what I thought (since fab screen size goes by 15nm each time nowadays). >> Intel suggests using -march=prescott (32-bit) and -march=nocona >> (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?" would seem to be > "It doesn't matter." Hmmm... interesting.. Seems like a bit ambitious for bsd.mk.cpu, if the user knows what they're doing. >> You can also find your CPU's type by going to this page: >> http://www.intel.com/products/server/processors/index.htm?iid=serv_body+proc, >> and searching for the appropriate model number. Your frequency and model >> should be reported in your BIOS, if not the first couple lines of dmesg >> in FreeBSD. >> > > I've never seen those report core names. Possibly you're referring > specifically to the Xeon cpu model numbers? > Yeah, that's exactly what I meant. -Garrett