iPerf – A Free Tool to Test Network Speed

Iperf is an easy-to-use free command line tool that allows us to measure our network bandwidth by generating artificial traffic. In some cases we use it even to check connectivity through Firewall. When Security department says that they opened required ports, sometimes IPERF proves that it’s not exactly true :). Such a tool can be useful if you want to test whether the network speed is fast enough for a certain application or not. You can also use it to troubleshoot network related problems.

Iperf is quite a sophisticated tool with many options. Some of them are for network professionals who want to fine tune network devices. However, if you just want to measure the network bandwidth, you don’t have to be a network expert to use Iperf.

First, you have to run Iperf on your server in server mode:

Iperf will respond like this:

Then you launch Iperf on your client:
My test server had the IP address You could also use the server name. The t option is for configuring the time interval that Iperf will probe the network performance between client and server. In this example I had to wait for 30 seconds until Iperf measured the network speed. Take note that during this time Iperf will send large amounts of data thru your network. So it is not a good idea to use this tool if your system or network is already quite busy. This was the output of Iperf in my example:

In 30 seconds, 680 MB were transferred which corresponds to a network speed of 190 Mbits/sec. If you ever wondered how fast a virtual network under VMware Workstation is, then you know now. Both, my client and my server were virtual machines. Of course, I just measured the CPU power of my host system.

Iperf is certainly a nice tool. It has many options allowing you to hunt down all kinds of network-related performance problems. However, I usually prefer tools with a graphical user interface, especially if I use them only once in a while. After not working with the tool for some time, I forgot its parameters and so I have to start reviewing its documentation again. If you know a free GUI tool with similar capabilities like Iperf, please let me know.

Written by Misha Hanin

Trusted Business & Technology Advisor, Solutions Managing Director & Senior Solutions Architect at iRangers International Inc. with more than 25 years of experience in the field of information technology, infrastructure analysis and design, implementing innovative and leading technologies for International companies around the globe in public and private sectors.

Over the years I was able to develop very strong technical and engineering skills which helped me to earn trusted advisor status with our clients. As one of the nearly 500 trained Microsoft Certified Masters (MCM) in The World (during 10 years existence of MCM program, just about 500 people in The World participated in this very intensive training), I have a winning track record in building and bringing projects to operational and measurable success.

I am honored to have been awarded Microsoft Most Valuable Professional (MVP). This award is given to "exceptional, independent community leaders who share their passion, technical expertise, and real-world knowledge of Microsoft products with others."