Re: Sun performance - Major discovery!

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Neil Conway <neilc(at)samurai(dot)com>, Jeff <threshar(at)torgo(dot)978(dot)org>, PostgreSQL Performance <pgsql-performance(at)postgresql(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Sun performance - Major discovery!
Date: 2003-10-09 01:44:26
Message-ID: 200310090144.h991iQq24994@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

Tom Lane wrote:
> Neil Conway <neilc(at)samurai(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-10-09 01:48:14 Re: [HACKERS] Sun performance - Major discovery!
Previous Message Peter Eisentraut 2003-10-09 00:24:24 Re: [HACKERS] Sun performance - Major discovery!

Browse pgsql-performance by date

  From Date Subject
Next Message Bruce Momjian 2003-10-09 01:48:14 Re: [HACKERS] Sun performance - Major discovery!
Previous Message Peter Eisentraut 2003-10-09 00:24:24 Re: [HACKERS] Sun performance - Major discovery!