Re: [HACKERS] Sun performance - Major discovery!

From: Andrew Sullivan <andrew(at)libertyrms(dot)info>
To: PostgreSQL Performance <pgsql-performance(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Sun performance - Major discovery!
Date: 2003-10-09 14:27:05
Message-ID: 20031009142704.GD14048@libertyrms.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

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(at)libertyrms(dot)info> M2P 2A8
+1 416 646 3304 x110

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2003-10-09 14:40:41 Re: pgsql-server/src/template bsdi freebsd netbsd ...
Previous Message Peter Eisentraut 2003-10-09 14:22:13 Re: 2-phase commit

Browse pgsql-performance by date

  From Date Subject
Next Message Jeff 2003-10-09 14:51:29 Re: Sun performance - Major discovery!
Previous Message Bruce Momjian 2003-10-09 13:40:11 Re: Sun performance - Major discovery!