Skip to main content
NetApp Knowledge Base

How to calculate SnapMirror/SnapVault throughput for performance

Views:
4,343
Visibility:
Public
Votes:
2
Category:
snapmirror
Specialty:
dp
Last Updated:

Applies to

  • ONTAP 9 or above
  • Clustered Data ONTAP 8 or above
  • Data ONTAP 8 7-Mode or above

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 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:
      • The  snapmirror show commands in the example above were run 3 minutes apart,  ie a 3-minute duration.

1073850-1.png

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device