CPUTYPE in general - was Re: Which CPUTYPE for a dualcore Xeon on AMD64

Roman Divacky rdivacky at freebsd.org
Mon Jun 25 19:23:14 UTC 2007


> In general, how does one decide which CPUTYPE to use?  The connection 
> between the options for CPUTYPE and the output of dmesg is not so 
> obvious to me.  I looked at the features advertised by dmesg (which in 
> my case included SSE3) and then reverse engineered bsd.cpu.mk to figure 
> out I should be using "prescott," but I am hoping I figured it out the 

I would not judge only by instructions like SSE etc. ins scheduling etc.
plays key role as well. 

you should know what cpu you bought, or just use cpuid (found in ports)
and determine what cpu you have.

on -current you can set _native_ or native (dont remember) and gcc will
choose itself... ;)

roman


More information about the freebsd-hackers mailing list