Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2008 09:16:15 +0200
From:      Torben Jakobsen <torben.jakobsen@dk.ibm.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Effects of CPUTYPE
Message-ID:  <OF8E0043F1.94A4EB6D-ONC1257466.0026AC53-C1257466.0027F090@dk.ibm.com>
In-Reply-To: <20080611202826.C73093@wojtek.tensor.gdynia.pl>
References:  <200806111709.m5BH9g7K064402@lurza.secnetix.de> <20080611202826.C73093@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
> [image removed]=20
>=20
> Re: Effects of CPUTYPE
>=20
> Wojciech Puchar=20
>=20
> to:
>=20
> freebsd-questions, parish
>=20
> 2008-06-11 20:31
>=20
> Sent by:
>=20
> owner-freebsd-questions@freebsd.org
>=20
> > > 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.
>=20
> exactly like me. i set it everywhere, no problems.
>=20
> =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to=20
"freebsd-questions-unsubscribe@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=20
compiler so it will probably only make a difference if you compile ports=20
or from source.

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

:-)
Torben


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OF8E0043F1.94A4EB6D-ONC1257466.0026AC53-C1257466.0027F090>