pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Kirkwood <markir@paradise.net.nz>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Raid 10 chunksize
Date: Wed, 25 Mar 2009 16:20:52 +1300
Message-ID: <49C9A314.6050302@paradise.net.nz> (raw)
In-Reply-To: <dcc563d10903241911p29f604vfd9025a106d0eac3@mail.gmail.com>
References: <49C98433.5080709@paradise.net.nz>
	<dcc563d10903241911p29f604vfd9025a106d0eac3@mail.gmail.com>

Scott Marlowe wrote:
> On Tue, Mar 24, 2009 at 7:09 PM, Mark Kirkwood <markir@paradise.net.nz> wrote:
>   
>> I'm trying to pin down some performance issues with a machine where I work,
>> we are seeing (read only) query response times blow out by an order of
>> magnitude or more at busy times. Initially we blamed autovacuum, but after a
>>  tweak of the cost_delay it is *not* the problem. Then I looked at
>> checkpoints... and altho there was some correlation with them and the query
>> response - I'm thinking that the raid chunksize may well be the issue.
>>     
>
> Sounds to me like you're mostly just running out of bandwidth on your
> RAID array.  Whether or not you can tune it to run faster is the real
> issue.  This problem becomes worse as you add clients and the RAID
> array starts to thrash.  Thrashing is likely to be worse with a small
> chunk size, so that's definitely worth a look at fixing.
>
>   

Yeah, I was wondering if we are maxing out the bandwidth...
>> Fortunately there is an identical DR box, so I could do a little testing.
>>     
>
> Can you try changing the chunksize on the test box you're testing on
> to see if that helps?
>
>   

Yes - or I am hoping to anyway (part of posting here was to collect some 
outside validation for the idea). Thanks for your input!


Cheers

Mark



view thread (59+ messages)  latest in thread

Message-ID: <49C9A314.6050302@paradise.net.nz>
Permalink:  ../49C9A314.6050302@paradise.net.nz/
Also on:    postgresql.org/message-id/49C9A314.6050302@paradise.net.nz

 · 

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: markir@paradise.net.nz, scott.marlowe@gmail.com
  Subject: Re: Raid 10 chunksize
  In-Reply-To: <49C9A314.6050302@paradise.net.nz>

* 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