Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2001 12:51:19 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Alex Zepeda <jazepeda@pacbell.net>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: optimizing apache with php and nfs mounts
Message-ID:  <20010313125119.X29888@fw.wintelcom.net>
In-Reply-To: <20010313122053.A1339@zippy.mybox.zip>; from jazepeda@pacbell.net on Tue, Mar 13, 2001 at 12:20:53PM -0800
References:  <Pine.BSO.4.21.0103121542460.23058-100000@gandalf.bravenet.com> <Pine.BSF.4.33.0103122226150.60221-100000@sdmail0.sd.bmarts.com> <20010313074140.B75117@dragon.nuxi.com> <20010313122053.A1339@zippy.mybox.zip>

next in thread | previous in thread | raw e-mail | index | archive | help
* Alex Zepeda <jazepeda@pacbell.net> [010313 12:25] wrote:
> On Tue, Mar 13, 2001 at 07:41:40AM -0800, David O'Brien wrote:
> 
> > Where did you even get the idea "-O6" did *_ANYTHING_*??  Don't people
> > ever read the documentation anymore.  
> 
> Well, yes.  But I think that with the pgcc patches floating around that do
> use -ON N <= 9 or so.. people might get confused.
> 
> > Do people ever actually test this?  Or is there just the assumption that
> > the more "optimizations" on the `cc' command line is a Great Thing(tm)?
> 
> Yes.

Well... when you 'gzip -9' something, it just takes longer, it doesn't
sometimes corrupt your data (afaik).

So it sort of makes sense for people to assume that when the compiler
advertises certain things that it's going to do it perhaps not
in the most effecient manner, but at least correctly.

> Of course -O2 turns on most of the optimizations, but I wonder which ones
> are causing incorrect code generation, and which ones really do help.  
> Hmm.

SO are the gcc developers i imagine. :)

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/


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




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