How to Perform Application Baselining or Profiling: Part 1

There isn’t a standard way of performing an application baselining or profiling. Here is a how-to video with suggestions on how to work through the process.

Tony Fortunato

March 21, 2019

Whenever I mention application baselining or profiling, I get quite a few emails asking, "How do you do that?" and "Is there a standard template you use?"Spoiler alert, unfortunately, there isn't a standard template or standard way of performing a baseline. So I thought it would be a good idea to create a series of articles to walk you through how I do it.

It starts with the setup. I need to know the behavior and performance of the equipment I’m using. I decided to use some standard computers and not traffic generators. The goal is to show you the methodology that you can use with whatever you happen to have at work, not purchase more equipment.I find that if a client learns how to do something, they are more likely to purchase a commercial product and understand how products in that space work.

I chose a desktop and laptop for my tests for the reasons mentioned earlier. The first thing I need to do is determine the performance of the computers in case I decide to use them for throughput testing as well as application testing.  Another reason for choosing a laptop is that in the real world I would use a laptop to test WiFi and remote networks back to a wired desktop.

I used iperf3 to get a measurement within the computers as well across my network. My goal is to ensure that the devices can generate over 1 Gbps internally before I introduce them to the network. It’s important to test upload (transmit) as well as download (receive). I’ve seen many cases where the download is much higher than uploads. It’s not I’m going to go into troubleshooting mode or anything, but just important to know moving forward.

From the video, you will see that the desktop got 5.96 Gbps upload and 9.93 Gbps download. The key here is to take multiple measurements. Before starting any tests, I try to disable any applications or processes that I've seen affect throughput. In this scenario, I disabled the firewall and real-time antivirus scanning. I am not sure if these processes will affect anything, but I thought I would play it safe.I also checked the task manager to ensure that the CPU wasn't taxed and memory usage was reasonable. In the video, you will see that the CPU was 7 percent and memory usage is 28 percent. When checking system resources don’t take a snapshot, watch it over a few minutes since processes could pop on anytime.

In some videos, you will see me take five measurements and drop the high and low, then averaging the remaining three. In this case, I used all five since the results were relatively close.The laptop got 6.55 Gbps upload and 6.53 Gbps download.

Now that I have a local baseline, I introduce the network. In previous videos, I start with a cable between the two devices.In this lab, I started with two computers connected to a switch. I preferred this method because my switch is a DHCP server and saved me some configuration work.

The network test showed me that the desktop upload was 878 Mbps and download 930 Mbps where the laptop got 933 Mbps Upload and 893 Mbps Download.

Now that I know that computers maximum throughput and that they work well I can proceed with my testing and application profiling.

In the next articles, I will be reviewing and testing some of the most common protocols we run into out there.

About the Author(s)

Tony Fortunato

Sr Network Performance Specialist

Tony Fortunato is a network performance expert who has been designing, implementing and troubleshooting networks since 1989. His company, The Technology Firm, provides clients of all sizes with services ranging from project management, network design, consulting, troubleshooting, designing custom-designed training courses, and assisting with equipment installation. Tony's experience in networking started with financial trading floor networks and ISPs, where he learned to integrate and support equipment from various vendors. Tony has taught and presented at numerous colleges and universities, public forums and private classes. He blogs frequently at NetworkDataPediaand has a popular YouTube channel.

Stay informed! Sign up to get expert advice and insight delivered direct to your inbox

You May Also Like

More Insights