pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: CaptainX0r <captainx0r@yahoo.com>
To: pgsql-performance@postgresql.org
Subject: Re: Sun vs. Mac
Date: Tue, 14 Jan 2003 07:41:21 -0800 (PST)
Message-ID: <20030114154121.53714.qmail@web21103.mail.yahoo.com> (raw)
In-Reply-To: <20030114101054.B5335@mail.libertyrms.com>

All,

> You should tell us about what version of Solaris you're
> running, what
> version of Postgres, and what options you have used.  

You're right, sorry.  PG 7.3.1 on Solaris 8.  I've got the
default recommended /etc/system but with shmmax cranked way up
which seems to have helped.  I don't have the system in front of
me (and it's down, so I can't get to it), but from memory
max_connections was increased to 64, shared_buffers up to 65536,
sort_mem and vacuum_mem were doubled, and I think that's it.  I
changed every seemingly relevant one, and spent a lot of time on
the *cost section trying various factors of n*10 on each, with
no joy.

> Did you split
> the WAL onto its own filesystem?  You'll get a big win that
> way. 

I have not.  What exactly do you by "own filesystem"?  Another
filesystem?  I was planning on putting pg_xlog on the OS disk
and moving $PGDATA off to a second disk. 

> Also, what fsync setting are you using (open_datasync is the
> fastest in my experience).  

I've read that somewhere (maybe in the archives?) and I got no
change with any of them.  But now I'm thinking back - do I need
fsync=true for that to have an affect?  I'm not worried about
the cons of having fsync=false at all - and I'm assuming that
should be better than true and open_datasync.  Or am I confusing
things?

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

I've read about this as well - but haven't even gotten that far
on the testing/configuring yet.
 
> 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.

I agree completely.

Thanks for your input,

-X

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



view thread (20+ messages)  latest in thread

Message-ID: <20030114154121.53714.qmail@web21103.mail.yahoo.com>
Permalink:  ../20030114154121.53714.qmail@web21103.mail.yahoo.com/
Also on:    postgresql.org/message-id/20030114154121.53714.qmail@web21103.mail.yahoo.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: captainx0r@yahoo.com
  Subject: Re: Sun vs. Mac
  In-Reply-To: <20030114154121.53714.qmail@web21103.mail.yahoo.com>
  References: <20030114101054.B5335@mail.libertyrms.com> <20030114154121.53714.qmail@web21103.mail.yahoo.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