Posted on

Demonstration of using iperf to measure performance of a network between a client and server. Shows how to run iperf on the command line in Ubuntu Linux to perform both TCP and UDP performance tests. Command used: iperf. Created by Steven Gordon on 27 January 2012 at Sirindhorn International Institute of Technology, Thammasat University, Thailand.


16 Replies to “Using iperf to Measure Application Throughput in the Internet”

  1. Can i measure throughput with it on a laptop with 4g modem? Also can i measure both upload and download speed?

  2. hi, Sir how are you, kindly i had follow all your lectures, its really great. i have question please, is it bandwidth efficiency, which is throughtput over data rate, is same bandwidth utilization in "%". hope i get replay please. thanks.

  3. This video is great. However, network configuration needs to be shown so the audience has a complete picture of what's being tested. I have a question here since I'm running iPerf to generate traffic between two nodes. Each of which is assigned an IP address in two different networks. The two nodes are connected via firewall. Whenever I ping or traceroute one of the destinations, the ping and traceroute work well, but when I generate the traffic using port 80, which is enabled by the firewall, client and server do not connect. Do you have any idea of how to solve this issue?

  4. You said "bandwith or throughput?", so it's mean bandwith is same with throughput in iperf? If not, which one is actually show us the throughput?

  5. iperf is not really for testing performance of specific applications (web, email), but for general data transfer. Maybe you could try a command line web page downloader (e.g. wget or curl). They usually give stats about response time and average download speed.

  6. Hi Steve, is there a way for iperf to check the bandwidth for a web file transfer instead of generating its own packets. Also what other tools do you suggest to do this. Thanks.

  7. NOT the access point IP. The server is run on saturn (right hand side). That computer has IP The client is run on potato (left). Its IP is So when I run the iperf client on potato I specify the IP address of the server computer, i.e. iperf -c

  8. With iperf you can use the -o option to outpt the report to a file, the -y option to output to CSV (which can be loaded directly into Excel), and the -x option to specify what to include in the output. I haven't tried them but they are described in the man(ual) pages. You may also check if jperf, a Java interface to iperf, has the output you desire.

  9. very usefull information…
    how can i convert those info from iperf directly to excel?
    do i hve to manually input or any easy program to do it?


Leave a Reply

Your email address will not be published. Required fields are marked *