new partner?

partners[@]IT-PlayGround.net

created for you

read, share

E-mail us:

hello[@]IT-PlayGround.net

Why join the elite?


1. Great team members – friendly, open minded for new challenges.
2. Knowledge and experience sharing at an excellent level by all.
3. Social events organized with the great team members in Blagoevgrad and or Sofia.
4. Discount codes provided by the partners.
5. LinkedIn recommendations after some time
6. More to come. Stay tuned. ;)

contact us: hello[@]IT-PlayGround.Net

By accepting you will be accessing a service provided by a third-party external to https://it-playground.net/

iPerf usage for network performance bottleneck troubleshooting

 I had the opportunity to participate within a freelance project where I had to prove that the bottleneck is not related to the built web application performance but the network itself. Then I found useful the iperf command line tool. Today, the blog post is about it.

iperf is one of the best-known tools for analyzing network performance related bottleneck issues.

The app is a command line tool which can be used in two modes – server and client. The great thing about the application is it is widely supported for different operating systems (Linux, MacOS and Windows). There exists a Java-based GUI called jperf which is suitable because all of iperf's functionality is present inside and in that way all people that do not want to utilize the command line switches can utilize its powers.

Based on the scenario described, I tested the throughput by running iperf between server mode (the application server itself) and the client machine. In order to simulate what happens it is also needful to know in advance what ports are utilized, what network devices might be included as well as what protocols are used for the web app.

iperf server mode

List of the command line switches

List switches for iperf3 version

After that running iperf from the client side using the commands below:

  • -c 192.168.1.5 - Run in client mode and connect to the server on the address: 192.168.1.5.
  • -p 8042 - connect to port 8042 (defaults to TCP).
  • -t 15 – timing: run the test for 15 seconds.
  • -i 1 – output the statistics to the console every second.
  • -f m - displays speeds in Mbps.
iperf client output

Based on the pink marked output the lowest noticed throughput within a one-second interval was 927 Mbps, with an average rate of 939 Mbps.

These numbers represent the maximum practical throughput for a 1 Gbps Ethernet connection and also show clearly that the problem is not on the network side.

With the above example, I tested the speed by using the TCP. Below the options to test via UDP. In order to accomplish this, I had to utilize the –b switch. The output shows a UDP test rate-limited to 10 Mbps. Within those statistics at the end include jitter and the packet loss.

iperf udp output

Just a screenshot how the GUI application looks like:  

jperf GUI app preview
As most sysadmins, DevOps etc. know utilizing the command liners instead of the GUI software is great to optimize some workflows, automate tasks and be more flexible.


Cool links with additional information:

https://netbeez.net/blog/how-to-use-jperf/
https://iperf.fr/iperf-doc.php - The ultimate speed test tool for TCP, UDP and SCTP 

FirewallD in CentOS 7
Securing PowerShell app with Obsidium

Sign up for our newsletter to get the latest news

About the project

IT-PlayGround.NET logo

a Personal IT PlayGround project developed over the years.

Powered by:  www.sslavkov.eu

Social media: