End-to-end delay or one-way delay (OWD) refers to the time taken for a packet to be transmitted across a network from source to destination. It is a common term in IP network monitoring, and differs from round-trip time (RTT).
The ping utility calculates the RTT, that is, the time to go and come back to a host. This does not assure that the go and back paths are the same in terms of congestion, number of hops, or quality of service (QoS).
In order to avoid such problems, OWD concept comes into play. The most common method by which OWDs are calculated between two points A and B of an IP network is to first synchronize their clocks; A records a timestamp on the packet and sends it to B, which notes the receiving time and calculates the OWD as their difference. The transmitted packets need to be identified at source and destination in order to avoid packet loss or packet reordering. This method however suffers several limitations, such as requiring intensive cooperation between both parties, and the accuracy of the measured delay is subject to the synchronization precision. On the other hand, the Minimum-Pairs protocol is an example by which several cooperating entities, A, B, and C, could measure OWDs between one of them and a fourth less cooperative one (e.g., between B and X).
The measurement method makes obvious that this value is substantially different from the Round-Trip Time/2 value. Accordingly, new OWD-estimation protocols must evaluate the expected precision before it can be practical to use in practice.
where
Note: we have neglected queuing delays.
Each router will have its own dtrans, dprop, dproc hence this formula gives a rough estimate.
These four components are further subdivided: