This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Plot arrival time of UDP packets

0

My application should send a UDP packet every 16.7mS. I would like to see how much the arrival time varies. I want what "Statistics->TCP StreamGraph->Stephens" does for TCP except for UDP. I tried "Statistics->IO Graph" but couldn't get it to do what I wanted.

Any hints? Thanks, Todd

asked 07 Aug '12, 13:18

sampsont's gravatar image

sampsont
1222
accept rate: 0%


One Answer:

2

I would like to see how much the arrival time varies

If you want to draw the variation of the arrival time ('similar' to jitter - see also my answer for another question), you would need something in Wireshark that is able to calculate the mean value of the delta time between several past packets and then measure the deviation of the current packet (arrival time) from that mean value. Without scripting (either parsing tshark output or using a Lua listener), this is not possible with the standard Wireshark binary.

The best thing you can do (without scripting) is this:

screenshot

Please adjust the 'Filter:' string to whatever matches your application protocol. The X-Axis at the right should show your 16.7 ms. The variation of the hight of the spikes, should give you an idea if the packets arrive "equally spaced" or with some deviation. Please change the "X-Axis tick interval" if you don't get usefull data!

Regards
Kurt

answered 07 Aug '12, 17:31

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 07 Aug '12, 17:39

helloworld's gravatar image

helloworld
3.1k42041

Thanks for taking the time and making the effort to return such a clear and helpful response!

(08 Aug '12, 11:20) sampsont