Created
April 20, 2016 07:32
-
-
Save mmgaggle/c651f53dfa49922d598e15b541a3fb6f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Extend Cinder Volume Type QoS Functionality | |
=========================================== | |
AWS EBS provides a deterministic number of IOPS based on the capacity of the | |
provisioned volume with Provisioned IOPS. Similarly, the newly announced | |
throughput optimized volumes provide deterministic throughput based on the | |
capacity of the provisioned volume. Cinder should, in addition to current per | |
volume maximums, be able to set lower qos limits based on the provisioned | |
capacity. | |
Provisioned IOPS | |
================ | |
For each volume type, add a new tag: iops_per_gb | |
if iops_per_gb * volume_size_in_gb <= 20000 | |
total_iops_sec = 20000 | |
else | |
total_iops_sec = iops_per_gb * volume_size_in_gb | |
Throughput Optimized | |
==================== | |
For each volume type, add a new tag: bw_per_gb | |
if bw_per_gb * volume_size_in_gb <= 500 | |
total_iops_sec = 500 | |
total_bytes_sec = 500 * 1024 * 1024 | |
else | |
total_iops_sec = bw_per_gb * volume_size_in_gb | |
total_bytes_sec = bw_per_gb * volume_size_in_gb * 1024 * 1024 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment