Skip to content

Using iperf3 to test jitter #1581

Answered by davidBar-On
fatman00 asked this question in Q&A
Discussion options

You must be logged in to vote

Is it important that the packets will be sent exactly every 2ms or 5ms? If not, then iperf3 tries to split the packets evenly over time, but the delay between the packets is not exactly the average delay. To send 100 bytes packets every 5 ms, i.e. 200 packets/sec, you can therefore try iperf3 -c <host> -l 100 -b 160000 (160,000 = 100(bytes) * 200 * 8(bits/byte)). Similarly, for 1Mbits/sec every 2ms, i.e. 500 packets/sec, try iperf3 -c <host> -l 262 -b 1M (262 is about "1M / 8 / 500").

If this will not work well enough for you, there is an iperf3 version that was not merged into the mainline that may help (assuming you can build iperf3 yourself): #1343. See the PR description for details.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fatman00
Comment options

Answer selected by fatman00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants