From owner-freebsd-hackers Wed Mar 14 15:15:53 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 7224E37B71D for ; Wed, 14 Mar 2001 15:15:49 -0800 (PST) (envelope-from jazepeda@pacbell.net) Received: from zippy.pacbell.net ([207.214.149.193]) by mta6.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0GA7000OWN59QV@mta6.snfc21.pbi.net> for hackers@FreeBSD.ORG; Wed, 14 Mar 2001 15:12:46 -0800 (PST) Received: by zippy.pacbell.net (Postfix, from userid 1000) id 8BF01189D; Wed, 14 Mar 2001 15:12:41 -0800 (PST) Date: Wed, 14 Mar 2001 15:12:41 -0800 From: Alex Zepeda Subject: Re: optimizing apache with php and nfs mounts In-reply-to: <20010314025840.A93046@dragon.nuxi.com>; from TrimYourCc@NUXI.com on Wed, Mar 14, 2001 at 02:58:40AM -0800 To: hackers@FreeBSD.ORG Message-id: <20010314151241.B62712@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> <20010314011931.D549@zippy.mybox.zip> <20010314025840.A93046@dragon.nuxi.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 14, 2001 at 02:58:40AM -0800, David O'Brien wrote: > I won't even to there... Well, the only reason I mentioned it.. was that the pgcc folks don't seem to be too delusioned about the dangers. -ON (N > 2) is regarded as at least possibly in danger of generating incorrect code. > Not untested -- but you should go grab a graduate text on compiler > optimizations and familiarize yourself with the complexity of the problem. Care to recommend any starting places. You've piqued my interest. > If hello_world.c showed a problem with an optimization, I guarantee it > would be fixed. Of course depending on the problem. > The current test case of holding up the entire FreeBSD > kernel as showing an optimization problem doesn't cut it. If you care to > trim it down to a single module showing the problem.... Well I've just made buildworld with CFLAGS = "-O2 -march=pentiumpro -malign-double" from a world built with the same flags. Not so sure of any performance impact however. - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message