From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Neil Conway <neilc@samurai.com>
Cc: Jeff <threshar@torgo.978.org>
Cc: PostgreSQL Performance <pgsql-performance@postgresql.org>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Sun performance - Major discovery!
Date: Wed, 8 Oct 2003 21:44:26 -0400 (EDT)
Message-ID: <200310090144.h991iQq24994@candle.pha.pa.us> (raw)
In-Reply-To: <5961.1065658019@sss.pgh.pa.us>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, neilc@samurai.com, threshar@torgo.978.org, pgsql-hackers@postgresql.org
Subject: Re: Sun performance - Major discovery!
In-Reply-To: <200310090144.h991iQq24994@candle.pha.pa.us>
References: <5961.1065658019@sss.pgh.pa.us> <200310090144.h991iQq24994@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox