Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] end-to-end delay calculation using tcp

From: Hansang Bae <hbae@xxxxxxxxxx>
Date: Wed, 09 Apr 2008 21:58:28 -0400
Fabiana moreno wrote:
Hello guys,

I am streaming a video using tcp and i was wondering how could i calculate certain parameters such as end-to-end delay or frame loss?? is it hard to acomplish?


You are streaming or downloading the video? if you're streaming, I guess you use a buffer of some sort?

end to end delay can be somewhat tricky but there are some rules of thumb you can use to calculate it.

1) Look at SYN and SYN+ACK. The time it takes for syn_ack to come back is your round trip delay 2) Look at ACKs coming back after two successive full sized packets. This too can be used to calculate the round trip time. The reason is that the receivers tcp stack will immediately ACK after receiving two full size packets (w/o app intervention).

You can also look for packet loss by using the filter "tcp.analysis.flags" display filter and looking for retransmissions.

--

Thanks,
Hansang