Interview Prep/Networking/Performance, Cost & Scale

How do you diagnose bandwidth throttling on AWS instances?

AdvancedProductionPerformance, Cost & Scale
Answer

Look at ethtool -S eth0 counters: bw_in_allowance_exceeded, bw_out_allowance_exceeded, pps_allowance_exceeded, conntrack_allowance_exceeded, linklocal_allowance_exceeded (DNS and metadata). Rising counters mean the instance's allowances are exceeded and packets are queued or dropped.

Fix with larger instance sizes, fewer small packets (batching), conntrack reuse, or spreading across more instances. Export via the ENA CloudWatch agent plugin.

All Networking questions Roadmap: Networking for DevOps

More on Performance, Cost & Scale