Re: [PERFORM] Sun performance - Major discovery! - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [PERFORM] Sun performance - Major discovery!
Date
Msg-id 200310090144.h991iQq24994@candle.pha.pa.us
Whole thread Raw
In response to Re: [PERFORM] Sun performance - Major discovery!  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PERFORM] Sun performance - Major discovery!
List pgsql-hackers
Tom Lane wrote:
> Neil Conway <neilc@samurai.com> writes:
> > On Wed, 2003-10-08 at 14:31, Bruce Momjian wrote:
> >> Well, this is really embarassing.  I can't imagine why we would not set
> >> at least -O on all platforms.
>
> I believe that autoconf will automatically select -O2 (when CFLAGS isn't
> already set) *if* it's chosen gcc.  It won't select anything for vendor
> ccs.

I think the problem is that template/solaris overrides that with:

  CFLAGS=

> > Can we get these optimizations enabled in time for the next 7.4 beta?
>
> I think it's too late in the beta cycle to add optimization flags except
> for platforms we can get specific success results for.  (Solaris is
> probably okay for instance.)  The risk of breaking things seems too
> high.

Agreed.  Do we set them all to -O2, then remove it from the ones we
don't get successful reports on?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-hackers by date:

Previous
From: Gaetano Mendola
Date:
Subject: Autovacuum readme
Next
From: Bruce Momjian
Date:
Subject: Re: [PERFORM] Sun performance - Major discovery!