Re: Sun vs. Mac

From: Andrew Sullivan <andrew(at)libertyrms(dot)info>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Sun vs. Mac
Date: 2003-01-14 15:10:54
Message-ID: 20030114101054.B5335@mail.libertyrms.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message CaptainX0r 2003-01-14 15:18:23 Re: Sun vs. Mac
Previous Message Justin Clift 2003-01-14 15:09:26 Re: Sun vs. Mac