Why decreasing UDP traffic for a constant data rate?

0

I send UDP traffic from/to AWS to/from an external network device (outside AWS). The constant data rate that I configure to send by an application is 1 Mbps. At the starting time, it seems to be sending/receiving this constant data rate. However, suddenly it goes down to less than 1 Mbps (e.g. 600kbps). Why could this be happening?

asked 2 years ago165 views
2 Answers
0

I work with an EC2 instance which, particularly, is a t2.xlarge being up to 1 Gbps of network performance. Then I launch an application that generates UDP traffic with a rate of 1Mbps. Then I do not understand why the constant data rate of 1 Mbps reduces to 600kbps when the network performance is up to 1Gbps.

answered 2 years ago
  • Bear in mind that t2 instances are a previous-generation instance; perhaps t3 might be better. Also: t2 and t3 work on CPU credits; so if you consume your CPU credits the performance of the instance will be slower; and that may lead to the data rate going down because there isn't enough CPU resources to process your stream. Check CloudWatch Metrics to see what is happening with CPU credits. A m5 instance might be better in this case.

0

Is your application in an EC2 instance? Network performance has a baseline + burst bandwidth. You may be exceeding the baseline and eventually running out of burst capacity. This page provides a bit of transparency though it's a few years old now - https://cloudonaut.io/ec2-network-performance-cheat-sheet/

EXPERT
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions