Re: Raid 10 chunksize

From: Scott Carey <scott(at)richrelevance(dot)com>
To: Greg Smith <gsmith(at)gregsmith(dot)com>, Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Raid 10 chunksize
Date: 2009-03-25 16:16:33
Message-ID: C5EFA6F1.3B90%scott@richrelevance.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


On 3/25/09 1:07 AM, "Greg Smith" <gsmith(at)gregsmith(dot)com> wrote:

> On Wed, 25 Mar 2009, Mark Kirkwood wrote:
>
>> I'm thinking that the raid chunksize may well be the issue.
>
> Why? I'm not saying you're wrong, I just don't see why that parameter
> jumped out as a likely cause here.
>

If postgres is random reading or writing at 8k block size, and the raid
array is set with 4k block size, then every 8k random i/o will create TWO
disk seeks since it gets split to two disks. Effectively, iops will be cut
in half.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Bryan Murphy 2009-03-25 17:53:35 Re: Help Me Understand Why I'm Getting a Bad Query Plan
Previous Message Robert Haas 2009-03-25 13:40:41 Re: Help Me Understand Why I'm Getting a Bad Query Plan