ONTAP Recipes: Did you know you can…?
Easily assign a volume to an Adaptive QoS Policy in ONTAP 9.3
Adaptive QoS is available using the following:
- ONTAP CLI (steps shown below)
- System Manager Application Provisioning
- ONTAP API
- ONTAP SDK
To assign a volume to an Adaptive QoS Policy, follow these steps in the ONTAP command line interface (CLI):
1. During volume create, assign an Adaptive QoS policy:
volume create -volume vol1 -size 1TB -aggregate data_aggr -qos-adaptive-policy-group extreme
2. For existing volumes, you can modify or assign an Adaptive QoS policy:
volume modify -volume vol1 -qos-adaptive-policy-group performance
3. There are 3 default Adaptive QoS policies in ONTAP along with the ability to create custom policies:
::> qos adaptive-policy-group show
Expected Peak
Name Vserver Wklds IOPS IOPS
---- ------- ----- -------- ----
extreme cluster 0 6144 IOPS/TB 12288 IOPS/TB
performance cluster 0 2048 IOPS/TB 4096 IOPS/TB
value cluster 0 128 IOPS/TB 512 IOPS/TB
When a volume is assigned to an Adaptive QoS policy, the IOPS allocated to the volume is set based on the volume size and the amount of space used in the volume.
For a 1TB volume assigned to the “performance” policy, the floor and ceiling start at 2048 IOPS. As more space is used in the volume the ceiling increases automatically to a maximum of 4096 IOPS.
For a small volume, a fixed “absolute minimum” number of IOPS will be allocated. For example, with a 20GB volume assigned to the “performance” policy, the floor and ceiling will be set to 500IOPS.
The fixed IOPS allocation is as follows for the 3 default Adaptive QoS policies.
- Extreme –1000 IOPS
- Performance – 500 IOPS
- Value – 75 IOPS
Note: Adaptive QoS is applicable to both AFF & FAS platforms. However, QoS min is not enforced on Non-AFF platforms.
For more information, see the ONTAP 9 documentation center