In
telecommunication
Telecommunication is the transmission of information by various types of technologies over wire, radio, optical, or other electromagnetic systems. It has its origin in the desire of humans for communication over a distance greater than tha ...
s, round-trip delay (RTD) or round-trip time (RTT) is the amount of time it takes for a signal to be sent ''plus'' the amount of time it takes for acknowledgement of that signal having been received. This time delay includes
propagation time In digital circuits, propagation time is the delay of the basic inverter of a given family. Thus, it measures the speed at which such family can operate.Adel Sedra, ''Microelectronics Circuits'', Oxford University Press, New York, 1988,
Reference ...
s for the paths between the two
communication endpoint
A communication endpoint is a type of communication network node. It is an interface exposed by a communicating party or by a communication channel. An example of the latter type of a communication endpoint is a publish-subscribe topic or a grou ...
s. In the context of computer networks, the signal is typically a
data packet. RTT is also known as ping time, and can be determined with the
ping command.
End-to-end delay is the length of time it takes for a signal to travel in one direction and is often approximated as half the RTT.
Protocol design
Round-trip delay and
bandwidth are independent of each other. As the available bandwidth of networks increases, the round trip time does not similarly decrease, as it depends primarily on constant factors such as physical distance and the speed of signal propagation.
Networks with both high bandwidth and a high RTT (and thus high
bandwidth-delay product) can have very large amounts of
data in transit at any given time. Such ''long fat networks'' require a special protocol design. One example is the
TCP window scale option.
The RTT was originally estimated in TCP by:
:
where
is constant weighting factor (
).
Choosing a value for
close to 1 makes the weighted average immune to changes that last a short time (e.g., a single segment that encounters long delay). Choosing a value for
close to 0 makes the weighted average respond to changes in delay very quickly. This was improved by the
Jacobson/Karels algorithm, which takes standard deviation into account as well. Once a new RTT is calculated, it is entered into the equation above to obtain an average RTT for that connection, and the procedure continues for every new calculation.
Wi-Fi
Accurate round-trip time measurements over
Wi-Fi
Wi-Fi () is a family of wireless network protocols, based on the IEEE 802.11 family of standards, which are commonly used for local area networking of devices and Internet access, allowing nearby digital devices to exchange data by radio w ...
using
IEEE 802.11mc are the basis for the
Wi-Fi positioning system.
See also
*
Age of Information
*
Lag (video games)
In computers, lag is delay ( latency) between the action of the user (input) and the reaction of the server supporting the task, which has to be sent back to the client.
The player's ability to tolerate lag depends on the type of game being ...
*
Latency (engineering)
Latency, from a general point of view, is a time delay between the cause and the effect of some physical change in the system being observed. Lag, as it is known in gaming circles, refers to the latency between the input to a simulation and ...
*
Minimum-Pairs Protocol
*
Network delay
*
Time of flight
Time of flight (ToF) is the measurement of the time taken by an object, particle or wave (be it acoustic, electromagnetic, etc.) to travel a distance through a medium. This information can then be used to measure velocity or path length, or as a w ...
References
{{DEFAULTSORT:Round-Trip Delay Time
Telecommunication theory
Light