In
telecommunications
Telecommunication, often used in its plural form or abbreviated as telecom, is the transmission of information over a distance using electronic means, typically through cables, radio waves, or other communication technologies. These means of ...
, 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 times for the paths between the two
communication endpoint
A communication endpoint is a type of Node (networking), 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–subscr ...
s. In the context of computer networks, the signal is typically a
data packet
In telecommunications and computer networking, a network packet is a formatted unit of data carried by a packet-switched network. A packet consists of control information and user data; the latter is also known as the '' payload''. Control inform ...
. RTT is commonly used interchangeably with ping time, which can be determined with the
ping command. However, ping time may differ from experienced RTT with other protocols since the payload and priority associated with
ICMP messages used by ping may differ from that of other traffic.
End-to-end delay
End-to-end delay or one-way delay (OWD) refers to the time taken for a Packet (information technology), packet to be transmitted across a computer network, network from source to destination. It is a common term in IP network monitoring, and differ ...
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
RTT is a measure of the amount of time taken for an entire message to be sent to a destination and for a reply to be sent back to the sender. The time to send the message to the destination in its entirety is known as the
network latency
Network delay is a design and performance characteristic of a telecommunications network. It specifies the latency for a bit of data to travel across the network from one communication endpoint to another. It is typically measured in multiples ...
, and thus RTT is twice the latency in the network plus a processing delay at the destination. The other sources of delay in a network that make up the network latency are processing delay in transmission, propagation time, transmission time and queueing time. Propagation time is dependent on distance. Transmission time for a message is proportional to the message size divided by the bandwidth. Thus higher bandwidth networks will have lower transmission time, but the propagation time will remain unchanged, and so RTT does fall with increased bandwidth, but the delay increasingly represents propagation time.
Networks with both high bandwidth and a high RTT (and thus high
bandwidth-delay product
In data communications, the bandwidth-delay product is the product of a data link's capacity (in bits per second) and its round-trip delay time (in seconds). The result, an amount of data measured in bits (or bytes), is equivalent to the maximu ...
) can have 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 Wireless LAN, local area networking of devices and Internet access, allowing nearby digital devices to exchange data by ...
using
IEEE 802.11mc are the basis for the
Wi-Fi positioning system
Wi-Fi positioning system (WPS, WiPS or WFPS) is a geolocation system that uses the characteristics of nearby Wi‑Fi access points to discover where a device is located.
It is used where satellite navigation such as GPS is inadequate due to vari ...
.
See also
*
Lag (video games)
*
Latency (engineering)
Latency, from a general point of view, is a time delay between the Causality, cause and the effect of some physical change in the system being observed. Lag (video games), Lag, as it is known in Gaming culture, gaming circles, refers to the late ...
*
Minimum-Pairs Protocol
*
Network delay
Network delay is a design and performance characteristic of a telecommunications network. It specifies the latency for a bit of data to travel across the network from one communication endpoint to another. It is typically measured in multiple ...
*
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
Computer network technology
Telecommunication theory
Light