emcuser123

updated

18 years ago

E

emcuser123

14 Posts

1

87326

April 13th, 2009 14:00

Calculating Total Throughput or IOPS of a RAID Group

While calculating the Total IOPS of a R5 RAID Group should I consider the Parity Disk as part of my calculation or not ?

I'll try to word the question better :

I have a 6 Disk, R5 Raid group and the RG is composed of 146GB FC / 10K RPM drives. While calculating the total throughput supported by the RG should I use
6 x140 or 5x140 ( considering one disk for parity calculations )

Also similar question for a RAID 10 RG..Should the number of IOPS per disk multiplied by the total number of disks in a RAID 10 RG to get the total throughput?

Any clarification on this will be appreciated.

Thanks
Amit
  • jps00

    2 Intern

    •

    392 Posts

    3605

    0

    Posted April 14th, 2009 04:00

    Hi.

    Yes, the parity drive is included.

    The document 'EMC CLARiiON Best Practices for Performance and Availability Revision 28.5' in the Storage System Sizing and Performance Planning section at the end includes instructions for calculating RAID Group throughput. This document is available on PowerLink.

    It also includes tabular information on how many IOPS per drive you should use in the calculation. For example, in your calculation you should use 140 IOPs per drive for small-block random workloads with 10K Fiber Channel drives.

    Hope this helps.
  • emcuser123

    14 Posts

    3605

    0

    Posted April 14th, 2009 08:00

    JPS .. Thanks for the information.
    I looked at the document and didn't find anything that specifically states that.
    ( unless I missed it )...Also in consultation with EMC I am being told that the Parity Drive has to be excluded from the calculations...So am trying to find something in Print that give me more details...
  • RyanP2

    261 Posts

    3605

    0

    Posted April 14th, 2009 10:00

    When using the Best Practices Guide to calculate how many IOPs a host will cause at the drive level (based on what raid type), the parity IOPs are included as drive IO. This means that when you divide by 140 or 180 or whatever IOPs (based on the type of drive you are using) this will include the parity drive.

    For example:
    Say a host will do only 250 write IOPs at a time and you are planning for this (no reads). When "Determining the disk load" (section in the guide) use the parity formula.

    Raid 5 IOPs = reads + 4* Writes. In our case 0 + 4*250 =1000. Say we are going to use 15k fibre drives, so 1000/180 = 5.555 drives (call it 6). This means we need a 5+1 raid 5 to handle the IOP load from this host.

    There are further examples in the guide for sizing and determining the number of drives needed but they go way beyond what you are asking.


    -Ryan
  • RRR

    6 Operator

    •

    5739 Posts

    3605

    0

    Posted April 14th, 2009 11:00

    Correct (if the I/O's are random) !
    But if you want to choose between RAID5 and RAID10 and you don't need that much space), you might want to choose for RAID10, since the write penalty is only 2 !

    0 + 2*250 = 500
    15k drives: 500/180 = 2.778, let's call it 4, so you'd only need a 2+2 RAID10 RG.
  • RyanP2

    261 Posts

    3605

    0

    Posted April 14th, 2009 13:00

    I would never use raid 5 for the Io in my example. :) That would be spindle suicide!

    Raid 1/0 wasn't in my example because it has no parity drives :P
  • RRR

    6 Operator

    •

    5739 Posts

    3605

    0

    Posted April 15th, 2009 00:00

    Yeah yeah, just trying to point out how the math is done ;)
  • mpalumbo1

    50 Posts

    3605

    0

    Posted April 15th, 2009 13:00

    Emcuser, I am confused as well. I just went through some performance tuning on my array and a EMC engineer person told me the exact same thing. My example was if you have R5, 5 disk 15k spindles(180 I/O), the max I/O that can be handled is 720 I/O's (4*180) not 900 I/O's(5*180).

    It was explained to me like this. Raid 5 you have Read data, Read parity then write data, write parity hence the reads + 4* Writes calculation in RyanP's example. Now if your reading the data your on the data drives only. So if this is a 4+1 the 4 drives are supplying the data I/O 4*180=720 I/O's. Now the next step is the Parity I/O well thats only 1 drive 180 I/O's. Now when you go to write its the same, 720 I/O's for 4 drives and 180 I/O's write for the parity.

    When I asked about 6 disk Raid 1_0 15k spindles it was similiar: 180*3= 540 I/O's. Now, using RyanP example: 0 + 2* 250= 500/180 = 2.7 (Call it 3 multiple by 2 for the mirror = 6 drives). There was a bonus for reading because raid 10 can use its mirror for sequential reads but I dont know how to calculate it here.

    Im not a engineer im basically restating what a engineer explained to me. Though, I have always taken the I/O's divided by 180 to get my number of drives as RyanP demonstrated and it has never failed me.

    Thoughts?

    Mike
  • RyanP2

    261 Posts

    3605

    0

    Posted April 15th, 2009 14:00

    Ahhh, Mike must be calling me out. Did I have your case when it came through support? I know I saw it :)

    Depending on who you talk to, you may get two different answers. When planning and you know the IO types and values, you use what the Best Practices Guide says and figure out what you need.

    If your looking at something already configured, then we usually use the other way. We take the number of data drives and multiple it by what they can do (180 or 140 or whatever), this is non-parity IO. Lun IO doesn't count parity so we usually compare the two. If the LUN IO (total on that raid group) is above what the above calculation is, then most likely you are seeing performance problems.

    Engineering states that poor performance is noted when LUN utilization is above 70%, queuing is above 10 queued IO, and response times are above 20ms. Hosts can tolerate queuing as long as the response times are good so queuing does not have much pull alone. Utilization at 100% may or may not be a problem. 1 constant IO can cause a LUN to be 100% utilized.

    Usually when I see queuing above say 1 on a set of drives, I know that the drives physically cannot handle the load I am sending to them and that luns in that raid group *MAY* be impacted. This is when I start going back through the luns and checking for problems. If you know a LUN is giving bad performance at the host level, then try tracking it back through the array.

    I do have to say that performance is a huge topic. You can try and figure it out yourself, and if you choose to do this Navisphere help is worth taking a look at. If you need some help, training is available.

    -Ryan
  • RRR

    6 Operator

    •

    5739 Posts

    2511

    0

    Posted April 16th, 2009 02:00

    In a 4+1 RAID5 5 (five) drives are doing the reads !!!! In RAID3 only 4, since RAID3 has a dedicated parity disk and in RAID5 the parity is distributed.

    In the calculations you need to do the math with all drives included, so in a 4+1 it's 5 drives with for example 180 IOps. The write penalty is included in the math as well, so your good if you simply forget that it's a parity drive. In 4+1 you have 5 disks. Period.


    In RAID10 (3+3) the reads come from 3 drives and the writes go to 6, hence the write penalty of 2. Since data is not striped over all 6 drives the math is different there.
  • mpalumbo1

    50 Posts

    1896

    0

    Posted April 16th, 2009 11:00

    Ahhh, Mike must be calling me out. Did I have your
    case when it came through support? I know I saw it
    :)


    Im definately NOT calling you out RyanP im sure I would get my rear handed to me. :) I think its a good discussion though and I was recently told the exact same thing as emcuser, which rocked my world. So I brought it up here hoping to have it exposed a bit. I agree though with your time tested method of taking MAX I/O's and dived by they spindle speed to get what you need. I have been using that for years.

    Much respect,

    Mike