From owner-freebsd-hackers Wed Mar 14 1:28:38 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by hub.freebsd.org (Postfix) with ESMTP id 8F19037B71A for ; Wed, 14 Mar 2001 01:28:35 -0800 (PST) (envelope-from jazepeda@pacbell.net) Received: from zippy.pacbell.net ([207.214.149.161]) by mta6.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0GA600GB9KKJS8@mta6.snfc21.pbi.net> for hackers@freebsd.org; Wed, 14 Mar 2001 01:19:36 -0800 (PST) Received: by zippy.pacbell.net (Postfix, from userid 1000) id B000D1816; Wed, 14 Mar 2001 01:19:31 -0800 (PST) Date: Wed, 14 Mar 2001 01:19:31 -0800 From: Alex Zepeda Subject: Re: optimizing apache with php and nfs mounts In-reply-to: <20010313125119.X29888@fw.wintelcom.net>; from bright@wintelcom.net on Tue, Mar 13, 2001 at 12:51:19PM -0800 To: Alfred Perlstein , hackers@freebsd.org Message-id: <20010314011931.D549@zippy.mybox.zip> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5i References: <20010313074140.B75117@dragon.nuxi.com> <20010313122053.A1339@zippy.mybox.zip> <20010313125119.X29888@fw.wintelcom.net> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 13, 2001 at 12:51:19PM -0800, Alfred Perlstein wrote: > Well... when you 'gzip -9' something, it just takes longer, it doesn't > sometimes corrupt your data (afaik). Hmm. gzip seems to be pretty good about those things. I guess it's one of the few GNU programs to be that way. :^) > 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. Yes, hello pipe dream. However, even the pgcc web page describes -O2 as safe. I guess I'll be playing around to see which bits generate incorrect code soon, since this is all so tempting. What just popped into my mind was that maybe some sort of check for stuff like "-fomit-frame-pointer" in CFLAGS should be made in buildworld, since it will cause failure if you build profiling libs. Other thoughts include how -O2 is bombing out make world. I know in my dealings with kde I've had lots of trouble getting gcc to emit decent debug info (depending on the code, -gstabs+, -ggdb3, etc would spit out internal errors). > SO are the gcc developers i imagine. :) Pfft. Damnit I want software that I don't have to pay for, to work perfectly every time, and that I don't have to contribute to.... erm.. Yes, scanning thru the ML leads me to believe some of these optimizations are pretty much untested. Which is kinda funny, since the ia32 bits are the most used ones or so it seems. - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message