FlashCopy statistics collection

The system collects FlashCopy® specific metrics, which allows support to analyze performance issue.

Introduction

FlashCopy statistics measures the I/O amplification and magnification in FlashCopy layer, and it also measures the latency of the FlashCopy I/O operations. The various cache statistics gives information regarding the various FlashCopy I/O stages, though it is not obvious where the amplification or magnification is originating. Therefore, FlashCopy will track and measure the internal operations that are required to process an I/O in FlashCopy.

Statistics types

There are two types of statistics.
  • Aggregate statistics: The aggregate duration in microseconds(XXag) and the maximum duration in microseconds (XXmx).
  • Count statistics: A count(XXcn) is just a simple count, this doesn't get reset.

The aggregate statistics(XXag) and count statistics(XXcn) are cumulative. This way if there are two different files (from any time), you can calculate the average response time between the two files. The maximum will be reset after each sample period.

Tables

The following tables describe the information that is reported for individual volumes.

The below table describes the statistics collection for Volume aggregate statistics.

Table 1. Statistics collection for volume aggregate
Statistic name Description
wlag, wlcn, wlmx Indicates Write Lock Requests, these will be against the client volume.
Note: This will include cleaning I/O.
rlag, rlcn, rlmx Indicates Read Lock Requests, these will be against the client volume.
bcag, bccn, bcmx Indicates Background Copy Operations, these will be against the target, that is, the volume being copied to.
clag, clcn, clmx Indicates Cleaning Operations, these will be against the target being cleaned, that is, the volume being copied from.
rwag, rwcn, rwmx Indicates ROW copy Operations, these will be against the client volume.
twag, twcn, twmx Indicates Host Write I/O Operations at top of FlashCopy, these will be against the client volume.
trag, trcn, trmx Indicates Host Read Operation at top of FlashCopy, these will be against the client volume.
bwag, bwcn, bwmx Indicates Write Operations at bottom of host I/O, these will be against the client volume of the host IO.
brag, brcn, brmx Indicates Read Operations at bottom of FlashCopy for host I/O, these will be against the client volume of the host IO.

The below table describes the statistics collection for Volume count statistics.

Table 2. Statistics collection for volume count
Statistic name Description
hwsg Indicates Host Write Split Grain. The number of grains split due to host I/O for this volume, this will be against the client volume.
hwdg Indicates Host Write Diff Grain. The number of grains marked as different due to host I/O for this volume, this will be against the client volume.
srcp Indicates Successful ROW copy. The number of successful ROW copy operations, this will be against the client volume.
twbl Indicates Host Write Blocks at top of FlashCopy, this will be against the client volume.
trbl Indicates Host Read blocks at top of FlashCopy, this will be against the client volume.
bwbl Indicates Write Blocks at bottom of FlashCopy for Host I/O, this will be against the client volume for the host I/O.
brbl Indicates Read Blocks at bottom of FlashCopy for Host I/O, this will be against the client volume for the host I/O.
Example snippets for volume statistics files.
id="mtfc_vdisk0"
ro="431608" wo="134744" wou="16792" rb="256827679" wb="65293344"
rl="1384624" wl="5200676" rlw="305664" wlw="313986" xl="1325749"
wxl="612068" rxl="713681" oro="0" owo="0"
orl="0" owl="0" oiowp="0"
uo="0" ub="0" uou="0" ul="0" ulw="0">
<fc wlag="49953663" wlcn="171517" wlmx="20924" rlag="0" rlcn="0" rlmx="0" bcag="0" bccn="0" bcmx="0" clag="0" clcn="0" clmx="0" rwag="0" rwcn="0" rwmx="0" twag="174414058" 
twcn="13531" twmx="0" trag="0" trcn="0" trmx="0" bwag="1644964" bwcn="11657" bwmx="0"
brag="169298247" brcn="11657" brmx="0" hwsg="0" hwdg="78695" srcp="0" twbl="3018747" trbl="0" bwbl="5968384" brbl="5968384" />
<ca rh="3509455" d="65314336" ft="128128" wt="0"
fw="65188256" wh="0" v="1920" m="1920"
ri="431608" wi="134789" r="253318224" dav="35731" dcn="36073" sav="2150" scn="30609" teav="0"
tsav="0"  tav="3000"  pp="0"/>
<cl bup="0" bdn="0"/><cpy idx="0">
<ca p="23479360" rh="629009376" ph="23234248" d="67061321"
ft="488576" wt="0" fw="85798816" wh="18677066"
v="7594176" m="553216" pm="1136" ri="1281284"
wi="185325" r="21743776" dav="234688" dcn="51900"
sav="14551" scn="6209" pav="16011" pcn="1365"
teav="0"  tsav="0"  tav="0"  pp="0"/>