Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2007 21:15:43 -0600
From:      "Nikolas Britton" <nikolas.britton@gmail.com>
To:        "Tsu-Fan Cheng" <tfcheng@gmail.com>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: duo core question
Message-ID:  <ef10de9a0701161915x71c9dd43g13021407ddcba3e5@mail.gmail.com>
In-Reply-To: <f84c38580701161711w323647c2n3e9c72b604eed49@mail.gmail.com>
References:  <f84c38580701161711w323647c2n3e9c72b604eed49@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/16/07, Tsu-Fan Cheng <tfcheng@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef10de9a0701161915x71c9dd43g13021407ddcba3e5>