happyadm

updated

17 years ago

H

happyadm

77 Posts

0

3531

July 2nd, 2009 07:00

cx-700 vs cx4-120 write cache and Oracle

Hi,

We just purchased a cx4-120. My recommendation was to get a cx4-240, however due to budget restraints our management went with the cx4-120.

We are currently running production and development on a cx-700 with the intent to split the two env and move production to the cx4-120.
While tuning the cx4-120, I noticed that my write cache limit is about 500-600 mb depending on how I tune read cache. On the cx-700, my write cache limit is roughly 2999 mb(3G). I am wondering if it is wise to move our write intensive production Oracle env to the cx4-120 based on these numbers . Or should we move development instead to the cx4-120. I have looked in powerlink and cannot find a comparison document for the allowable tunable cache values.

Thanks so much!

Happyadm
  • kelleg

    6 Operator

    •

    4537 Posts

    1392

    0

    Posted July 2nd, 2009 09:00

    Do you have the latest Best Pracitces guides for release 28?

    EMC CLARiiON Storage System Fundamentals for Performance and Availability

    http://powerlink.emc.com/km/live1/en_US/Offering_Technical/White_Paper/H1049_emc_clariion_fibre_channel_storage_fundamentals_ldv.pdf


    EMC CLARiiON Performance and Availability Release 28.5 Firmware Update Applied Best Practices.pdf

    http://powerlink.emc.com/km/live1/en_US/Offering_Technical/White_Paper/h5773-clariion-perf-availability-release-28-firmware-wp.pdf


    White Paper: An Introduction to EMC CLARiiON Storage Device Technology ¿ Applied Technology

    http://powerlink.emc.com/km/live1/en_US/Offering_Technical/White_Paper/H4208-an-intro-emc-clariion-hard0drive-tech-wp.pdf

    glen
  • RyanP2

    261 Posts

    1091

    0

    Posted July 2nd, 2009 07:00

    As long as the backend raid groups can keep up with the IO that you will be sending to them, then the size of the write cache MAY not be a problem.

    The more drives in a Raid Group, usually the more performance in that group. When the cache reaches the watermarks and starts flushing, if you don't have any bottlenecks in the backend (which are almost always a Raid Group sizing problem) then the cache can flush efficiently and your cache may not get full. If the groups are not sized to handle what is trying to go through them (total read IO for all luns and then write IO with any needed parity updates) then you will most likely have issues. Your problems would be write cache getting full and everything suffering.

    What I suggest doing is lowering the watermarks from 60/80 to say 40/60. This will cause your cache to flush sooner, and if we begin flushing at the beginning of a large burst of IO we may be able to control it. Also, plan your backend the best you can. If you know how much IO you will be doing then use the Best Practices to size the Raid Groups accordingly.

    Hate to say it but sometimes you just may need to let things run to see what happens. If you hit cache full (99% dirty pages on an SP), then most likely there is a Raid Group that isn't sized large enough to handle what is being sent to it.

    -Ryan
  • happyadm

    77 Posts

    1091

    0

    Posted July 2nd, 2009 07:00

    Hi Ryan,

    Thank you for your prompt reply. One point I need clarifying on, is that you mention the more disks in the raid group the more performance. I want to put my heavy write mount points on Raid-10 and the recommendation is 8 disks per Raid-10 group. Should I go over that amount?

    Thanks!
  • RyanP2

    261 Posts

    1091

    1

    Posted July 2nd, 2009 08:00

    Is that 8 drives total for the 1/0 set or an 8+8?

    If 8 drives total, then you only have 4 primary drives and 4 secondary drives. If we say that the group will do only writes (for sake of an example) then we know the primary and secondary drives will be doing the same IO (making sure the data is saved on the primary and its mirror). This means we will only have 4 drives of performance.

    4 primary drives (assuming 10k RPM FC) will only fetch you near 560 IOPs total for the Raid Group (in the B.P. guide multiply what the drive can do by the number of drives in the group, so 4*140=560). Bandwidth wise for writes on 10k FC its 4*10MBs/sec=40MBs/sec. If 15k RPM then its 4*180IOPs and 4*12MBs/sec. Raid 1/0 is completely different than other raid types also, so don't use this example for R5.

    These numbers of course vary depending on size of the IOs and locality of the data on the drives. You can push more IO for sequential data, or a lot less for very random data. There is no way to exactly predict what you will be doing or could be doing. If this may not be enough, then you will need to add more drives (max 16 for a group). Performance is a very deep topic once you start digging into it.

    -Ryan
  • RyanP2

    261 Posts

    1091

    0

    Posted July 2nd, 2009 08:00

    So according to your message the default number of drives to choose for a Raid 1/0 was 8. This will give you 4 primary drives and 4 secondary drives (known as a 4+4. 4 primary, 4 secondary).

    One thing to point out is that the order by which the drives appear in the create raid group screen is the order that it will be created primary and secondary wise. The first drive in the list is the first primary drive and the second drive is the mirror to the first drive. Usually people make sure all primary drives are on 1 bus and the secondary drives are all on a different bus (in your case I think you only have 1 bus so you may want to put the secondary drives in a different enclosure if possible).

    To make sure the primary drives are separated from the secondary drives use the manual button to choose the drives in the set. First choose the first primary drive, then the next drive is the mirror to that one, then pick the next primary drive, then the next mirror.

    For example:
    1st Primary: 0_1_0
    1st secondary: 0_2_0
    2nd Primary: 0_1_1
    2nd Secondary: 0_2_1

    Choosing in this order puts primary drives in 0_1 and secondary drives in 0_2.

    Hope this helps.

    -Ryan
  • happyadm

    77 Posts

    1091

    0

    Posted July 2nd, 2009 08:00

    Hi Ryan,

    Please pardon my lack of knowledge about this. This is the first time I've had to configure Raid groups on new storage. I pretty much inherited what was on the cx-700 already done. When I go to configure a raid-10 group, I get eight disks by default. So my assumption is eight disks. I am not sure what an 8+8 is.

    Thanks!
  • kelleg

    6 Operator

    •

    4537 Posts

    546

    0

    Posted July 2nd, 2009 08:00

    One extra point, when you first select to create a a new Raid Group, the array will out up a default number of disks - you can change this if you need more or less disks. On R10, you need to have disks added in 2's - one for the primary and one for the secondary. So you could take the default, 8 disks, which will give you a 4+4 R10 - as Ryan notes.

    If you need more disks to handle more IO, then when you create the Raid Group, you can manually select the disk.

    You really need to determine what the current workload on the CX700 is for the applications - this is the bandwidth, IO/s, IO size, etc. If you have Navisphere Analyzer licensed on the CX700, you should run this for a week or so to gather Archives to see where and what the workload is on the CX700. Start the analyzer at Archive Interval of 600 seconds - this will give you one archive for each 24-26 hours - one complete day. If you see times when the workload is very busy, you can change the Archive Interval to a shorter time - say 120 seconds, that would create an archive that contains 5 hours of data - more detail. Check the On0Line Help for more complete description about using Analyzer.

    glen
  • AranH1

    2163 Posts

    1091

    0

    Posted July 2nd, 2009 09:00

    Ryan,
    There was a contradictory note on that feature in one of the configuration guides that stated that the GUI in fact did not create the primary and secondary mirrors as implied. This was pointed out to me by an EMC consultant. I will have to dig up the documentation that stated that you had to use the CLI in order to specify the mirror pairs. This was actually about a year or two ago so it was relevant to release 24 and possibly 26, I can't remember. I am trying to find the EMC document that stated that you had to use the CLI.

    Is there a way to confirm that the GUI will create the mirrored pairs in order of selection? After creating it through the GUI can we confirm the pairs through the CLI?
  • happyadm

    77 Posts

    362

    0

    Posted July 2nd, 2009 09:00

    Hello and thank you to everyone who responded! I just got permission to take our production clone environment on our staging server and test with it before migrating production. It's pretty much a DB clone and so I will create the raid groups for this as if it were going to be production. I will get the dba(s) to run statpack on that env on the cx-700 before I migrate it to the cx4-120 and I will run analyzer. I wll migrate using veritas volume manager mirrors and just disable those on the cx-700, however, I keep them on the cx-700 in case the performance is really bad on the cx4-120. You guys are awesome and I appreciate all the responses!

    Thanks again, HappyAdmin!
  • RyanP2

    261 Posts

    1091

    0

    Posted July 2nd, 2009 09:00

    Aran,

    I am actually not sure when this was put into play, but if you take a look at Primus emc59462 it says this:

    Navisphere 6.x

    When creating a RAID 1/0 group, you can use Navisphere Manager or Navisphere CLI. The order in which you select the drives will determine the primary/secondary relationship. Even if the drive order is resorted by the GUI, the order they were added is still retained for creating the RAID Group.

    Primus was written in 2002, and I don't even know how long ago Navi Manager 6 came out (before 19).

    -Ryan