How do you measure network throughput and latency between two hosts?
BeginnerProductionPerformance & the USE Method
Answer
iperf3 -s # on server
iperf3 -c 10.0.1.20 -P 4 -t 30 # client, 4 parallel streams
iperf3 -c 10.0.1.20 -u -b 1G # UDP with loss/jitter
ping -c 20 10.0.1.20 # RTT
mtr -rwc 100 api.example.com # per-hop loss and latency
More on Performance & the USE Method
What is the USE method?BeginnerMap the USE method to concrete Linux commands.IntermediateWhat is your "first 60 seconds" checklist on a slow server?IntermediateHow do you read vmstat output?IntermediateHow do you read `iostat -xz 1`?IntermediateWhat is sar and why install sysstat on every server?Beginner