Re: Sun vs. Mac

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: CaptainX0r <captainx0r(at)yahoo(dot)com>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Sun vs. Mac
Date: 2003-01-14 18:26:09
Message-ID: Pine.LNX.4.33.0301141121220.14416-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, 14 Jan 2003, 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
> still horribly slow. A few simple queries that take 1.5-7
> minutes on the G3 take 1-1.5 minutes on the Sun. A bulk load of
> roughly 2.4 GB database dump takes ~1 hour on each machine. It
> took almost 2 hours on the Sun before I turned off fsync.

Just for giggles, do you have a spare drive or something you can try
loading debian or some other Sparc compatible linux distro and get some
numbers? My experience has been that on the same basic hardware, Linux
runs postgresql about twice as fast as Solaris, and no amount of tweaking
seemed to ever get postgresql up to the same performance on Solaris. It's
so bad a Sparc 20 with 256 Meg ram and a 50 MHz 32 bit CPU running linux
was outrunning our Sun Ultra 1 with 512 Meg ram and a 150 MHz 64 bit CPU
by about 50%. That was with the 2.0.x kernel for linux and Solaris 7 on
the Ultra I believe. Could have been older on the Solaris version, as I
wasn't the SA on that box.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message CaptainX0r 2003-01-14 18:27:36 Re: Sun vs. Mac
Previous Message Tom Lane 2003-01-14 18:15:54 Re: Sun vs. Mac