Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2005 06:54:00 -0500
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        Bachelier Vincent <vincent_bachelier@yahoo.fr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: AMD64 optimization on FreeBSD 5.4 i386
Message-ID:  <20050404065400.5df59456@dolphin.local.net>
In-Reply-To: <20050404073532.GA13922@localhost>
References:  <20050404073532.GA13922@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 4 Apr 2005 09:35:32 +0200, Bachelier Vincent
<vincent_bachelier@yahoo.fr> wrote:

> Hi, I have a AMD64 and use FreeBSD 5.4 i386.

Why aren't you using the amd64 version of FreeBSD?

> I have set CPUTYPE=k8 to optimize a little for my computer.
> I have seen they set march=athlon-mp when it compile something.

I you were running amd64, you could use CPUTYPE=athlon64.

> Ok, I have see they is a difference between march=k8 and
> march=athlon-mp
> 
> Have a idea ?

Yes, download the ISO for amd64 and install it.  :-)

> Does I compile with march=k8 under cflags ?
> for example: CFLAGS=-O2 -march=k8 -pipe
> 	     CXXFLAGS=$CFLAGS

I think the CXXFLAGS setting is unnecessary, as this will happen by
default.

> Well, what do you think ?

I think you should be running amd64.  :-)

> could I optimize more than CPUTYPE=k8 ?

Yes.  See above.  :-)

Seriously, though, the amd64 version of FreeBSD is quite stable and
usable, and would allow you to take full advantage of your machine's
64-bit architecture.  Why settle for less?

-- 
Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas" 



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