Re: Sun vs. Mac - best Postgres platform?

From: eric soroos <eric-psql(at)soroos(dot)net>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Sun vs. Mac - best Postgres platform?
Date: 2003-01-14 18:39:05
Message-ID: 17122703.1169581751@[4.42.179.151]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


> > For single-user tasks you will probably be better off by
> > getting a gray box with Athlon 2600+ with 3 Gigs of memory and
>
> > IDE disks and running Linux or *BSD .
>

> I'm not particular to
> Macs, but I've got to say, that stock out the box, postgres
> loves it. That old G3 was faster than the Sun, and still is
> faster than my (years newer) linux laptop (on which I've done no
> performance tweaking). So maybe a dual G4 Xserver would scream?
>
> Any suggestions? It's still not too late for us to change our
> minds on this one.

I can't recommend macs for either brute force speed or price/performance.

My current flock of machines are mostly OSX g4 boxes (single 400s and dual 800), with a couple of linux boxen thrown in for good measure.

The mac's biggest issues are:

1) Tweakability - you've got one file system, and it doesn't really do useful mount options like noatime.
2) There are bugs in mount and traversing symlinks that make it hard to move pg_xlog onto another file system and retain performance (in 10.1.5, I don't have test hardware with enough drives to test 10.2)
3) vm_stat gives vm status, iostat gives nothing. Looks like this is working on my 10.2 laptop, but it's annoyed me for a while on 10.1.5
4) SW raid is not that much of a help for speed.
5) Bus bandwidth is a good factor behind x86 linux boxen. (DDR ram isn't really taken advantage of in current designs)

Having said that, I'm getting reasonable performance out of all the macs, in fact, I'm getting reasonably similar performance out of all of them desplite the 4x difference in processor power. And that's because they basically have the same low end disk system.

I'm piecing together something that I hope will be faster out of a x86 box loaded with more drives in a sw raid mirroring setup. (tentative is 1x system+logs, mirror for pg_xlog, mirror for pg data)

I'm planning on running some comparative benchmarks prior to going live, so I should be able to tell how much faster it is.

eric

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message CaptainX0r 2003-01-14 18:41:06 Re: Sun vs. Mac
Previous Message Andrew Sullivan 2003-01-14 18:30:46 Re: Sun vs. Mac - best Postgres platform?