discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Calculating the delay of TCP link.


From: Mark McCarron
Subject: Re: [Discuss-gnuradio] Calculating the delay of TCP link.
Date: Tue, 30 Apr 2013 20:56:00 +0100

The MTU will only tell you if there is fragmentation.  In packet switched networks, there can be delays for any number of reasons that are not entirely predictable.  For example, assume someone is watching a video, using VOIP, downloading, etc.  These can place heavy load on a switch, router or hub and saturate buffers delaying your packets and reducing throughput.  Other factors such as QoS or traffic shaping can alter things.  Then you have cosmic rays, bad wires, failing circuitry, etc.  Then on a PC the network stack itself can be a source of delays as this is implemented in software a dependent on the scheduler and what else is happening in the machine.

Trying to monitor all this, only places additional load on these systems a skews your results.

The best you can do is attempt to define an average and identify the worst case scenario.  Aiming between these two figures will normally provide you with a robust service that exceeds expectation.


Regards,

Mark McCarron


Date: Tue, 30 Apr 2013 12:40:07 -0700
From: address@hidden
Subject: Re: [Discuss-gnuradio] Calculating the delay of TCP link.
To: address@hidden


Hi,
Is it any way to calculate using the MTU size of TCP packet and the sampling rate, like a mathematical approach using formulas.


Best Regards,
SAJJAD SAFDAR


From: Mark McCarron <address@hidden>
To: Sajjad Safdar <address@hidden>
Sent: Tuesday, April 30, 2013 12:33 AM
Subject: RE: [Discuss-gnuradio] Calculating the delay of TCP link.

Calculating delay is complex.

If you just want to know the average time between hosts on an IP network, then use the Ping command.  It has a RTT value in ms.  Just remember that on a packet switched network, this can vary but is typically under 1ms in a local environment.

Similar delays exist throughout the receive chain and processor, which are virtually impossible to measure accurately.

Accurate measurements like for radar, or bearings are impossible without some form of time-stamp at the receiver and that would require an atomic clock chip.

Regards,

Mark McCarron


Date: Mon, 29 Apr 2013 12:01:57 -0700
From: address@hidden
To: address@hidden
Subject: [Discuss-gnuradio] Calculating the delay of TCP link.

Hi,
I am sending audio at 50 kHz sample rate via TCP sink from host A to other host B. The host B is connected via router in same network. How can i calculate the time delay from host A to host B via this TCP link.

Best Regards,
SAJJAD SAFDAR 

_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

[Prev in Thread] Current Thread [Next in Thread]