Iperf is a network traffic tool employed for assessing the performance of both TCP and UDP protocols, focusing on metrics related to throughput and latency. It facilitates the generation of data streams for measuring data transfer rates between two endpoints in either one or both directions.
Data streams within Iperf can utilize either the User Datagram Protocol (UDP) or the Transmission Control Protocol (TCP):
UDP: When used to evaluate UDP capacity, Iperf allows users to specify the size of datagrams and delivers results regarding datagram throughput as well as packet loss.
TCP: In the context of testing TCP capacity, Iperf assesses the throughput of the data payload. It follows the convention of using 1024 x 1024 for mebibytes and 1000 x 1000 for megabytes.
This image for AWS Cloud Environments includes Iperf3, which represents a ground-up reimplementation of the tool. The objective is to achieve a more concise and simplified code base, along with a library version of the functionality that can be integrated into other software programs.
Furthermore, this Iperf3 Image incorporates several features reminiscent of other tools such as nuttcp and netperf. For instance, it includes a zero-copy mode and offers the option of generating output in JSON format.