Sub topic 10
Processing, Queuing, Transmission, and Propagation Delay
Assume you know bits, bytes, bit rates, distance units, and basic algebra. This chapter builds the total delay of a packet from four components. GATE questions often test which component depends on packet size, link rate, distance, or traffic load.
The four delay components
For one packet crossing a link, the total nodal delay is:
\[ d{\text{total}}=d{\text{processing}}+d{\text{queuing}}+d{\text{transmission}}+d_{\text{propagation}} \]
| Component | Meaning | Mainly depends on |
|---|---|---|
| Processing delay | Time to inspect the header and check errors | Device hardware and packet |
| Queuing delay | Time waiting before entering the outgoing link | Traffic load and congestion |
| Transmission delay | Time to place all packet bits on the link | Packet size and link rate |
| Propagation delay | Time for the signal to travel across the link | Distance and signal speed |
Processing delay
A router or switch first receives enough information to process a packet. It may check the frame, examine the destination address, and select an output interface. This time is the processing delay.
Processing delay is usually small and is often ignored in numerical questions unless the problem gives a value. It does not mean the time needed to transmit the packet onto the link.
Queuing delay
If another packet is being transmitted, a new packet waits in the output queue. This waiting time is the queuing delay.
Queuing delay can be zero on an idle link. It increases when the average arrival rate approaches the link's service rate. If packets arrive faster than the link can transmit them for a sustained period, the queue grows and packets may be dropped.
Transmission delay
Transmission delay is the time required to push every bit of a packet onto the link:
\[ d_{\text{transmission}}=\frac{L}{R} \]
Here, \(L\) is the packet length in bits and \(R\) is the link rate in bits per second. A 12,000-bit packet on a 10 Mbps link has transmission delay \(12{,}000/10{,}000{,}000=0.0012\) seconds, or 1.2 milliseconds.
This delay does not depend on the distance between devices. A longer cable does not require more time to place the bits onto the cable.
Propagation delay
Propagation delay is the time for the signal to travel from one end of the link to the other:
\[ d_{\text{propagation}}=\frac{D}{S} \]
Here, \(D\) is distance in meters and \(S\) is propagation speed in meters per second. For 3000 km of cable and a signal speed of \(2\times10^8\) m/s:
\[ d_{\text{propagation}}=\frac{3{,}000{,}000}{2\times10^8}=0.015\text{ s} \]
Propagation begins while transmission may still be continuing. Therefore, these delays are components of a timing model, not necessarily four separate actions performed one after another at every instant.
Worked calculation
Suppose a packet has 12,000 bits. It crosses one 10 Mbps link that is 3000 km long. Ignore processing and queuing delay.
packet_bits = 12_000
rate_bps = 10_000_000
distance_m = 3_000_000
propagation_speed_mps = 2e8
transmission = packet_bits / rate_bps
propagation = distance_m / propagation_speed_mps
total = transmission + propagation
print(f"Transmission: {transmission * 1000:.1f} ms")
print(f"Propagation: {propagation * 1000:.1f} ms")
print(f"Total: {total * 1000:.1f} ms")The transmission delay is 1.2 ms. The propagation delay is 15 ms. The total delay is 16.2 ms.
For multiple store-and-forward links, each link must transmit the complete packet. Thus, transmission delay is counted once per link. Propagation delay is calculated for the total path distance, if all link distances are given together.
Exercise
A 20,000-bit packet crosses two 5 Mbps links. The total distance is 1000 km, and the propagation speed is 2 × 10^8 m/s. Processing and queuing delays are zero. What is the end-to-end delay?
Show answer
Transmission delay is 2 × 20,000/5,000,000 = 0.008 s. Propagation delay is 1,000,000/(2 × 10^8) = 0.005 s. Total delay is 0.013 s, or 13 ms.