Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2001 01:19:31 -0800
From:      Alex Zepeda <jazepeda@pacbell.net>
To:        Alfred Perlstein <bright@wintelcom.net>, hackers@freebsd.org
Subject:   Re: optimizing apache with php and nfs mounts
Message-ID:  <20010314011931.D549@zippy.mybox.zip>
In-Reply-To: <20010313125119.X29888@fw.wintelcom.net>; from bright@wintelcom.net on Tue, Mar 13, 2001 at 12:51:19PM -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> <20010313125119.X29888@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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