Stripe sizing and maxcontig
- From: "Mark" <mark.round@xxxxxxxxx>
- Date: 27 Jul 2006 08:21:31 -0700
Hi all,
I've been reading up a lot recently on filesystem tuning, and stripe
sizing, mainly because we've just got a shiny new 3510FC array (dual
RAID controllers) and are looking at moving our databases over onto it
(Solaris 10 update 1 / AMD64 architecture, UFS filesystems).
First off - the person from the VAR who came round to demo it said that
a RAID 5 volume was perfectly OK, and we wouldn't incurr that much of a
performance hit from choosing that over, say RAID 1+0. Is this correct
? Our databases are much more read-intensive than they are write, but
still... Alarm bells are ringing at this advice even though the array
does have a hefty whack of cache on board.
Secondly - I could just use some clarification regarding my
methodologies - I would massivley appreciate someone sanity checking my
thinking here :)
I have observed our current database's IO patterns using iostat over
the course of a hour. I discovered it was doing 2921.8 kr/s and 140.1
kw/s (197.4 r/s and 13.7 w/s). This gave me an average read size of
around 14Kb, and average write size of roughly 10Kb.
My assumptions are : For random access, I'm assuming the best thing to
do is to set the stripe size of a RAID volume to the average transfer
size - so if I have, say, 4 disks in a volume they could all in theory
be handling different requests. If I'm doing mostly sequential
transfers, I'm better off setting the stripe size to (number of disks *
transfer size), so a single transfer is spread out amongst as many
disks as possible. Is this correct ?
If I've got that right, my next question relates to maxcontig. If I set
the stripe size of the RAID volume to 16Kb (closest to 14Kb value
mentioned above), I know I then need to tune maxcontig accordingly. If
I lower this from the default setting of 7 to 6, this means the system
should bunch together transfers until they reach a size of 48Kb. If I
have 4 disks in my RAID 5 volume (3 available volumes), and a stripe
size of 16Kb so that the total stripe width is also 48Kb, does that
mean that every transfer will be spread evenly across all disks ?
Is this the best way of sizing my RAID volumes and tuning them for the
best possible performance ?
Many thanks in advance,
-Mark
.
- Follow-Ups:
- Re: Stripe sizing and maxcontig
- From: tunla
- Re: Stripe sizing and maxcontig
- From: John L
- Re: Stripe sizing and maxcontig
- From: Darren Dunham
- Re: Stripe sizing and maxcontig
- Prev by Date: Re: How to get and install XVR-500 Drivers on a Ultra 10 Solaris 10 ?
- Next by Date: Re: maximum stack size kernel parameter (hard limit) solaris 8
- Previous by thread: How to get and install XVR-500 Drivers on a Ultra 10 Solaris 10 ?
- Next by thread: Re: Stripe sizing and maxcontig
- Index(es):
Relevant Pages
|