pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: ischamay.andbergsay@activestateway.com
Subject: Re: Tryint to match Solaris-Oracle performance with directio?
Date: Sat, 18 Sep 2004 01:42:25 +0200
Message-ID: <414B7661.7000108@bigfoot.com> (raw)
In-Reply-To: <wQG2d.66386$XP3.65429@edtnps84>
References: <wQG2d.66386$XP3.65429@edtnps84>

Mischa Sandberg wrote:
> In the meantime, what I gather from browsing mail archives is that 
> postgresql on Solaris seems to get hung up on IO rather than CPU.
> Furthermore, I notice that Oracle and now MySQL use directio to bypass 
> the system cache, when doing heavy writes to the disk; and Postgresql 
> does not.
> 
> Not wishing to alter backend/store/file for this test, I figured I could 
> get a customer to mount the UFS volume for pg_xlog  with the option 
> "forcedirectio".
> 
> Any comment on this? No consideration of what the wal_sync_method is at 
> this point. Presumably it's defaulting to fdatasync on Solaris.
> 
> BTW this is Postgres 7.4.1, and our customers are Solaris 8 and 9.

If you care your data upgrade to more recent 7.4.5

Test your better sync method using /src/tools/fsync  however do some
experiment changing the sync method, you can also avoid to update the
acces time for the inodes mounting the partition with noatime option
( this however have more impact on performance for read activities )


Regards
Gaetano Mendola





view thread (6+ messages)  latest in thread

Message-ID: <414B7661.7000108@bigfoot.com>
Permalink:  ../414B7661.7000108@bigfoot.com/
Also on:    postgresql.org/message-id/414B7661.7000108@bigfoot.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mendola@bigfoot.com, ischamay.andbergsay@activestateway.com
  Subject: Re: Tryint to match Solaris-Oracle performance with directio?
  In-Reply-To: <414B7661.7000108@bigfoot.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