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

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠