How to calculate SnapMirror/SnapVault throughput for performance
Applies to
- ONTAP 9
- Data ONTAP 7-Mode
Description
- There are no built-in tools to gauge and monitor SnapMirror throughput or to get the network performance during SnapMirror migration from on-premises storage to Cloud Volumes ONTAP
- 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
- If you are looking for applications to do this, please contact your Sales Manager and request information on Data Management Applications
- Use the following commands to gather the needed SnapMirror information:
- To determine throughput, the fields to note are the
Transfer Size
and theTransfer Duration
. - Find the throughput by dividing the
Transfer Size
by theTransfer Duration
.
- To determine throughput, the fields to note are the
ONTAP 9
- The
snapmirror show -instance
command can be used to list theLast Transfer Size
andLast Transfer Duration
.
Destination Cluster::> snapmirror show -instance -destination-path <svm:Volume>
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 theLast 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.
- The
- Run
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.