You can create, modify, and remove throttles for pools by using the management GUI or the
command-line interface.
Throttling is a mechanism to control the amount of
resources that are used when the system is processing I/Os on a specific pool. If a throttle is
defined, the system either processes the I/O, or delays the processing of the I/O to free resources
for more critical I/O.
Using the management GUI
To create a new throttle for a specific pool, complete these steps:
- In the management GUI, select .
- Right-click a pool and select Edit Throttle....
- On the Edit Throttle page, enter values for the following throttles:
- Bandwidth Limit
- Enter the maximum amount of bandwidth the pool can process before the system delays I/O
processing for this pool. Click Create.
- IOPS Limit
- Enter the maximum I/O operations per second the pool can process before the system delays I/O
processing for this pool. Click Create.
To edit an existing throttle for a specific pool, complete these steps:
- In the management GUI, select .
- Right-click a pool and select Edit Throttle....
- On the Edit Throttle page, enter values for the following throttles:
- Bandwidth Limit
- Enter the maximum amount of bandwidth the pool can process before the system delays I/O
processing for this pool. Click Save.
- IOPS Limit
- Enter the maximum I/O operations per second the pool can process before the system delays I/O
processing for this pool. Click Save.
To remove throttles for a specific pool, complete these steps:
- In the management GUI, select .
- Right-click a pool or multiple pools and select Edit Throttle....
- On the Edit Throttle page, click Remove by the
throttle that you want to delete.
Using the command-line interface
To create a new throttle for bandwidth and IOPS for a pool
with the command-line interface, enter the following
command:
mkthrottle -type pool -bandwidth bandwidth_limit_in_mb -iops iops_limit -vdisk vdisk_id_or_vdisk_name
Where
bandwidth_limit_in_mb is the maximum amount of bandwidth that the system can
process for the specified volume before the system delays I/O processing for that volume. The
iops_limit is the maximum I/O operations per second that the system can process
before the system delays I/O processing for this volume. The
vdisk_id_or_vdisk_name is the ID or name of the volume that the throttle applies
to.
To change an existing throttle for the volume, enter the
following
command:
chthrottle -type pool -bandwidth bandwidth_limit_in_mb -iops iops_limit throttle_name_or_id
Where
bandwidth_limit_in_mb is the maximum amount of bandwidth that the system can
process for the specified host before the system delays I/O processing for that volume. The
iops_limit is the maximum I/O operations per second that the system can process
before the system delays I/O processing for this volume. The
throttle_id_or_name
is the ID or name of the throttle that is being changed.
To remove a throttle for pool with the command-line interface,
enter the following command:
rmthrottle throttle_name_or_id
Where
throttle_name_or_id is the ID or name of the throttle that is being removed.