From: pgsql-performance@sysd.com
To: Jeff <threshar@torgo.978.org>
Cc: Neil Conway <neilc@samurai.com>
Cc: PostgreSQL Performance <pgsql-performance@postgresql.org>
Subject: Re: Sun performance - Major discovery!
Date: Wed, 08 Oct 2003 15:22:08 -0400
Message-ID: <200310081922.h98JM9LW029751@startide.sysdetect.com> (raw)
In-Reply-To: <Pine.BSF.4.44.0310081408370.64781-100000@torgo.978.org>
References: <1065635011.3424.25.camel@tokyo>
<Pine.BSF.4.44.0310081408370.64781-100000@torgo.978.org>
In message <Pine.BSF.4.44.0310081408370.64781-100000@torgo.978.org>, Jeff writes:
I'll go run the regression test suite with my gcc -O2 pg and the suncc pg.
See if they pass the test.
My default set of gcc optimization flags is:
-O3 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions -mcpu=i686 -march=i686
Obviously the last two flags product CPU specific code, so would have
to differ...autoconf is always possible, but so is just lopping them off.
I have found these flags to produce faster code that a simple -O2, but
I understand the exact combination which is best for you is
code-dependent. Of course, if you are getting really excited, you can
use -fbranch-probabilities, but as you will see if you investigate
that requires some profiling information, so is not very easy to
actually practically use.
-Seth Robertson
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: pgsql-performance@sysd.com, threshar@torgo.978.org, neilc@samurai.com
Subject: Re: Sun performance - Major discovery!
In-Reply-To: <200310081922.h98JM9LW029751@startide.sysdetect.com>
References: <1065635011.3424.25.camel@tokyo> <Pine.BSF.4.44.0310081408370.64781-100000@torgo.978.org> <200310081922.h98JM9LW029751@startide.sysdetect.com>
* 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