EC2 实例类型的确切网络性能? [英] EC2 instance types's exact network performance?

查看:28
本文介绍了EC2 实例类型的确切网络性能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在 Amazon 上找到不同 EC2 实例类型的确切网络性能详细信息.相反,他们只是说:

I cannot find exact network performance details for different EC2 instance types on Amazon. Instead, they are only saying:

  • 中等

这到底是什么意思?我特别想知道每种实例类型的 Traffic-OUT 的确切数量.

What does this even mean? I especially want to know the exact amount of Traffic-OUT on each instance type.

我需要进行直播,我的流比特率为 240kbps.所以我需要知道哪种实例类型可以处理多少并发查看器.

I need to do live streaming and my stream bit rate will be 240kbps. So I need to know which instance type can handle how many concurrent viewers.

推荐答案

带宽按实例大小分层,这里有一个全面的答案:

对于 t2/m3/c3/c4/r3/i2/d2 实例:

Bandwidth is tiered by instance size, here's a comprehensive answer:

For t2/m3/c3/c4/r3/i2/d2 instances:

  • t2.nano = ???(根据缩放系数,我预计 20-30 MBit/s)
  • t2.micro = ~70 Mbit/s(qiita 说 63 MBit/s) - t1.micro 大约达到 ~100 Mbit/s
  • t2.small = ~125 MBit/s(t2,qiita 说 127 Mbit/s,cloudharmony 说 125 Mbit/s,峰值达到 200+ Mbit/s)
  • *.medium = t2.medium 获得 250-300 MBit/s,m3.medium ~400 MBit/s
  • *.large = ~450-600 MBit/s(最大的变化,见下文)
  • *.xlarge = 700-900 MBit/s
  • *.2xlarge = ~1 GBit/s +- 10%
  • *.4xlarge = ~2 GBit/s +- 10%
  • *.8xlarge 和标记的专业 = 10 Gbit,预计 ~8.5 GBit/s,需要增强网络 &VPC 实现全吞吐量

m1 小型、中型和大型实例的性能往往高于预期. c1.medium 是另一个怪胎,速度为 800 MBit/s.

m1 small, medium, and large instances tend to perform higher than expected. c1.medium is another freak, at 800 MBit/s.

我通过结合 数十个来源基准(主要使用 iPerf 和 TCP 连接).归功于 CloudHarmony &flux7 特别是对于许多基准测试(请注意,这两个链接指向 google 搜索,其中显示了许多单独的基准测试).

I gathered this by combing dozens of sources doing benchmarks (primarily using iPerf & TCP connections). Credit to CloudHarmony & flux7 in particular for many of the benchmarks (note that those two links go to google searches showing the numerous individual benchmarks).

大实例大小的变化最大:

The large instance size has the most variation reported:

  • m1.large 约为 800 Mbit/s (!!!)
  • t2.large = ~500 MBit/s
  • c3.large = ~500-570 Mbit/s(不同来源的不同结果)
  • c4.large = ~520 MBit/s(顺便说一下,我已经独立确认了这一点)
  • m3.large 的性能更好,约为 700 MBit/s
  • m4.large 约为 445 Mbit/s
  • r3.large 约为 390 Mbit/s

突发 (T2) 实例似乎也表现出突发网络性能:

  • CloudHarmony iperf 基准测试显示初始传输以 1 GBit/s 开始,然后在几分钟后逐渐下降到上述持续水平.以下报告的 PDF 链接:

  • The CloudHarmony iperf benchmarks show initial transfers start at 1 GBit/s and then gradually drop to the sustained levels above after a few minutes. PDF links to reports below:

t2.small (PDF)

请注意,这些都在同一区域内 - 如果您跨区域传输,实际性能可能会慢得多.即使对于较大的实例,我也看到数百 MBit/s 的数字.

Note that these are within the same region - if you're transferring across regions, real performance may be much slower. Even for the larger instances, I'm seeing numbers of a few hundred MBit/s.

这篇关于EC2 实例类型的确切网络性能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆