Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2007 01:04:43 -0400
From:      Mike Meyer <mwm-keyword-freebsdhackers2.e313df@mired.org>
To:        Garrett Cooper <youshi10@u.washington.edu>
Cc:        freebsd-hackers@freebsd.org, Martin Turgeon <turgeon.martin@gmail.com>, Roman Divacky <rdivacky@freebsd.org>
Subject:   Re: CPUTYPE in general - was Re: Which CPUTYPE for a dualcore Xeon on AMD64
Message-ID:  <18048.40555.876785.219568@bhuda.mired.org>
In-Reply-To: <4680895A.5060700@u.washington.edu>
References:  <467EF0C1.1010609@optiksecurite.com> <ab581e310706250250m4ec2432fide67251d7bcad132@mail.gmail.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>

next in thread | previous in thread | raw e-mail | index | archive | help
In <4680895A.5060700@u.washington.edu>, Garrett Cooper <youshi10@u.wash=
ington.edu> typed:
> Martin Turgeon wrote:
> > Mike Meyer a =E9crit :
> >> In <20070625192308.GA14544@freebsd.org>, Roman Divacky=20
> >> <rdivacky@freebsd.org> 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<mike
--=20
Mike Meyer <mwm@mired.org>=09=09http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more informatio=
n.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18048.40555.876785.219568>