From owner-freebsd-questions Thu Sep 21 19:57:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lamborghini.indocyber.com (lamborghini.indocyber.com [202.180.0.86]) by hub.freebsd.org (Postfix) with SMTP id 3F19C37B43E for ; Thu, 21 Sep 2000 19:57:48 -0700 (PDT) Received: (qmail 13447 invoked from network); 22 Sep 2000 02:54:52 -0000 Received: from unknown (HELO maverick.indocyber.com) (202.155.43.94) by lamborghini.indocyber.com with SMTP; 22 Sep 2000 02:54:52 -0000 Received: (qmail 44408 invoked by uid 1000); 22 Sep 2000 02:56:44 -0000 Date: Fri, 22 Sep 2000 09:56:44 +0700 From: John Indra To: Glenn Johnson Cc: "S. David Pullara" , freebsd-questions@FreeBSD.ORG Subject: Re: Intel cpu's and the -march switch Message-ID: <20000922095644.A43762@indocyber.com> Mail-Followup-To: Glenn Johnson , "S. David Pullara" , freebsd-questions@FreeBSD.ORG References: <14794.8801.494001.718949@yuggoth.warpedspace.org> <20000921134425.A91788@node1.cluster.srrc.usda.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 X-Mailer: Mutt 1.2.5i on FreeBSD 4.1-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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