As you build the network and install all kinds of devices, one of the questions you should ask yourself is the performance you should expect as traffic passes through all those devices. Dedicated testing equipment and software can push the network equipment to its limits, and this accomplishes several tasks:
- Measures network throughput
- Measures application performance
These tasks are accomplished by generating different types and amounts of traffic and injecting it into the network. This allows you to evaluate the devices’ performance under different conditions, by simulating possible production traffic.
As mentioned, this can be achieved using either hardware or software tools. Software tools can be either free or open source and are less expensive than dedicated hardware appliances because they can be used on existing machines (workstations or servers) in the network. The downside to using software tools is their limited capacity and functionality compared with hardware equipment.
On the other hand, throughput testing hardware appliances are usually very expensive but they offer increased performance and functionality. These tools are used in critical environments that need to be thoroughly tested from a performance perspective before placing them into production.
A very common open source throughput measuring/traffic generator tool is called Iperf, which also comes with a GUI frontend called Jperf, which is shown in Figure 23.2 below. This tool works in a Client-Server model, so you need to set up one device that will generate traffic and another device that will receive the traffic.
Figure 23.2 – Jperf Interface
Some of the most important parameters that can be configured from the Jperf interface include the following:
- Client-Server configuration:
- IP address
- Ports
- Number of connections
- Application Layer options:
- Report interval
- MSS output
- Port
- Output format
- Transport Layer options:
- TCP or UDP
- Buffer size
- TCP window size
- MSS
- IP Layer options:
- TTL
- Type of Service
- IPv6
