HP 3PAR StoreServ 7400 2-node HP 3PAR Command Line Interface Administrator& - Page 178

Compacting Logical Disks, HP 3PAR StoreServ Storage Concepts Guide, HP 3PAR StoreServ

Page 178 highlights

If the performance of one or more physical disks degrades, the throughput of the LDs is reduced and the entire system performance may decline. There are two general reasons why a physical disk may have degraded performance: • The physical disk has reached its maximum throughput due to an unbalanced load. A disk in this state typically has unusually high average service times when compared to other disks. • The physical disk is a bad disk. A bad disk typically has unusually high maximum service times when compared to other disks. The tunepd command allows you to: • Perform physical disk performance tuning on an entire system or on a specified subset of disks. • Set performance thresholds for physical disk tuning. • Identify and relocate under-performing chunklets. In the following example, physical disks with average service times exceeding 50 milliseconds are identified and their chunklets are automatically relocated to rebalance the load on the physical disks. To tune physical disks, issue the tunepd -vvlayout -chstat -movech auto avgsvct 50 command, where: • specifies that the layout of the virtual volume is displayed. • specifies that chunklet statistics are displayed. • specifies that if any disks with unbalanced loads are detected, the chunklets are moved from those disks for load balancing • specifies that the system automatically chooses source and destination chunklets. • specifies the average service time threshold in milliseconds. For more information about viewing system performance statistics, see "Viewing Statistics and Histograms" (page 121). For more information about how the system manages space usage, see the HP 3PAR StoreServ Storage Concepts Guide. NOTE: Running the tunepd command does not eliminate the need to run the tunesys command. The tunesys command performs space based balancing. The tunepd command performs service time and I/O based balancing. Compacting Logical Disks Reclaim unused LD space with the compactcpg command. When multiple identical virtual volumes are created as a result of a single volume creation operation, the underlying LDs that support those volumes are shared by the volume group. If several of the members of that volume group are later deleted, the underlying LDs may become less efficient in the usage of space. One or more LDs shared by the volume group may have only a small portion of their regions mapped to existing virtual volumes. However, their unused regions are not available to the system for use in creating new LDs. Compacting the LD regions mapped to these volumes may recover and free LD space. For more information about how the system manages space usage, see the HP 3PAR StoreServ Storage Concepts Guide. You can compact LDs for a group of volumes that share LDs with the compactld command. Existing regions on the fragmented LDs are migrated to new, fully use LDs and the older ones are deleted so that unused space can be returned to the system's free chunklet pool. To reclaim unused LD space from the group of virtual volumes, issue thecompactld or compactld -pat command, where: • is the name of the LD you wish to compact. • displays all LDs that match the pattern. 178 Performance Tuning

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

If the performance of one or more physical disks degrades, the throughput of the LDs is reduced
and the entire system performance may decline. There are two general reasons why a physical
disk may have degraded performance:
The physical disk has reached its maximum throughput due to an unbalanced load. A disk in
this state typically has unusually high average service times when compared to other disks.
The physical disk is a bad disk. A bad disk typically has unusually high maximum service
times when compared to other disks.
The
tunepd
command allows you to:
Perform physical disk performance tuning on an entire system or on a specified subset of disks.
Set performance thresholds for physical disk tuning.
Identify and relocate under-performing chunklets.
In the following example, physical disks with average service times exceeding 50 milliseconds are
identified and their chunklets are automatically relocated to rebalance the load on the physical
disks.
To tune physical disks, issue the
tunepd -vvlayout -chstat -movech auto avgsvct
50
command, where:
<vvlayout>
specifies that the layout of the virtual volume is displayed.
<chstat>
specifies that chunklet statistics are displayed.
<movech>
specifies that if any disks with unbalanced loads are detected, the chunklets are
moved from those disks for load balancing
<auto>
specifies that the system automatically chooses source and destination chunklets.
<avgsvct>
specifies the average service time threshold in milliseconds.
For more information about viewing system performance statistics, see
“Viewing Statistics and
Histograms” (page 121)
. For more information about how the system manages space usage, see
the
HP 3PAR StoreServ Storage Concepts Guide
.
NOTE:
Running the
tunepd
command does not eliminate the need to run the tunesys command.
The
tunesys
command performs space based balancing. The
tunepd
command performs service
time and I/O based balancing.
Compacting Logical Disks
Reclaim unused LD space with the
compactcpg
command. When multiple identical virtual volumes
are created as a result of a single volume creation operation, the underlying LDs that support those
volumes are shared by the volume group. If several of the members of that volume group are later
deleted, the underlying LDs may become less efficient in the usage of space. One or more LDs
shared by the volume group may have only a small portion of their regions mapped to existing
virtual volumes. However, their unused regions are not available to the system for use in creating
new LDs. Compacting the LD regions mapped to these volumes may recover and free LD space.
For more information about how the system manages space usage, see the
HP 3PAR StoreServ
Storage Concepts Guide
.
You can compact LDs for a group of volumes that share LDs with the
compactld
command.
Existing regions on the fragmented LDs are migrated to new, fully use LDs and the older ones are
deleted so that unused space can be returned to the system’s free chunklet pool.
To reclaim unused LD space from the group of virtual volumes, issue the
compactld <LD_name>
or
compactld -pat <pattern>
command, where:
<LD_name>
is the name of the LD you wish to compact.
<pattern>
displays all LDs that match the pattern.
178
Performance Tuning