From owner-freebsd-hackers Thu Apr 11 9: 9:31 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 88F3537B419 for ; Thu, 11 Apr 2002 09:09:25 -0700 (PDT) Received: (qmail 33647 invoked from network); 11 Apr 2002 16:09:02 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 11 Apr 2002 16:09:02 -0000 Date: Thu, 11 Apr 2002 12:09:02 -0400 (EDT) From: Kenneth Culver To: Michael Lucas Cc: Storms of Perfection , Subject: Re: FreeBSD Advanced tuning advice In-Reply-To: <20020411110538.A93751@blackhelicopters.org> Message-ID: <20020411115814.Y33533-100000@alpha.yumyumyum.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Yes, but every time I've seen those brought up, the high-level hackers > here say "Don't do that." :) > > If we could get a definitive answer on acceptable flags, I'll put it > in the FAQ. > Basically (although I'm not a "high-level hacker") what I've gathered is that -O optimization above -O (without a numbeR) isn't supported because there are known bugs in gcc opts above -O (and it's questionable whether or not they actually improve performance). Also, I know in a lot of cases the -march opts don't really do much either. In some cases doing -march=pentium actually produces faster code on current systems than doing -march=pentiumpro (or -march=i686, these are the same thing). So basically my recommendation is that no matter what you hear from linux people (just saw an article on slashdot, and the guy said he compiled the whole gentoo linux system with -march=i686, which really doesn't increase performance much ) say about these opts, they don't really help. Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message