This website is preserved for historical and scholarly reference and is no longer actively maintained.
Introduction to Network Performance
Jim Martin, Associate Professor (jmarty@clemson.edu)
Material on this page was last updated: 9/30/2017
This page is under construction....!!
Tcpdump : a program, which has been a part of Unix releases for decades, that can capture packets that flow over specific network interfaces. The program consists of three components
- The application user interface: the tcpdump user interface is documented on its man page (issue 'man tcpdump'). Note that there are other applications that are similar - wireshark is a GUI oriented application user interface.
- Wireshark installs useful command line programs (even on Windows!!)
- capinfos.exe
dumpcap.exe
editcap.exe
mergecap.exe
rawshark.exe
reordercap.exe
text2pcap.exe
tshark.exe
- The system library call - otherwise referred to as the pcap library. This provides a portable programming interface
- The kernel network stack support -
- If you don't see the network performance you expect, try any of these to learn more about what might be happening:
- mpstat -P ALL 1 //install with apt-get install sysstat
- run at both the send and rx sides. If for example at the send side, one core if 100% utilized, then the program is possibly cpu bound. You could try multiple instances of the program if your goal is to saturate capacity
- As discussed here, you can also assign a process to a core on linux using sched_setaffinity() system call