Skip to main content
NetApp Knowledgebase

How to calculate SnapMirror/SnapVault throughput for performance

Views:
666
Visibility:
Public
Votes:
0
Category:
snapmirror
Specialty:
dp
Last Updated:

Applies to

  • ONTAP 9.2 
  • Clustered Data ONTAP 8 
  • Clustered Data ONTAP 8.3 
  • Data ONTAP 8.2 7-Mode 
  • ONTAP 9 
  • Data ONTAP 8.1 7-Mode 
  • Data ONTAP 8 7-Mode 
  • Clustered Data ONTAP 8.2 
  • Clustered Data ONTAP 8.1 
  • ONTAP 9.1 

Description

There are no built-in tools to gauge and monitor snapmirror throughput.
If you are looking for applications to do this, please contact your Sales Manager and request information on Data Management Applications.

Throughput for a relationship can be determined based on the amount of data moved over a set period of time.

Use the following commands to gather the needed snapmirror information:

To determine throughput, the fields to note are the  'Transfer Size' and the  'Transfer Duration'.

-> Find the throughput by dividing the 'Transfer Size' by the  'Transfer Duration'.


Data ONTAP 7 Mode

Destination> snapmirror status -l [ ]
or 

Destination> snapvault status -l [ ]

Snapmirror is on.

Source:                 Source:vol1
Destination:            Destination:vol1_mirror
Status:                 Idle
Progress:               -
State:                  snapmirrored
Lag:                    00:34:03
Mirror Timestamp:       Tue Sep 20 13:28:34 CEST 2016
Base Snapshot:          Source(012345678)_vol1.1
Current Transfer Type:  -
Current Transfer Error: -
Contents:               -
Last Transfer Type:     Update
Last Transfer Size:     4800 KB
Last Transfer Duration: 00:00:45
Last Transfer From:     Source :vol1


This output will show you the  Last Transfer Size and the  Last Transfer Duration which you can use to calculate the last transfer throughput.
 

Data ONTAP Cluster Mode

The Snapmirror show -instance command can be used to list the Last Transfer Size and Last Transfer Duration.

Destination Cluster::>snapmirror show -instance -destination-path <svm:Volume>

You can run the following command to list only the relevant information:

DestinationCluster::> snapmirror show -fields last-transfer-size,last-transfer-duration,last-transfer-end-timestamp [-destination-path ]

source-path destination-path last-transfer-size last-transfer-duration last-transfer-end-timestamp
----------- ---------------- ------------------ ---------------------- ---------------------------
SVM1:test   SVM1:SMTest      4.31MB             0:0:3                  "01/09 13:09:52"
1 entries were displayed.


This output will show you the Last Transfer Size and the Last Transfer Duration which you can use to calculate the last transfer throughput

Live Analysis of Throughput

It is possible to gauge throughput performance on a live snapmirror transfer using the above commands. 

-  Run the  'snapmirror show' command once to see the total progress. 
-  Wait a period of time and run  'snapmirror show' again. 
-  Using the 'Total Progress' column of each output, Subtract the first output from the second output. 
-  Divide the remainder by the amount of time between the two commands. 
-  This will result in an estimate of the throughput for the transfer.

Example:

1073850-1.png

*The  snapmirror show commands in the example above were run 3 minutes apart,  ie a 3-minute duration.

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support