pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-performance@postgresql.org
Subject: Re: Sun vs. Mac
Date: Tue, 14 Jan 2003 10:10:54 -0500
Message-ID: <20030114101054.B5335@mail.libertyrms.com> (raw)
In-Reply-To: <20030114150008.49425.qmail@web21103.mail.yahoo.com>
References: <20030114150008.49425.qmail@web21103.mail.yahoo.com>

On Tue, Jan 14, 2003 at 07:00:08AM -0800, CaptainX0r wrote:
> Hello,
> 
> I'm having some serious performance issues with PostgreSQL on
> our newish SunFire 280R (1 900MHz ultrasparc III, 1 GB RAM). 
> It's painfully slow.  It took me almost a week of tuning to get
> it in the range of an old Mac G3 laptop.  Now, a few days later,
> after tweaking every nearly every parameter (only noting
> decreased performance on some) in /etc/system and
> $PGDATA/postgresql.conf it's about as fast as I can make it, but

You should tell us about what version of Solaris you're running, what
version of Postgres, and what options you have used.  Did you split
the WAL onto its own filesystem?  You'll get a big win that way. 
Also, what fsync setting are you using (open_datasync is the fastest
in my experience).  Finally, the bottleneck on Solaris is both disk
and process forking (fork() is notoriously slow on Solaris).

Also, certain sort routines are abysmal.  Replace the
Solaris-provided qsort().

I have to say, however, that my experience indicates that Solaris is
slower that the competition for Postgres.  It still shouldn't be that
bad.

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




view thread (20+ messages)  latest in thread

Message-ID: <20030114101054.B5335@mail.libertyrms.com>
Permalink:  ../20030114101054.B5335@mail.libertyrms.com/
Also on:    postgresql.org/message-id/20030114101054.B5335@mail.libertyrms.com

 · 

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 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: andrew@libertyrms.info
  Subject: Re: Sun vs. Mac
  In-Reply-To: <20030114101054.B5335@mail.libertyrms.com>
  References: <20030114150008.49425.qmail@web21103.mail.yahoo.com> <20030114101054.B5335@mail.libertyrms.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