Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2000 09:56:44 +0700
From:      John Indra <john@indocyber.com>
To:        Glenn Johnson <gjohnson@nola.srrc.usda.gov>
Cc:        "S. David Pullara" <sdpullara@telus.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Intel cpu's and the -march switch
Message-ID:  <20000922095644.A43762@indocyber.com>
In-Reply-To: <20000921134425.A91788@node1.cluster.srrc.usda.gov>; from gjohnson@nola.srrc.usda.gov on Thu, Sep 21, 2000 at 01:44:25PM -0500
References:  <14794.8801.494001.718949@yuggoth.warpedspace.org> <20000921134425.A91788@node1.cluster.srrc.usda.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 21, 2000 at 01:44:25PM -0500, Glenn Johnson wrote:

|You will not notice any perceptible performance improvement but you may
|notice your kernel and/or programs acting strangely after compiling with
|those options. I would recommend that you _not_ bother with the -march
|or -mcpu options.

How strange?

I've been having this /etc/make.conf entry on my personal workstation since
the day FreeBSD 4.1-RELEASE (now, it's FreeBSD 4.1-STABLE) was out:

CFLAGS= -O6 -march=pentiumpro -funroll-loops -fstrength-reduce -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -pipe
COPTFLAGS= -O6 -march=pentiumpro -funroll-loops -fstrength-reduce
-ffast-math -fexpensive-optimizations -fomit-frame-pointer -pipe
CXXFLAGS+= -fmemoize-lookups -fsave-memoized

This is not my production machine, only the machine I used daily as: web
servers, proxy, firewall&NAT, mail server, DNS, and I use GIMP and XMMS a
lot. In working hours, my baby is ``tortured'' really bad, a lot of request
from approximately 40 other Windows based PC.
It's a Compaq Deskpro with Pentium III 500 MHz and 256 MB of RAM.

Days of uptime, without any unintentional reboots, and my feeling tells me
that with those optimization, my machine runs faster :)))

Regards,
John



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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