pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <andrew@libertyrms.info>
To: PostgreSQL Performance <pgsql-performance@postgresql.org>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [HACKERS] Sun performance - Major discovery!
Date: Thu, 9 Oct 2003 10:27:05 -0400
Message-ID: <20031009142704.GD14048@libertyrms.info> (raw)
In-Reply-To: <200310081831.h98IVT919657@candle.pha.pa.us>
References: <Pine.BSF.4.44.0310081408370.64781-100000@torgo.978.org>
	<200310081831.h98IVT919657@candle.pha.pa.us>

On Wed, Oct 08, 2003 at 02:31:29PM -0400, Bruce Momjian wrote:
> Well, this is really embarassing.  I can't imagine why we would not set
> at least -O on all platforms.  Looking at the template files, I see
> these have no optimization set:

I think gcc _used_ to generate bad code on SPARC if you set any
optimisation.  We tested it on Sol7 with gcc 2.95 more than a year
ago, and tried various settings.  -O2 worked, but other items were
really bad.  Some of them would pass regression but cause strange
behaviour, random coredumps, &c.  A little digging demonstrated that
anything beyond -O2 just didn't work for gcc at the time.

A

-- 
----
Andrew Sullivan                         204-4141 Yonge Street
Afilias Canada                        Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110




view thread (48+ messages)  latest in thread

Message-ID: <20031009142704.GD14048@libertyrms.info>
Permalink:  ../20031009142704.GD14048@libertyrms.info/
Also on:    postgresql.org/message-id/20031009142704.GD14048@libertyrms.info

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: andrew@libertyrms.info, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] Sun performance - Major discovery!
  In-Reply-To: <20031009142704.GD14048@libertyrms.info>

* 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