Re: Advice configuring ServeRAID 8k for performance

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Scott Carey <scott(at)richrelevance(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Kenneth Cox <kenstir(at)gmail(dot)com>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Advice configuring ServeRAID 8k for performance
Date: 2010-08-16 17:46:21
Message-ID: 4C69796D.9000408@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Scott Carey wrote:
> This is because an fsync on ext3 flushes _all dirty pages in the file system_ to disk, not just those for the file being fsync'd.
> One partition for WAL, one for data. If using ext3 this is essentially a performance requirement no matter how your array is set up underneath.
>

Unless you want the opposite of course. Some systems split out the WAL
onto a second disk, only to discover checkpoint I/O spikes become a
problem all of the sudden after that. The fsync calls for the WAL
writes keep the write cache for the data writes from ever getting too
big. This slows things down on average, but makes the worst case less
stressful. Free lunches are so hard to find nowadays...

--
Greg Smith 2ndQuadrant US Baltimore, MD
PostgreSQL Training, Services and Support
greg(at)2ndQuadrant(dot)com www.2ndQuadrant.us

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Andres Freund 2010-08-16 20:02:27 Re: Advice configuring ServeRAID 8k for performance
Previous Message Scott Carey 2010-08-16 16:28:52 Re: Advice configuring ServeRAID 8k for performance