pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedcompiling 7.4.1 on Solaris 9
6+ messages / 3 participants
[nested] [flat]
* compiling 7.4.1 on Solaris 9
@ 2004-02-26 12:46 teknokrat <teknokrat@yahoo.com>
2004-03-01 14:34 ` Re: compiling 7.4.1 on Solaris 9 Andrew Sullivan <ajs@crankycanuck.ca>
0 siblings, 1 reply; 6+ messages in thread
From: teknokrat @ 2004-02-26 12:46 UTC (permalink / raw)
To: pgsql-performance
can anyone tell me what the best way to compile postgresql 7.4.1 on
Solaris 9 (UltraSparcIII) is? I have latest gmake and gcc installed. I
was going to use CFLAGS="-O2 -fast -mcpu=ultrasparc" based on snippets
I've read about the place. Would using -O3 be an improvement?
thanks
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: compiling 7.4.1 on Solaris 9
2004-02-26 12:46 compiling 7.4.1 on Solaris 9 teknokrat <teknokrat@yahoo.com>
@ 2004-03-01 14:34 ` Andrew Sullivan <ajs@crankycanuck.ca>
2004-03-02 10:54 ` Re: compiling 7.4.1 on Solaris 9 teknokrat <teknokrat@yahoo.com>
0 siblings, 1 reply; 6+ messages in thread
From: Andrew Sullivan @ 2004-03-01 14:34 UTC (permalink / raw)
To: pgsql-performance
On Thu, Feb 26, 2004 at 12:46:23PM +0000, teknokrat wrote:
> I've read about the place. Would using -O3 be an improvement?
In my experience, it's not only not an improvement, it sometimes
breaks the code. That's on 8, though, not 9.
A
--
Andrew Sullivan | ajs@crankycanuck.ca
The plural of anecdote is not data.
--Roger Brinner
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: compiling 7.4.1 on Solaris 9
2004-02-26 12:46 compiling 7.4.1 on Solaris 9 teknokrat <teknokrat@yahoo.com>
2004-03-01 14:34 ` Re: compiling 7.4.1 on Solaris 9 Andrew Sullivan <ajs@crankycanuck.ca>
@ 2004-03-02 10:54 ` teknokrat <teknokrat@yahoo.com>
2004-03-10 16:07 ` Re: compiling 7.4.1 on Solaris 9 Andrew Sullivan <ajs@crankycanuck.ca>
2004-03-10 23:21 ` Re: compiling 7.4.1 on Solaris 9 Jeff <threshar@torgo.978.org>
0 siblings, 2 replies; 6+ messages in thread
From: teknokrat @ 2004-03-02 10:54 UTC (permalink / raw)
To: pgsql-performance
Andrew Sullivan wrote:
> On Thu, Feb 26, 2004 at 12:46:23PM +0000, teknokrat wrote:
>
>>I've read about the place. Would using -O3 be an improvement?
>
>
> In my experience, it's not only not an improvement, it sometimes
> breaks the code. That's on 8, though, not 9.
>
> A
>
thanks, i remember a thread about problems with flags passed to gcc on
solaris. I was wondering if there had been any resolution and if the
defaults for 7.4 are considered Ok.
thanks
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: compiling 7.4.1 on Solaris 9
2004-02-26 12:46 compiling 7.4.1 on Solaris 9 teknokrat <teknokrat@yahoo.com>
2004-03-01 14:34 ` Re: compiling 7.4.1 on Solaris 9 Andrew Sullivan <ajs@crankycanuck.ca>
2004-03-02 10:54 ` Re: compiling 7.4.1 on Solaris 9 teknokrat <teknokrat@yahoo.com>
@ 2004-03-10 16:07 ` Andrew Sullivan <ajs@crankycanuck.ca>
2004-03-11 18:29 ` Re: compiling 7.4.1 on Solaris 9 Andrew Sullivan <ajs@crankycanuck.ca>
1 sibling, 1 reply; 6+ messages in thread
From: Andrew Sullivan @ 2004-03-10 16:07 UTC (permalink / raw)
To: pgsql-performance
On Tue, Mar 02, 2004 at 10:54:23AM +0000, teknokrat wrote:
> thanks, i remember a thread about problems with flags passed to gcc on
> solaris. I was wondering if there had been any resolution and if the
> defaults for 7.4 are considered Ok.
As near as I can tell, -O2 is used by default on Solaris now. Again,
this is on 8, not 9.
At work, we have been doing a number of tests on 7.4. The
performance is such an improvement over 7.2 that the QA folks thought
there must be something wrong. So I suppose the defaults are ok.
A
--
Andrew Sullivan | ajs@crankycanuck.ca
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: compiling 7.4.1 on Solaris 9
2004-02-26 12:46 compiling 7.4.1 on Solaris 9 teknokrat <teknokrat@yahoo.com>
2004-03-01 14:34 ` Re: compiling 7.4.1 on Solaris 9 Andrew Sullivan <ajs@crankycanuck.ca>
2004-03-02 10:54 ` Re: compiling 7.4.1 on Solaris 9 teknokrat <teknokrat@yahoo.com>
2004-03-10 16:07 ` Re: compiling 7.4.1 on Solaris 9 Andrew Sullivan <ajs@crankycanuck.ca>
@ 2004-03-11 18:29 ` Andrew Sullivan <ajs@crankycanuck.ca>
0 siblings, 0 replies; 6+ messages in thread
From: Andrew Sullivan @ 2004-03-11 18:29 UTC (permalink / raw)
To: pgsql-performance
On Wed, Mar 10, 2004 at 11:07:28AM -0500, Andrew Sullivan wrote:
> At work, we have been doing a number of tests on 7.4. The
> performance is such an improvement over 7.2 that the QA folks thought
> there must be something wrong. So I suppose the defaults are ok.
I know, I know, replying to myself. I just wanted to note that we
_were_ using optimisation with 7.2. 7.4 is still a lot faster.
A
--
Andrew Sullivan | ajs@crankycanuck.ca
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: compiling 7.4.1 on Solaris 9
2004-02-26 12:46 compiling 7.4.1 on Solaris 9 teknokrat <teknokrat@yahoo.com>
2004-03-01 14:34 ` Re: compiling 7.4.1 on Solaris 9 Andrew Sullivan <ajs@crankycanuck.ca>
2004-03-02 10:54 ` Re: compiling 7.4.1 on Solaris 9 teknokrat <teknokrat@yahoo.com>
@ 2004-03-10 23:21 ` Jeff <threshar@torgo.978.org>
1 sibling, 0 replies; 6+ messages in thread
From: Jeff @ 2004-03-10 23:21 UTC (permalink / raw)
To: teknokrat@yahoo.com; +Cc: pgsql-performance
On Mar 2, 2004, at 5:54 AM, teknokrat wrote:
> Andrew Sullivan wrote:
>> On Thu, Feb 26, 2004 at 12:46:23PM +0000, teknokrat wrote:
>>> I've read about the place. Would using -O3 be an improvement?
>> In my experience, it's not only not an improvement, it sometimes
>> breaks the code. That's on 8, though, not 9.
>> A
>
> thanks, i remember a thread about problems with flags passed to gcc on
> solaris. I was wondering if there had been any resolution and if the
> defaults for 7.4 are considered Ok.
>
Yes. The compile flags on solaris were fixed on 7.4. Previously it
wasn't using any optimization flags.
--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2004-03-11 18:29 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-02-26 12:46 compiling 7.4.1 on Solaris 9 teknokrat <teknokrat@yahoo.com>
2004-03-01 14:34 ` Andrew Sullivan <ajs@crankycanuck.ca>
2004-03-02 10:54 ` teknokrat <teknokrat@yahoo.com>
2004-03-10 16:07 ` Andrew Sullivan <ajs@crankycanuck.ca>
2004-03-11 18:29 ` Andrew Sullivan <ajs@crankycanuck.ca>
2004-03-10 23:21 ` Jeff <threshar@torgo.978.org>
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