TCP Throughput tests between Amazon AWS regions

In a previous post I wrote about “Measuring Network Throughput”. Today I want to share a few quick performance test results that I assembled for the single TCP session throughput between the Amazon AWS Oregon and N. Virginia regions.

Amazon AWS

The test series uses one m1.medium instance in each region. The latency between the two instances gives us an RTT of 88 ms and therefore allows us to calculate the theoretical maximum throughput based on the bandwidth-delay product.

I’m again using iperf with varying TCP window sizes for this test.

Figure 1: Single TCP stream throughput between AWS regions
Figure 1: Single TCP stream throughput between AWS regions

Figure 1 shows the single TCP stream throughput between the two AWS regions. One can see that the throughput in both directions nicely ramps up with the increase of the TCP window size. Yet it stays behind the theoretical maximum, which is expected due to limitations of the OS (e.g. buffer sizes), the physical hardware running the OS and of course protocol overhead.

Looking at the traceroute between the two instances one can clearly see that Amazon uses its own links to connect the regions.

Side Note: The network team at Amazon AWS should brush up their skills on Reverse DNS lookups as almost none of the routing hops’ IP addresses resolves to DNS names. But the Autonomous System (AS) number of hops clearly shows that the IP addresses belong to Amazon.

“Broken” example, not Amazon AWS

Let’s have a look at another example, not Amazon AWS. This time the two workloads reside in data centers in Miami (Florida) and Las Vegas (Nevada). The RTT between the two workloads is 75 ms. In this case the sites are not connected via dedicated links, but instead both sites are connected to the internet via 100 MBits/sec uplinks. Thus the traffic between the sites traverses the Internet.

Figure 2: Broken single TCP stream throughput (Not Amazon AWS)
Figure 2: Broken single TCP stream throughput (Not Amazon AWS)

Here Figure 2 shows that in this example there is certainly something wrong with the connection. Throughput from Las Vegas to Miami remains extremely low at around 4-5 MBits/sec with any TCP window size. Yet, throughput from Miami to Las Vegas scales up with increasing TCP window size to acceptable values.

This shows the clear benefit of Amazons own dedicated links between its AWS regions.

Leave a comment