Iperf is anetwork bandwidth testing tool that is available for a variety of operatingsystems. It is available as C++source code and also in precompiled, executable versions for the following operating systems fromiPerf - Download iPerf3 and original iPerf pre-compiled binaries:
Download Magic iPerf including iPerf3 - Magic iPerf is tool that actively measures achievable data rate on IP networks. This tool is designed for experienced users of iPerf or iPerf3 and requires at least two devices for network performance measurement. Iperf: Iperf is an open source networking tool used to measure throughput or performance of a network. It can be used to test TCP and UDP. Iperf can be used in Windows, Linux, and MAC etc operation system. Intention of this article: There are different versions of Iperf, we will only focus on Iperf version 2.+ only.
What is iPerf / iPerf3? IPerf3 is a tool for active measurements of the maximum achievable bandwidth on IP networks. It supports tuning of various parameters related to timing, buffers and protocols (TCP, UDP, SCTP with IPv4 and IPv6). Iperf was developed by NLANR/DAST as a modern alternative for measuring maximum TCP and UDP bandwidth performance. Iperf allows the tuning of various parameters and UDP characteristics. Iperf reports bandwidth, delay jitter, and datagram loss. Iperf version 2 (in this repository) is no longer maintained by its original developers. IPerf2 is a bandwidth performance measurement app for iOS and Mac OS. The app can operate as a client and/or server. IPerf2 can be used for Mac OS-to-Mac OS testing, Mac OS-to-iOS testing or iOS.
- Windows
- Android
- iPhone / iPad
- Apple macOS
- Ubuntu / Debian / Mint
- Fedora / Red Hat / CentOS
- openSUSE
- Arch Linux
- FreeBSD
It can be used to determine available bandwidth usingboth Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) data streams.
Iperf Ios
To install an already compiled version of iPerf on a Mac OS X system, such as a MacBook Pro laptop, download theApple macOS Intel 64bits version. The latest version is a 3.x version. You will need matchingversions on both the client and server systems. E.g., a 2.x version on bothor a 3.x version on both. The software is available inZIP file format. If you double-click on the zip file in the Apple Finder application, a Unix Executable File will be extracted from the.zip file, e.g., iperf3
. You can move the file to theApplications/Utilities
directory or place it whereveryou like on the system.
To run the program, open a Terminal window -the Terminal application is found in the Applications/Utilities
directory. If you type /pathtofile/iperf3 -h
, wherepathtofile is the location where you placed the executable file,for the iperf3 version you will see the following 'help' information onthe usage of the program:
If you run iPerf version 3in server mode with the command iperf -s
, you will see the following:
Version 3 of the program listens on TCP port 5201 by default whereasversion 2.x versions listen on TCP port 5001 by default.
You will also see a window open with the following question(image):
Do you want the application 'iperf3' to
accept incoming network connections?
Putty For Mac Download Free
Clicking Deny may limit the application's behavior.
This setting can be changed in the Firewall pane of
Security & Privacy preferences.
You will need to click on Allow to allow external systems runningiPerf in client mode to connect to the system. You can terminate theprogram from the command line by hitting control-C
, i.e.,hit the control
and c
keys simultaneously.
You can check on whether iPerf is allowed to listen for incoming connections on an OS X system by the following steps:
- Click on the Apple icon at the top, left-hand corner of the screen andselect System Preferences.
- Click on Security & Privacy.
- Click on the Firewall tab. If the padlock icon is showing a closedlock, click on it to unlock it, which will require that you providecredentials for an account with administrator level access to the system.
- Then click on Firewall Options. You should see iPerf listed. If you see 'Block incoming connections' click on 'Block incoming connections'and choose 'Allow incoming connections' instead.
- Click on Ok
- You can then close the Security & Privacy window.
You can determine if iperf is allowed to accept incoming connections froma command line interface (CLI), e.g., a Terminal window - the Terminal program is found in the Applications/Utilities
directory - by using the socketfilterfw --listapps
command as shown below:
The above command shows the status of firewall rules for other applicationsas well; you can restrict the displayed output to just the rule for iperfwith the command shown below:
If the firewall software on the system is blocking incoming connectivity toiperf, you would see the following, instead.
To run iPerf in client mode to connect to an external iPerf system,use the command iperf -c remotehost
where remotehostis the IP address or fully qualified domain name (FQDN) for the remotesystem. E.g., the iPerf output included below is from a test to apublicly available iPerf server, bouygues.testdebit.info
.
Related articles:
- Using iperf on a Microsoft Windows system
Created: Tuesday June 28, 2016
Last modified: Tuesday June 28, 2016
MoonPoint Support - Installing iperf on CentOS
Created: Tuesday October 27, 2015
Last modified: Tuesday October 27, 2015MoonPoint Support
References:
Iperf 3.1.3
- Command Line Firewall Management In OS X 10.10
krypted.com