使用AWS re:Post即您表示您同意 AWS re:Post 使用条款

Network traffic limits on EC2 instances

0

I am running a network-intensive task that sends several thousand pings/traceroute packets per second to external IP addresses. I've noticed that the network throughput is high soon after creating the instance, but drops off exponentially after the ping process has been running for more than an hour or so. I've tried this on a variety of instance sizes. Even on a c6.2xlarge (whose stated baseline network bandwidth is 2.5 Gbps), it drops down to around 200 packets a minute. Any ideas why this might be happening? Is there any way I can reserve more bandwidth for my instance?

1 回答
1
An instance receives the maximum number of network I/O credits at launch. If the instance exhausts its network I/O credits, it returns to its baseline bandwidth. A running instance earns network I/O credits whenever it uses less network bandwidth than its baseline bandwidth. A stopped instance does not earn network I/O credits. Instance burst is on a best effort basis, even when the instance has credits available, as burst bandwidth is a shared resource.

You can find more information at AWS official documentation .

Specific to c6g instance, you can find the baseline network performance here at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/compute-optimized-instances.html#compute-network-performance

If you would like to get much higher baseline performance, then look for the instance type that ends with letter "n". For example C5n, M5n, C6gn, etc

已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则