Hello,
I'm using iperf version 2.2.0 and want to measure the one-way latency of UDP packets.
The time between the two hosts is synchronized.
When I use the -e option on the server side, I see latency metrics. Are these RTT (Round-Trip Time) values?
Also, when I use the --trip-times option on the client side, I get latency metrics as well.
How can I get accurate one-way latency measurements?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I noticed that the bin width is shown as 100 μs, but according to the manual, the default bin width is supposed to be 1 ms. Which one is correct?
Also, why is the PPS value shown as -0?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Server listening on UDP port 5001 with pid 43577
Read buffer size: 1.44 KByte (Dist bin width= 183 Byte)
Enabled receive histograms bin-width=0.100 ms, bins=10000 (clients should use --trip-times)
UDP buffer size: 208 KByte (default)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm using iperf version 2.2.0 and want to measure the one-way latency of UDP packets.
The time between the two hosts is synchronized.
When I use the -e option on the server side, I see latency metrics. Are these RTT (Round-Trip Time) values?
Also, when I use the --trip-times option on the client side, I get latency metrics as well.
How can I get accurate one-way latency measurements?
Use --trip-times if the clocks are synchronized.
Also supported are full histograms
PS. I'd recommend 2.2.1.
Use --trip-times if the clocks are synchronized.
Also supported are full histograms
PS. I'd recommend 2.2.1.
Thanks for your reply.
When I run
iperf -s -u -e --histograms, andiperf -u --trip-times -ethe result shows:I noticed that the bin width is shown as
100 μs, but according to the manual, the default bin width is supposed to be1 ms. Which one is correct?Also, why is the PPS value shown as
-0?Oh, I can check this in the server header output.