| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Data throughput, data latency, and operations per second are three measures that you
can use to understand how your application storage using the AWS Storage Gateway is
performing. These three values can be measured using the AWS Storage Gateway metrics
that are provided for you when you use the correct aggregation statistic. A statistic is
an aggregation of a metric over a specified period of time. When you view the values of
a metric in Amazon CloudWatch, use the Average statistic for data latency
(milliseconds), use the Sum statistic for data throughput (bytes per
second), and use the Samples statistic for operations per second (IOPS).
For more information, see Statistics in the Amazon CloudWatch Developer
Guide.
The following table summarizes the metrics and corresponding statistic to use to measure the throughput, latency, and IOPS between your applications and gateways.
| Item of Interest | How to Measure |
|---|---|
| Throughput |
Use the |
| Latency | Use the ReadTime and WriteTime metrics with
the Average Amazon CloudWatch statistic. For example, the
Average of the ReadTime gives you the
latency per operation over the sample period of time. |
| IOPS | Use the ReadBytes and WriteBytes metrics
with the Samples Amazon CloudWatch statistic. For example,
the Samples of the ReadBytes over a sample
period of five minutes divided by by 300 seconds, gives you input/output
operations per second (IOPS). |
For the average latency graphs and average size graphs, the average is calculated over the total number of operations (read or write, whichever is applicable to the graph) that completed during the period.
The following tasks assume that you are starting in the Amazon CloudWatch console.
To measure the data throughput from an application to a storage volume
| 1 |
Select the StorageGateway: Volume Metrics dimension and find the storage volume that you want to work with. |
| 2 |
Select the |
| 3 |
Select a Time Range. |
| 4 |
Select the |
| 5 |
Select a Period of 5 minutes or greater. |
| 6 |
In the resulting time-ordered sets of data points (one for
|
The following example shows the ReadBytes and WriteBytes
metrics for a storage volume with the Sum statistic. In the example, the
cursor over a data point displays information about the data point including its value
and the number of bytes. Divide the bytes value by the Period (5
minutes) to get the data throughput at that sample point. For the point highlighted, the
read throughput is 2,384,199,680 bytes divided by 300 seconds, which is 7.6 MB/s.

To measure the data input/output operations per second from an application to a storage volume
| 1 |
Select the StorageGateway: Volume Metrics dimension and find the storage volume that you want to work with. |
| 2 |
Select the |
| 3 |
Select a Time Range. |
| 4 |
Select the |
| 5 |
Select a Period of 5 minutes or greater. |
| 6 |
In the resulting time-ordered sets of data points (one for
|
The following example shows the ReadBytes and WriteBytes
metrics for a storage volume with the Samples statistic. In the example,
the cursor over a data point displays information about the data point, including its
value and the number of samples. Divide the samples value by the
Period (5 minutes) to get the operations per second at that
sample point. For the point highlighted, the number of write operations is 24,373 bytes
divided by 300 seconds, which is 81 write operations per second.
