Skip to main content
NetApp Knowledge Base

How to calculate SnapMirror/SnapVault throughput for performance

Views:
6,643
Visibility:
Public
Votes:
4
Category:
snapmirror
Specialty:
dp
Last Updated:

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
  • 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.

ONTAP 9

  • 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>

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.

How to calculate SnapMirror/SnapVault throughput for performance

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.

 

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

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.