From owner-freebsd-hackers Tue Mar 13 12:51:22 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 62F9537B721 for ; Tue, 13 Mar 2001 12:51:20 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2DKpJN29574; Tue, 13 Mar 2001 12:51:19 -0800 (PST) Date: Tue, 13 Mar 2001 12:51:19 -0800 From: Alfred Perlstein To: Alex Zepeda Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: optimizing apache with php and nfs mounts Message-ID: <20010313125119.X29888@fw.wintelcom.net> References: <20010313074140.B75117@dragon.nuxi.com> <20010313122053.A1339@zippy.mybox.zip> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010313122053.A1339@zippy.mybox.zip>; from jazepeda@pacbell.net on Tue, Mar 13, 2001 at 12:20:53PM -0800 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Alex Zepeda [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