Interview Prep/Networking/Performance, MTU, Latency & Tools

How do you measure real network bandwidth between two servers?

IntermediateScenarioPerformance, MTU, Latency & Tools
Answer

Situation read → Use a synthetic test with controlled parameters.

What I'd do →

  1. Start a server: iperf3 -s
  2. Run the client: iperf3 -c 10.0.1.20 -P 4 -t 30 (4 parallel streams)
  3. Add -R for reverse direction and -u -b 500M for UDP
  4. Compare with the instance type's baseline and burst network limits
  5. Test across AZs and regions separately

Why → A single TCP stream is limited by window and RTT, parallel streams reveal the pipe capacity.

Interview tip → Say cloud instance types have bandwidth caps and burst credits.

All Networking questions Roadmap: Networking for DevOps

More on Performance, MTU, Latency & Tools