]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Enhance the stats reported from the Pure Volume Drivers
authorPatrick East <patrick.east@purestorage.com>
Thu, 17 Dec 2015 23:28:16 +0000 (15:28 -0800)
committerPatrick East <patrick.east@purestorage.com>
Tue, 22 Dec 2015 21:20:43 +0000 (13:20 -0800)
commit2375384f6e0b9475f82c1eedceb6b3ffc25eae51
tree2a0d3a7218031a3242fbfb8313bca1a423a70777
parentbb1387ae0e86b58c34aef99a06f05d8183b9b419
Enhance the stats reported from the Pure Volume Drivers

This change provides some improvements for older scheduler hints and
stats along with a few new stats that can be used for filtering and
goodness functions. These new stats include:

Latency:
    usec_per_read_op  - Average arrival-to-completion time, measured in
                        microseconds, for a host read operation.
    usec_per_write_op - Average arrival-to-completion time, measured in
                        microseconds, for a host write operation.
    queue_depth       - Average number of queued I/O requests.

IOPS:
    reads_per_sec  - Number of read requests processed per second.
    writes_per_sec - Number of write requests processed per second.
                     Bandwidth
    input_per_sec  - Number of bytes read per second.
    output_per_sec - Number of bytes written per second.

Metadata:
    total_hosts     - Total number of Purity hosts created.
    total_snapshots - Total number of snapshots (includes pending
                      deletion).
    total_pgroups   - Total number of Protection Groups (includes
                      pending deletion).

Note: All of these stats are for the entire array and are not specific
to the Cinder volumes, snapshots, hosts, latency, etc.

As part of the new and improved stats the drivers will respect the
cinder.conf backend “reserved_percentage” option. Previously it was set
to 0.

Last but not least there is a new config option called
“pure_automatic_max_oversubscription_ratio”. This defaults to True, and
when enabled gives the older behavior of automatically calculating the
thin provisioning ratio which was allowed for the backend. If disabled
the driver will now respect the “max_over_subscription_ratio” config
option.

DocImpact
Change-Id: I733f4f90addc39f4c1b720ce63100b15b0523b3e
Implements: blueprint pure-enhanced-stats
cinder/tests/unit/test_pure.py
cinder/volume/drivers/pure.py
releasenotes/notes/pure-enhanced-stats-42a684fe4546d1b1.yaml [new file with mode: 0644]