Site icon Techplayon

Iperf : A Tool for Network Testing

Iperf 

Iperf or IP performance is a utility for testing network performance and its tuning. It is a cross-platform (windows, linux) tool which can provide standardized measurement results for any network (Wireline or Wireless). Iperf works with client and server functionality, and can create data streams to measure the throughput between the two network node in one or both directions. The Iperf output provides a time-stamped report of the amount of data transferred and the throughput measured.

The data streams can be either Transmission Control Protocol (TCP) or User Datagram Protocol (UDP):

Iperf Tool Characteristics 

Why we need Iperf Tool?

The peak throughputs supported by network is in order of 100s of Mbps to several Gbps e.g. 5G NR can support speed upto 20 Gbps in Downlink. The applications like video streaming or anything similar can not consume 20Gbps data pipe so we need a tool which can simulate some dummy data to fill the complete data pipe or bandwidth. The iperf application can simulate that dummy data form kbps to Gbps with a simple command.

Server Client Concept for Testing Iperf

Following figure shows, server and client for downloads and uploads.

Testing UDP Throughput:

UDP is a transport layer protocol and does not requires any acknowledge of transmitting datagrams from receiving node. Tester needs to run two commands one at server node and other on client node and definition of server and client change as per above diagram based on Downlink and Uplink data transfer. Following is commands sequence.

Step:1 run following Command at receiving end (Server side)

Step:2 run following Command at sending end (Client side)

Testing TCP Throughput:

TCP is a transport layer protocol and does requires any acknowledge of transmitting datagrams from receiving node. Most applications like file transfer, video download uses TCP protocols and using Iperf TCP data transfer we can simulate similar data profiles. For TCP test also, tester needs to run two commands one at server node and other on client node. Following is commands sequence.

Step:1 run following Command at receiving end (Server side)

Step:2 run following Command at sending end (Client side)

References

Related Post



Exit mobile version