Performance testing and monitoring using free tool NTttcp from Microsoft

Home > Blogs > Cisco > Performance testing and monitoring using free tool NTttcp from Microsoft

Performance testing and monitoring using free tool NTttcp from Microsoft

Like This Blog 1 Mark Jacob
Added by April 19, 2016

In my classes, whether it is a Cisco class or a CompTIA Network + class, one of the topics always considered is monitoring the network. It turns out that there is a cool tool that is available from Microsoft that allows a network admin to stress test a network connection and monitor the results. Simply access your preferred search engine and look for NTttcp download. There is a help document that accompanies the download which explains in detail your options. There is even a lab in the Network+ class that performs this test, albeit in a virtual environment. In this blog I will perform similar steps to those in the lab, but on two real machines. I will not be exploring all the choices which can be executed with the tool, but enough to introduce the tool if you are unfamiliar with it.

I have two machines that are directly connected with a crossover cable and have been configured with IP addresses in the same network: PC1 is and PC2 is A view of the topology is shown in figure1:


Figure 1

What I like to do when I execute these steps is to title my command prompt windows to keep track of where I am. I have connected my two machines, I have launched two command prompt windows (as Administrator, of course) and I have my text files ready to paste into those windows. Here are the contents of the text files on PC1 and PC2 respectively:


paste this into the window for sending


paste this into the window for receiving


See Microsoft’s full documentation for a complete discussion of command line options. In the steps above, the –m switch allows the tester to specify single- or multi- thread operations and which processor to use. The –p switch specifies the beginning port number to uses to start transferring data. The –a switch specifies asynchronous data transfer with 4 outstanding I/O buffers. Execute the commands so that everything above is pasted into the window, but don’t hit Enter on anything yet. Once all windows are preloaded, make the receiver window on each machine the active window. Hit Enter in each window, then make the sender window the active window on each PC. Hit Enter simultaneously (or as close as possible) in each sender window.  Let’s take a look at the command prompt windows on PC1 after executing the commands above:


Figure 2

Figure 2 shows the receiver window on PC1. Now let’s see the sender window on PC1:


Figure 2

Let’s do the same for PC2. Here is the receiver window:


Figure 3

Here is the sender window:


Figure 4

Note the very close correlation between the sending window of one machine and the receiving window of the other machine. For instance, in the sending window of PC1, it shows Bytes: 695.750000 and the receiving window of PC2 shows 695.750122. The sending window shows Packets Received : 455535 while the receiving window shows 455356 Packets Sent. This gives the admin very good numbers on throughput success.

Another fun activity is to run Task Manager or Performance Monitor (or even Wireshark) during the test and viewing the results. Here is a screencap of PC1 which was running Performance Monitor:


Figure 5

Notice that the test pegged the meter briefly. PC2 was running Task Manager:


Figure 6

Of course you can manipulate the counters in Performance Monitor to suit your fancy. As mentioned, there are numerous other options available, multi-threading and multi-proc, for example. I just wanted to introduce this formerly internal-only tool that Microsoft has made available in case you hadn’t seen it before. Have fun exploring the options, and if you find anything cool you wish to share, please leave your comments here.

Until next time.

Mark Jacob
Cisco and CompTIA Network + Instructor – Interface Technical Training
Phoenix, AZ

Videos You May Like

A Simple Introduction to Cisco CML2

0 3852 0

Mark Jacob, Cisco Instructor, presents an introduction to Cisco Modeling Labs 2.0 or CML2.0, an upgrade to Cisco’s VIRL Personal Edition. Mark demonstrates Terminal Emulator access to console, as well as console access from within the CML2.0 product. Hello, I’m Mark Jacob, a Cisco Instructor and Network Instructor at Interface Technical Training. I’ve been using … Continue reading A Simple Introduction to Cisco CML2

Cable Testers and How to Use them in Network Environments

0 713 1

This content is from our CompTIA Network + Video Certification Training Course. Start training today! In this video, CompTIA Network + instructor Rick Trader demonstrates how to use cable testers in network environments. Let’s look at some tools that we can use to test our different cables in our environment. Cable Testers Properly Wired Connectivity … Continue reading Cable Testers and How to Use them in Network Environments

CompTIA Security+ What Motivates People to Take Your Intellectual Property?

0 44 0

CompTIA Instructor Steve Fullmer describes the importance of getting Security+ Certified. Security is no longer about the “haves” and the “have nots” a small group of people who are trying to take advantage of your possessions and intellectual property (IP). In the book ‘Tribal Leadership’ by Dave Logan, John King, Halee Fischer-Wright, they discuss the stages of … Continue reading CompTIA Security+ What Motivates People to Take Your Intellectual Property?

Write a Comment

See what people are saying...

    Share your thoughts...

    Please fill out the comment form below to post a reply.