Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition | |||
|
|
Solution Type Technical Instruction Sure Solution 1003766.1 : Tuning Remote Volume Mirroring for Sun Storage[TM] RAID Arrays
PreviouslyPublishedAs 205301 Description This document defines the way to evaluate and modify a Remote Volume Mirroring(RVM) configuration in order to mitigate the performance effects of high latency, between the two arrays of the RVM configuration, as well as local and remote system load. Customer's should identify their performance goals on an application and volume basis, prior to using the tools in this document. This document assumes that the audience has reviewed the Online Help documentation in Sun StorageTek[TM] Common Array Manager as well as the help in Sun StorageTek[TM] SANtricity Storage Manager. The details of Synchronous versus Asynchronous Replication can be found by reviewing the following Online Help: Under Configuration Tasks -> Configuring Data Replication:
The details of latency and other replication issues are covered: Under Configuration Tasks -> Planning for Data Replication
The following are additional pages that will round out your understanding of Under Configuration Tasks -> Managing Data Replication
Steps to Follow Follow the steps below to identify what performance changes will impact your environment. Part I: Defining and Determining LatencyDefining LatencyLatency refers to the amount of time to complete a transaction. In terms of the RVM configuration, we are considering the so called round-trip latency. That is the time for an operation to travel from the start point to the end point, and send an acknowledgement back to the start point. The term Highly Latent refers to round-trip latencies that are large or unacceptable. Sun recommends utilizing Asynchronous replication at latency values of 10ms or more. Whether a lower value is accepteable or not will depend Defining LBA or Chunk SizeLBA(Logical Block Allocation) is the number of bytes transferred in a single IO. In this case, we are interested in the typical size of an RVM IO, since we will want to know how long it will take for each LBA to transfer over the network. The LBA size is dependent upon the size of the volume being replicated. Volume Size In Blocks / 10^6 = LBA NOTE: The LBA cannot be less than 64KB, or 128 512-byte blocks. For example a 500GB volume: 500GB/10^6 = 524288000/10^6 = 524.288 blocks or ~262 KB Determining LatencyThese arrays provide a user interface that helps determine link health, and For CAM: In the left hand menu: 1) Expand Storage Systems
For Legacy Element Manager 1.3 through 2.1: 1) Click Configuration Services
For sscs: Use the modify sub-command with the -E option against the specific set you Example: sscs modify -a array -E repset volname/# # /opt/SUNWsesscs/cli/bin/sscs modify -a myarray -E repset primaryvol/# Communication between the owning controllers of Local Volume primaryvol and Remote Volume remotevol is normal. Average round trip time: 1052117 microseconds NOTE: The number after the volumename is the number of the set. This is listed in the output of sscs list -a array repset Estimating Time to SynchronizeWith high latency values, initial synchronizations, or even recovery synchronizations can take some time to complete. Take for example, the replication of 500 GB over SAN with a latency of 60ms. A full synchronization from the primary to the secondary sites would take at maximum: Rate: (Reference Chunk Size as calculated above)/ (Latency in seconds) 262 KB / 0.06s = 4369KB/s or ~4.3 MB/s Time to completion: (500GB * 1024 GB/MB) / 4.3 MB/s = 119070s = 33 hours = 1.4 days This is if there is no host IO to the Sun StorEdge[TM] 6130, and the replication priority is set to its highest value. Cutting the latency by half, halves the time to completion. This is, by far, the best way to better local application performance, and decrease synchronization times. All replication IO depends on the time to transmit and acknowledge the data replicated. The problem is of course that this can, at times, be the most expensive to reduce and tune. ''NOTE: The benefits of Asynchronous mode do not take affect until Part II: Asynchronous Write Order Consistency GroupThe Write Order Consistency Group forces every new write to any primary volume, in the group, to be written to the secondary volume, in order of receipt. This Serialization of the data flush on an asynchronous group of sets can lead to system performance equivalent to that of a synchronous transfer over the same Great care should be taken when considering this option. There can be only one Consistency Group defined per array. Part III: Defining and Setting PriorityReplication Set priority is defined individually. This setting sets a process In general, the states are defined as: lowest, low, medium, high, and highest. There is no hard, fast rule about what a user should set this to, for an individual set, or for a group of sets. There are some guidelines that should
Since the settings are subjective to every solution, you will have to use your To set the priority in Element Manager: To set the priority with sscs: sscs modify -a arrayname -R priority repset repsetname Part IV: Considerations in Volume BalancingNot only can you change the replication process priority, but you can assign
To change volume ownership, refer to the contents of <Document: 1006464.1> or more Again, these are simply guidlines, and are meant to give you a starting point Part V: ConclusionAs defined above, you have 3 variables that can be manipulated. We have listed them in order of highest impact to the overall configuration.
Users must consider what their IO profile is for their application, and the entire array. The next step is to create a goal that will satisfy the needs Product Sun StorageTek 6130 Array (SATA) Sun StorageTek 6130 Array Sun StorageTek 6540 Array Sun StorageTek 6140 Array Sun Storage 6780 Array Sun Storage 6580 Array Sun Storage 6180 Array Internal Comments This was the result of Escalation 1-13723224. 6140, 6540, 6130, RVM, Remote Volume Mirroring, Latency Previously Published As 83509 Product_uuid 61718837-0e90-11d9-8d5c-080020a9ed93|Sun StorageTek 6130 Array (SATA) 8252cb91-d771-11d8-ab52-080020a9ed93|Sun StorageTek 6130 Array e35cfcfc-a31a-11da-85b4-080020a9ed93|Sun StorageTek 6540 Array 8ac7dca5-a8bd-11da-85b4-080020a9ed93|Sun StorageTek 6140 Array Change History Date: 2009-11-25 User Name: 88109 Action: Approved Comment: Updated title and products. May need to be updated for SANtricity too at a later date. Version: 0 Date: 2006-10-30 User Name: 71396 Action: Approved Comment: Performed final review of article. No changes required. Publishing. Version: 6 Date: 2006-10-27 User Name: 71396 Action: Accept Comment: Version: 0 Attachments This solution has no attachment |
||||||||||||
|