Iperf is the well known tool to calculate throughput. When i tried udp throughput using iperf on my linuxpc, It reported that 10% of packet loss.

In UDP protocol, data gram did not receice any acknowledgements. But, in what way iperf is reporting or calculating packet loss ? How would iperf tool know whether transmitted datagram received or not. I wonder about this.


iperf itself is including sequence numbers into its datagrams, which are not standard in UDP. Where there is a gap, it assumes loss. See iperf_udp.c

There exist Wireshark dissectors that will extract the numbers from a packet capture. iperf udp sequence number wireshark

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.