Re: Solaris

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>
Cc: Shridhar Daithankar <shridhar_daithankar(at)persistent(dot)co(dot)in>, <ianh(at)tpchd(dot)org>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Solaris
Date: 2003-04-25 17:37:21
Message-ID: Pine.LNX.4.33.0304251133370.1449-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 25 Apr 2003, Mark Kirkwood wrote:

> Shridhar Daithankar wrote:
>
> >Just one real advice, from what I have heard on lists. If the sun machine
> >supports, install linux rather than solaris. Apparently linux on sparc is far
> >faster than solaris, at least at lower to middle end.
> >
> Any idea how much faster (and in what areas)?

My general experience from a year ago was that Linux was about 2 to 3
times faster on older 32 bit sparc hardware than Solaris, and just under 2
times as fast on 64 bit hardware. This is with one CPU. I'd expect a 64
CPU E10k to run postgresql faster running Solaris rather than Linux, but
until I can come up with a spare $24k to buy a used one on Ebay I won't
know. :-)

> >Besides postgresql and
> >solaris have had performance issues in past.
> >
> >
> I believe this is all *sorted* now :-) The issue was the qsort library
> bundled with Solaris - Postgresql now supplies its own. So Solaris is ok
> for Postgresql (I think quite a few folk actually use this combination).

Mostly. The issue in the past was mainly that Solaris had a brain damaged
sort() call that was very slow when it had a lot of duplicate keys. That
has since been updated by Sun.

However, Solaris' heavy process / light thread design is probably sub
optimal for Postgresql in an environment where you are forking the server
all the time. If you have pooled connections, then Solaris should do
fine. I'd love to get ahold of an older SMP Sparc box and test the two
against each other.

In response to

  • Re: Solaris at 2003-04-25 02:03:24 from Mark Kirkwood

Responses

  • Re: Solaris at 2003-04-26 05:19:35 from Mark Kirkwood

Browse pgsql-general by date

  From Date Subject
Next Message mallah 2003-04-25 17:39:03 Re: Postgres client/server parameters?
Previous Message Josh Berkus 2003-04-25 17:20:48 Re: [SQL] rewriting values with before trigger