The following article on Google Cloud describes measuring latency, and uses ping
and netperf
.
https://cloud.google.com/blog/products/networking/using-netperf-and-ping-to-measure-network-latency
It explains discrepancy between measured latencies via ping
and netperf
by showing the difference in intervals between requests.
The following graph shows the measured latency vs the request interval:
Why does latency increase at higher intervals?
I would have expected latency to remain stable or decrease, assuming that load affects latency in the example.
Clarification The article explains the discrepancy between the tools, and when configuring to use the same intervals, produced the graph. I understand that any remaining difference is due to TCP vs ICMP. The question is regarding the increased latency at higher intervals - regardless of tool used.