Use adaptive QoS policy groups
You can use an adaptive QoS policy group to automatically scale a throughput ceiling or floor to volume size, maintaining the ratio of IOPS to TBs|GBs as the size of the volume changes. That is a significant advantage when you are managing hundreds or thousands of workloads in a large deployment.
You must be running ONTAP 9.3. Adaptive QoS policy groups are available starting with ONTAP 9.3.
You must be a cluster administrator to create a policy group.
A storage object can be a member of an adaptive policy group or a non-adaptive policy group, but not both. The SVM of the storage object and the policy must be the same. The storage object must be online.
Adaptive QoS policy groups are always non-shared: the defined throughput ceiling or floor applies to each member workload individually.
The ratio of throughput limits to storage object size is determined by the interaction of the following fields:
expected-iopsis the minimum expected IOPS per allocated TB|GB.
expected-iopsis guaranteed on AFF platforms only.
expected-iopsis guaranteed for FabricPool only if the tiering policy is set to "none" and no blocks are in the cloud.
expected-iopsis guaranteed for volumes that are not in a SnapMirror Synchronous relationship.
peak-iopsis the maximum possible IOPS per allocated or used TB|GB.
expected-iops-allocationspecifies whether allocated space (the default) or used space is used for expected-iops.
expected-iops-allocationis available in ONTAP 9.5 and later. It is not supported in ONTAP 9.4 and earlier.
peak-iops-allocationspecifies whether allocated space or used space (the default) is used for
absolute-min-iopsis the absolute minimum number of IOPS. You can use this field with very small storage objects. It overrides both
absolute-min-iopsis greater than the calculated
For example, if you set
expected-iopsto 1,000 IOPS/TB, and the volume size is less than 1 GB, the calculated
expected-iopswill be a fractional IOP. The calculated
peak-iopswill be an even smaller fraction. You can avoid this by setting
absolute-min-iopsto a realistic value.
block-sizespecifies the application I/O block size. The default is 32K. Valid values are 8K, 16K, 32K, 64K, ANY. ANY means that the block size is not enforced.
Three default adaptive QoS policy groups are available, as shown in the following table. You can apply these policy groups directly to a volume.
|Default policy group||Expected IOPS/TB||Peak IOPS/TB||Absolute Min IOPS|
Create an adaptive QoS policy group:
qos adaptive-policy-group create -policy group policy_group -vserver SVM -expected-iops number_of_iops/TB|GB -peak-iops number_of_iops/TB|GB -expected-iops-allocation-space|used-space -peak-iops-allocation allocated-space|used-space -absolute-min-iops number_of_iops -block-size 8K|16K|32K|64K|ANY
For complete command syntax, see the man page.
-block-sizeis available in ONTAP 9.5 and later. These options are not supported in ONTAP 9.4 and earlier.
The following command creates adaptive QoS policy group
-expected-iopsset to 300 IOPS/TB,
-peak-iopsset to 1,000 IOPS/TB,
-absolute-min-iopsset to 50 IOPS:
cluster1::> qos adaptive-policy-group create -policy group adpg-app1 -vserver vs2 -expected-iops 300iops/tb -peak-iops 1000iops/TB -peak-iops-allocation used-space -absolute-min-iops 50iops
Apply an adaptive QoS policy group to a volume:
volume create -vserver SVM -volume volume -aggregate aggregate -size number_of TB|GB -qos-adaptive-policy-group policy_group
For complete command syntax, see the man pages.
The following command applies adaptive QoS policy group
cluster1::> volume create -vserver vs1 -volume app1 -aggregate aggr1 -size 2TB -qos-adaptive-policy-group adpg-app1
The following commands apply the default adaptive QoS policy group
extremeto the new volume
app4and to the existing volume
app5. The throughput ceiling defined for the policy group applies to volumes
cluster1::> volume create -vserver vs4 -volume app4 -aggregate aggr4 -size 2TB -qos-adaptive-policy-group extreme
cluster1::> volume modify -vserver vs5 -volume app5 -qos-adaptive-policy-group extreme