Effects of CPUTYPE

Torben Jakobsen torben.jakobsen at dk.ibm.com
Thu Jun 12 07:40:29 UTC 2008


> [image removed] 
> 
> Re: Effects of CPUTYPE
> 
> Wojciech Puchar 
> 
> to:
> 
> freebsd-questions, parish
> 
> 2008-06-11 20:31
> 
> Sent by:
> 
> owner-freebsd-questions at freebsd.org
> 
> > > In my personal opinion, the small gain you get is more than
> > > overwhelmed by the big pain you get from setting CPUTYPE.
> >
> > I'm setting CPUTYPE on all of my machines for many years,
> > without the slightest problems.  No pain at all.  They're
> > all kinds of different processors, c3-2 (VIA), athlon64,
> > and so on.  In some cases the difference is very noticable.
> 
> exactly like me. i set it everywhere, no problems.
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
"freebsd-questions-unsubscribe at freebsd.org"

I had the opposite problem: I could not build the world/kernel until I set 
CPUTYPE to "c3-2" (or "c3"). It was a brand new VIA EDEN-EX 1.5GHz with no 
other things installed but a copy of the 7.0-RELEASE-p1 source. (I did not 
have compile problems when I installed the 6.2 on a similar machine)

I set CPUTYPE in /etc/make.conf. I think it is only used by the gcc 
compiler so it will probably only make a difference if you compile ports 
or from source.

Compiling the kernel/world with CPUTYPE=c3-2 I think I see an improved 
boot time. I do not know of other gains as the server idles most of the 
time so I do not really care as long as it is stable. I never did try to 
time the kernel and world builds.

:-)
Torben


Medmindre andet er angivet ovenfor: / Unless Otherwise Stated Above:
IBM Danmark A/S
Nymøllevej 91
2800 Kongens Lyngby, Danmark
CVR nr.: 65305216 


More information about the freebsd-questions mailing list