主流云平台上虚机的网络带宽限制

比方说,你有一块100Gbps的物理网卡,那么这个100Gbps的指标意味着这块网卡最多可以每秒100G bit/sec的速率传输数据,这个限制意味着进入和传出的数据加起来不能超过100G bit/sec。


在AWS平台上,其EC2的Instance(VM)的网络带宽的限制与上面描述的传统概念相一致,都是对进入和传出的数据的共同速率的限制。

Instance bandwidth specifications apply to both inbound and outbound traffic for the instance. For example, if an instance specifies up to 10 Gbps of bandwidth, that means it has up to 10 Gbps of bandwidth for inbound traffic, and up to 10 Gbps for outbound traffic. The network bandwidth that's available to an EC2 instance depends on several factors, as follows.

--https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html 


然而,在Azure平台上,对网络带宽的限制却是只限制传出的速率,而对传入的数据没有限制。这一点,可以注意一下。

The network bandwidth allocated to each virtual machine is metered on egress (outbound) traffic from the virtual machine.
Ingress isn't metered or limited directly.

--https://learn.microsoft.com/en-us/azure/virtual-network/virtual-machine-network-throughput 


因为这样的限制的不同,我们可以看到Azure平台上与AWS平台上功用和计算能力相近的VM(instance type),Azure平台上给出的网络带宽偏低,给人感觉好像Azure在网络带宽上给的不够多,其实并没有单纯从数字上看起来那么大,因为Azure只限制了outbound,没有限制inbound嘛。


举例,同为general purpose(通用型)的虚机(VM或Instance Type),两个平台的虚机对比如下:

平台AWS Azure
型号m5dn.24xlarge Standard_D96ds_v5
CPU数量9696
内存大小384 GiB384GiB
型号名解读通用型M系列,带有本地NVMe盘的,优化了网络和EBS的型号通用型,96核,带有本地盘的,支持premium存储的型号
网络带宽100 Gbps35 Gbps


参考资料

===================

https://learn.microsoft.com/en-us/azure/virtual-machines/ddv5-ddsv5-series

https://aws.amazon.com/ec2/instance-types/m5/

posted on   中道学友  阅读(101)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
历史上的今天:
2014-01-23 如何配置通过Fiber Channel连接主机与存储

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

技术追求准确,态度积极向上

点击右上角即可分享
微信分享提示