This article was automatically translated from the original Turkish version.
iPerf is a network performance test used to measure the data transfer capacity between two endpoints over a computer network. iPerf is an open-source software that operates on a client-server architecture. This test measures the real-time bandwidth data transfer rate latency packet loss and connection stability.
The iPerf tool typically operates over TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) and provides users with the ability to define various parameters for evaluating network performance.
The iPerf3 version is a modern rewritten version of the software and is not backward compatible with the previous version iPerf2. This version supports unidirectional and bidirectional tests IPv4 and IPv6 support multiple parallel stream measurements QoS class markers and export of results in JSON format.
iPerf operates at the 4th layer of the OSI model (Transport Layer) testing delay and data transmission at the protocol level. Unlike ICMP-based tools such as ping or traceroute it performs measurements over actual TCP sessions or UDP streams.
The iPerf test is conducted between two endpoint devices:
The client sends data to the server for a specified duration and at the end of this period the system calculates metrics such as transfer rate total data volume and packet statistics. This structure enables performance testing across the entire connection path between two endpoints not just a single network segment.
When an iPerf test is initiated the client-side parameters are defined such as duration port number protocol type and number of parallel connections. On the server side the program is run in listening mode (iperf3 -s). Upon completion the client reports metrics including average bandwidth throughput jitter packet loss rate RTT Round Trip Time and transfer times.
iPerf tests execute by writing data flows to a buffer and sending packets at specified MTU Maximum Transmission Unit sizes. In TCP tests flow control window size and retransmission mechanisms are active while in UDP tests since packet order is not preserved the measurement directly represents the raw capacity of the network.
iPerf is used by network administrators system engineers and data center operators in various scenarios:
These tests are commonly applied in LAN (Local Area Network) WAN (Wide Area Network) VPN wireless connections (Wi-Fi WLAN) and high-speed data centers (10G/40G/100G Ethernet) environments.
iPerf is executed from the command line and can be customized with numerous parameters. Some commonly used options in iPerf3 include:
iPerf also displays RTT Round Trip Time calculations TCP window sizes (-w parameter) and buffer optimizations during the test.
iPerf tests measure performance based on different protocols:
The primary measurement values obtained are:
In a typical iPerf3 test the following command is executed on the server side:
On the client side the test command is executed as follows:
This command initiates a TCP test to the server at 192.168.1.10 using four parallel streams for 30 seconds.
Upon completion the output includes the following information:
When analyzing these values it is important to consider that system CPU usage network interface card drivers IRQ distribution and MTU size directly affect test results. Especially at speeds above 10 Gbps single-core bottlenecks or NIC driver limitations can reduce measurements.
iPerf test results reveal the efficiency of the network infrastructure bottleneck points and hardware limitations.
iPerf outputs can be saved in JSON format and integrated into automation systems network monitoring software such as Grafana Zabbix PRTG or NetAlly Link-Live and CI/CD network test pipelines.
In large-scale networks tests are scheduled using cron PowerShell or Ansible and statistical averages are calculated for capacity planning.
iPerf measurements depend not only on the network but also on the hardware limitations of the systems being tested.
Therefore iPerf tests are typically conducted in isolated network segments or test VLANs.
iPerf is a tool that objectively evaluates network connection performance by conducting protocol-level measurements. Its client-server architecture support for TCP/UDP and bidirectional and parallel test modes provide network administrators with comprehensive analysis capabilities. iPerf is a fundamental measurement method used in numerous scenarios from bandwidth validation to QoS analysis for network infrastructure capacity planning and fault detection.
Working Principle
Use Cases
Basic Commands and Parameters
Test Types and Measurement Criteria
Example Test Scenario
Interpreting Results and Optimization
Hardware and Security Factors