Date: Tue, 26 Jun 2007 08:45:38 -0400 From: "=?ISO-8859-1?Q?Zavam,_Vin=EDcius?=" <egypcio@gmail.com> To: freebsd-hackers@freebsd.org Subject: Re: CPUTYPE in general - was Re: Which CPUTYPE for a dualcore Xeon on AMD64 Message-ID: <8b5ad0e10706260545u6ad0b0c6w209548293809e993@mail.gmail.com> In-Reply-To: <4680F1E3.1010306@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> <18048.40555.876785.219568@bhuda.mired.org> <4680F1E3.1010306@u.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
2007/6/26, Garrett Cooper <youshi10@u.washington.edu>: > Mike Meyer wrote: > > 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 > >>>> <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 Xe= on. > >>> > > > > > >> 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 Ceda= r > >> 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=3Dprescott (32-bit) and -march=3Dnocon= a > >> (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 u= ser 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=3Dserv_b= ody+proc, > >> and searching for the appropriate model number. Your frequency and mod= el > >> should be reported in your BIOS, if not the first couple lines of dmes= g > >> 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 please correct me if I'm wrong, but gcc(1) can help us a bit also; http://www.freebsd.org/cgi/man.cgi?query=3Dgcc&sektion=3D1&format=3Dhtml z.B.: " (...) prescott Improved version of Intel Pentium4 CPU with MMX, SSE, SSE2 and SSE3 instruction set support. nocona Improved version of Intel Pentium4 CPU with 64-bit extensions, MMX, SSE, SSE2 and SSE3 instruction set support. (...) athlon-4, athlon-xp, athlon-mp Improved AMD Athlon CPU with MMX, 3dNOW!, enhanced 3dNOW! and full SSE instruction set support. k8, opteron, athlon64, athlon-fx AMD K8 core based CPUs with x86-64 instruction set support. (This supersets MMX, SSE, SSE2, 3dNOW!, enhanced 3dNOW! and 64-bit instruction set extensions.) (...) " --=20 Zavam, Vin=EDcius
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8b5ad0e10706260545u6ad0b0c6w209548293809e993>