The background copy and cleaning rates control the rate at which updates are propagated from a source volume to a target volume.FlashCopy mapping copy rate values can be from 128 KB/s to 2 GB/s and can be changed when the FlashCopy mapping is in any state.
The data copied/sec and the grains/sec numbers represent standards that the system tries to achieve. The system is unable to achieve these standards if insufficient bandwidth is available from the nodes to the physical disks that make up the managed disks (MDisks) after taking into account the requirements of foreground I/O. If this situation occurs, background copy I/O contends for resources on an equal basis with I/O that arrives from hosts. Both tend to see an increase in latency and consequential reduction in throughput with respect to the situation had the bandwidth not been limited. Background copy, stopping copy, and foreground I/O continue to make progress and do not stop, hang, or cause the node to fail.
The background copy is performed by one of the nodes that belong to the I/O group in which the source volume resides. This responsibility is moved to the other node in the I/O group in the event of the failure of the node that performs the background and stopping copy.
The background copy starts with the grain that contains the lowest logical block numbers (LBAs), which is LBA 0; the copy then works forward towards the grain that contains the largest LBA.
The stopping copy operation copies every grain that is split on the stopping map to the next map (if one exists) that depends on that grain. The operation starts searching with the grain that contains the highest LBAs and works in reverse towards the grain that contains LBA 0. Only those grains that other maps are dependent upon are copied.
When you create or modify a FlashCopy mapping, you can specify a cleaning rate for the FlashCopy mapping that is independent of the background copy rate. The cleaning rates that are shown in Table 1 control the rate at which the cleaning process operates. The cleaning process copies data from the target volume of a mapping to the target volumes of other mappings that depend on this data. The cleaning process must complete before the FlashCopy mapping can go to the stopped state.
Cleaning mode allows you to activate the cleaning process when the FlashCopy mapping is in the copying state. Your target volume is still accessible while the cleaning process is running. When operating in this mode, it is possible that host I/O operations can prevent the cleaning process from reaching 100% if the I/O operations continue to copy new data to the target volumes. However, it is possible to minimize the amount of data that requires cleaning while the mapping is stopping.
Cleaning mode is active if the background copy progress reaches 100% and the mapping is in the copying state, or if the background copy rate is set to 0.
User-specified cleaning rate attribute value | Data copied/sec | 256 KB grains/sec | 64 KB grains/sec |
---|---|---|---|
1 - 10 | 128 KB | 0.5 | 2 |
11 - 20 | 256 KB | 1 | 4 |
21 - 30 | 512 KB | 2 | 8 |
31 - 40 | 1 MB | 4 | 16 |
41 - 50 | 2 MB | 8 | 32 |
51 - 60 | 4 MB | 16 | 64 |
61 - 70 | 8 MB | 32 | 128 |
71 - 80 | 16 MB | 64 | 256 |
81 - 90 | 32 MB | 128 | 512 |
91 - 100 | 64 MB | 256 | 1024 |
101 - 110 | 128 MB | 512 | 2048 |
111 - 120 | 256 MB | 1024 | 4096 |
121 - 130 | 512 MB | 2048 | 8192 |
131 - 140 | 1 GB | 4096 | 16384 |
141 - 150 | 2 GB | 8192 | 32768 |