Queries about Measurement Issues with iPerf3 in UDP Tests #1723
Replies: 4 comments
-
@Antonio-sudo-hash, can you explain what are the issues you encountered, what are the confusions, what seems to be inconsistent, etc? |
Beta Was this translation helpful? Give feedback.
-
When I perform UDP measurements, using iPerf3, I get confusing results in the sense that I get too high packet losses (when I use -b 0). Also, I get very uneven results when I run for example: |
Beta Was this translation helpful? Give feedback.
-
Likewise, with regard to the TCP protocol. Why do I get better performance, in terms of throughput, when I execute the command on a server located at a greater distance than on a closer server? Is it due to the network infrastructure where each server is installed? |
Beta Was this translation helpful? Give feedback.
-
UDP is connectionless while TCP is connection-oriented (search "TCP vs UDP" on the internet to learn more about that). That is, TCP includes a mechanism to ensure that all packets arrived to the receiver. In general the sender is sending a limited number of packets and then wait for an ack from the receiver about receiving packets before sending some more packets, and so on. On the other hand, there is no such mechanism for UDP, so in principle, the sending rate is limited only by the sender's machine resources (CPU, etc.), regardless of the actual network throughput. Therefore, with
Probably this is the case, but it is hard to tell without knowing the structure of the network. That is, for each path between the client and a server, what network elements (routers, switches, etc.) are used, the performance of each network element, the throughput of the links between the network elements, the network traffic load, etc. |
Beta Was this translation helpful? Give feedback.
-
I am currently conducting network performance tests using iPerf3 in an academic/research lab setting.
I am reaching out because I have encountered some issues with UDP measurements that I find confusing and difficult to interpret. My tests have shown results that seem inconsistent, and I would like to better understand if these problems could be inherent to the tool or if there are adjustments I could make to obtain more accurate measurements.
Beta Was this translation helpful? Give feedback.
All reactions