Enabling Performance-Based Autotuning for an Existing Boot Volume
Learn how to enable performance-based autotuning to automatically adjust an existing boot volume's performance between levels you specify.
- Open the navigation menu and select Storage. Under Block Storage, select Block Volumes. In the Block Storage menu on the sidebar, select Boot Volumes.
-
Select the block volume that you want to enable performance based autotuning for.
- Select Edit.
- In the Volume Size and Performance section, select the Performanced Based Auto-tune slider so that it changes from Off to On.
- Specify a value for Default VPUs/GB. This is the minimum performance setting the volume will be adjusted to. The value must be a multiple of 10. The minimum value is 10 and the maximum value is 110. You can also use the VPUs/GB slider to specify the value.
- Specify a value for Maximum VPUs/GB. This is the maximum performance setting the volume will be adjusted to. The value must be a multiple of 10, and must be at least 10 VPUs/GB higher than Default VPUs/GB. The maximum value is 120 VPUs/GB. You can also use the VPUs/GB slider to specify the value.
-
Select Save changes.
Use the
oci bv boot-volume update
command and specify the--volume-id
,--compartment-id
and--autotune-policies
parameters to enable performance-based autotuning for an existing volume:oci bv boot-volume update --volume-id <volume_ID> --compartment-id <compartment_ID> --autotune-policies <auto-tune_policies_JSON>'
For example:
oci bv boot-volume update --volume-id ocid1.volume.oc1.phx.<unique_ID> --compartment-id ocid1.compartment.oc1.phx.<unique_ID> --autotune-policies '[{"autotune-type": "PERFORMANCE_BASED", "maxVpusPerGB": 50}]''
Run the
UpdateBootVolume
operation and specify theautotunePolicies
attribute in theUpdateBootVolumeDetails
resource to enable performance-based autotuning.