Effect of Stripe Size (was Postgres on RAID5) - Mailing list pgsql-performance

From Ruth Ivimey-Cook
Subject Effect of Stripe Size (was Postgres on RAID5)
Date
Msg-id 20050315161838.B4FC2568C4@svr1.postgresql.org
Whole thread Raw
List pgsql-performance
Folks,

> You said:
> "If your write size is smaller than chunk_size*N (N = number
> of data blocks in a stripe), in order to calculate correct
> parity you have to read data from the remaining drives."
>
> Neil explained it in this message:
> http://marc.theaimsgroup.com/?l=linux-raid&m=108682190730593&w=2

Having read that and the recent posts:

Has anyone done any performance checks on the md code to determine what, if
any, effect the stripe size has on performance? One might suppose the variables
would be stripe size, file size and read vs write. Possibly number of drives in
array, too.

Reason for asking:

When I set up my raid5 array, I chose a stripe of 256K, on the grounds that a
large number of the files on the drive are multi-megabytes (fairly evenly in
the 20MB - 100MB range) and I supposed that a large stripe would speed things
up for those files. Was I right?

Regards,

Ruth



pgsql-performance by date:

Previous
From: David Dougall
Date:
Subject: Re: Postgres on RAID5
Next
From: Michael Tokarev
Date:
Subject: Re: Postgres on RAID5