duo core question

Nikolas Britton nikolas.britton at gmail.com
Wed Jan 17 03:15:46 UTC 2007


On 1/16/07, Tsu-Fan Cheng <tfcheng at gmail.com> wrote:
> hi,
>   just chat here... how much faster will a duo core CPU gives me when
> running freebsd, nothing optimised..
>

1. You need to rebuild the kernel with SMP support.
2. The correct names are; Core Duo, Core 2 Duo, Core Solo, and Core 2 Solo.
3. Add this to /etc/make.conf:

CPUTYPE?=pentium3
CFLAGS+= -mtune=prescott
COPTFLAGS+= -mtune=prescott

* Change prescott to nocona if you have a Core 2 chip, although it
doesn't really matter, EM64T support is ignored with FreeBSD/i386 and
it's on by default with FreeBSD/AMD64. Moreover it's only being used
with -mtune which means it does not change the ABI or the set of
available instructions.... Those two are set via CPUTYPE and
-march=cpu-type... don't set CPUTYPE or -march higher then pentium3
because higher settings have been known to screw up stuff at compile
time.


More information about the freebsd-questions mailing list