| « 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 provided for you when you use the correct aggregation statistic. The following table summarizes the metrics and corresponding statistic to use to measure the throughput, latency, and IOPS between your gateway and AWS.
| 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 the
input/output operations per second (IOPS). |
| Throughput to AWS | Use the CloudBytesDownloaded and
CloudBytesUploaded metrics with the Sum
Amazon CloudWatch statistic. For example, the Sum of the
CloudBytesDownloaded over a sample period of five
minutes divided by 300 seconds, gives you the throughput from AWS to the
gateway as bytes/per second. |
| Latency of data to AWS | Use the CloudDownloadLatency metric with the
Average statistic. For example, the
Average statistic of the
CloudDownloadLatency metric gives you the latency per
operation. |
The following tasks assume that you are starting in the Amazon CloudWatch console.
To measure the upload data throughput from a gateway to AWS
| 1 |
Select the StorageGateway: Gateway Metrics dimension and find the gateway 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 set of data points, divide each data point by the period (in seconds) to get the throughput at that sample period. |
The following example shows the CloudBytesUploaded metric for a gateway
volume with the Sum statistic. In the example, the cursor over a data point
displays information about the data point, including its value and bytes uploaded.
Divide this value by the Period (5 minutes) to get the throughput
at that sample point. For the point highlighted, the throughput from the gateway to AWS
is 555,544,576 bytes divided by 300 seconds, which is 1.7 MB/s.

To measure the latency per operation of a gateway
| 1 |
Select the StorageGateway: Gateway Metrics dimension and find the gateway that you want to work with. |
| 2 |
Select the |
| 3 |
Select a Time Range. |
| 4 |
Select the |
| 5 |
Select a Period of 5 minutes to match the default reporting time. |
| 6 |
In the resulting time-ordered set of points (one for
|
To measure the data latency from a gateway to AWS
| 1 |
Select the StorageGateway: GatewayMetrics dimension and find the gateway that you want to work with. |
| 2 |
Select the |
| 3 |
Select a Time Range. |
| 4 |
Select the |
| 5 |
Select a Period of 5 minutes to match the default reporting time. |
| 6 |
The resulting time-ordered set of data points contains the latency in milliseconds. |
To set an upper threshold alarm for a gateway's throughput to AWS
| 1 |
Start the Create Alarm Wizard. |
| 2 |
Select the StorageGateway: Gateway Metrics dimension and find the gateway that you want to work with. |
| 3 |
Select the |
| 4 |
Define the alarm by defining the alarm state when the
|
| 5 |
Configure the actions to take for the alarm state. |
| 6 |
Create the alarm. |
To set an upper threshold alarm for reading data from AWS
| 1 |
Start the Create Alarm Wizard. |
| 2 |
Select the StorageGateway: Gateway Metrics dimension and find the gateway that you want to work with. |
| 3 |
Select the |
| 4 |
Define the alarm by defining the alarm state when the
|
| 5 |
Configure the actions to take for the alarm state. |
| 6 |
Create the alarm. |