Advanced IO Graph configurations with advanced Y-Axis parameters

In standard measurements with the IO Graph tool, we measure the performance of the network in units of packets/second, bytes/second, or bits/second. There are some types of data that cannot be measured with these parameters, and this is the reason we have the Advanced... feature in the Y-Axis options.

Getting ready

Choosing the Advanced... feature from the Unit: drop-down menu under Y-Axis opens a wider IO Graphs window, and provides the following options:

  • SUM (*): This draws a graph with the summary of a parameter in the tick interval
  • COUNT FRAMES (*): This draws a graph that counts the occurrence of the filtered frames in the tick interval
  • COUNT FIELDS (*): This draws a graph that counts the occurrence of the filtered field in the tick interval
  • MAX (*): This draws a graph with the maximum of a parameter in the tick interval
  • MIN (*): This draws a graph with the minimum of a parameter in the tick interval
  • AVG (*): This draws a graph with the average of a parameter in the tick interval
  • LOAD (*): This is used for response time graphs

How to do it...

To start using the IO Graphs window with the Advanced feature, perform the following steps:

  1. Start the IO Graphs window from the Statistics menu.
  2. In the Unit: drop-down menu under Y-Axis, choose the Advanced… option. You will get the following window:
    How to do it...
  3. You will see new drop-down menus with the string SUM(*).
  4. Choose SUM(*)/COUNT FRAMES (*)/COUNT FIELDS (*)/MAX(*)/MIN(*)/AVG(*)/ LOAD(*), and configure the appropriate filters. In the next recipes we will see some useful examples.

How to monitor inter-frame time delta statistics

The time delta between frames can influence TCP performance, and there are cases in which we would like to correlate these with the performance we get from the network.

Let's look at the following capture file:

How to monitor inter-frame time delta statistics

Here, we see packets sent from the source IP 10.2.10.105 as configured in the display filter.

To view the time variance between frames, configure the following parameters:

  • To view the maximum frame.time_delta value, configure ip.src == 10.2.10.105 in the field beside Filter: and choose MAX(*) and type frame.time_delta in the fields beside Calc:
  • To view the average frame.time_delta value, configure ip.src == 10.2.10.105 in the field beside Filter: and choose AVG(*) and type frame.time_delta in the fields beside Calc:
  • To view the minimum frame.time_delta value, configure ip.src == 10.2.10.105 in the field beside Filter: and choose MIN(*) and type frame.time_delta in the fields beside Calc:

The graph that we will get is as follows:

How to monitor inter-frame time delta statistics

What we see in the screenshot is a graph of the minimum, average, and maximum time delta between frames. What do we do with it and how do we use it for network debugging? This will be covered in Chapter 10, HTTP and DNS.

How to monitor the number of TCP retransmissions in a stream

TCP events can be of many types: retransmissions, sliding window events, ACKs (or lack of them), and others. To see the number of TCP events over time, we can use the IO Graph tool with the Advanced... feature and the COUNT(*) parameter.

To do this, perform the following steps:

  1. Open IO Graphs from the Statistics menu.
  2. Under Y-Axis, choose Advanced... for Unit:.
  3. Configure the filters as follows:
    • IP source and destination filters in the fields beside the Filter: buttons
    • TCP events in the fields to the left of Style:
    • Choose COUNT FRAMES (*) in the Calc: field and type tcp.analysis.retransmissions in the filter field

In this example, filters were configured to monitor TCP retransmissions on three different TCP streams.

How to monitor the number of TCP retransmissions in a stream

In the graph of the preceding screenshot, you can see that retransmissions from each TCP stream are presented in different colors.

How to monitor a number of field appearances

In various network protocols (mostly on those running over TCP), variations in time between frames (that is, the frame-time delta filter) can influence the performance significantly. One of the tools for viewing these changes in the IO Graphs window is the Advanced... configuration.

To do it, perform the following steps:

  1. Right-click on a packet in the suspicious TCP stream and navigate to Conversation filter | TCP. A filter will appear in the main filter box.
  2. Open IO Graph from the Statistics menu.
  3. Under Y-Axis, choose Advanced... for Unit:.
  4. Configure the filters as follows:
    • Copy the filter definition from the upper filter box on the right-hand side to the IO Graph filter box on the left-hand side
    • On the left-hand side, type the filter frame.time_delta
    • Choose AVG(*) to see the average delta.
  5. Choose the appropriate X-Axis resolution.

Here is an example. In the following screenshot, we see a packet list with time variations between frames (a second time column was added in order to see the real time and time variations):

How to monitor a number of field appearances

You see that there are some large time variations between frames; for example, 29.24 seconds in the frame 1,223, 9.12 seconds in the frame 1,247, and more.

In the IO Graphs window configured as described earlier, you will see the following:

How to monitor a number of field appearances

As you see here, there are variations in time between frames. Later in this book, we will learn to see what causes these problems and how to solve them.

How it works...

The IO Graph tool is one of the strongest and most efficient tools of Wireshark. While the standard IO Graph statistics can be used for basic statistics, the Advanced… feature can be used for in-depth monitoring of response times, TCP analysis of a single stream or several streams, and more.

When we configure a filter on the left, we will filter the traffic between hosts, traffic in a connection, traffic on a server, and so on. The Advanced… feature provides us with more details on traffic. Here are a few examples:

  • On the left you see the TCP stream; on the right you see the time delta between frames in the stream
  • On the left you see the video/RTP stream; on the right you see the occurrence of a marker bit

There's more...

You can always click on IO Graph, and it will bring you to the reference packet in the packet pane.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.58.118.119