AWS Storage Gateway
User Guide (API Version 2012-06-30)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

Measuring Performance Between Your Gateway and AWS

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 InterestHow to Measure
Throughput

Use the ReadBytes and WriteBytes metrics with the Sum Amazon CloudWatch statistic. For example, the Sum of the ReadBytes over a sample period of five minutes divided by by 300 seconds, gives you the throughput as bytes/second rate.

LatencyUse 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.
IOPSUse 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 AWSUse 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 AWSUse 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 CloudBytesUploaded metric.

3

Select a Time Range.

4

Select the Sum statistic.

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 ReadTime and WriteTime metrics.

3

Select a Time Range.

4

Select the Average statistic.

5

Select a Period of 5 minutes to match the default reporting time.

6

In the resulting time-ordered set of points (one for ReadTime and one for WriteTime), add data points at the same time sample to get to the total latency in milliseconds.


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 CloudDownloadLatency metric.

3

Select a Time Range.

4

Select the Average statistic.

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 CloudBytesUploaded metric.

4

Define the alarm by defining the alarm state when the CloudBytesUploaded metric is greater than or equal to a specified value for a specified time. For example, you can define an alarm state when the CloudBytesUploaded metric is greater than 10 MB for 60 minutes.

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 CloudDownloadLatency metric.

4

Define the alarm by defining the alarm state when the CloudDownloadLatency metric is greater than or equal to a specified value for a specified time. For example, you can define an alarm state when the CloudDownloadLatency is greater than 60,000 milliseconds for greater than 2 hours.

5

Configure the actions to take for the alarm state.

6

Create the alarm.