CS Atlas GATE 2027
Computer Networks course
0 / 90 complete

Computer Networks/Phase 1 · Layering, Switching & Performance

Lesson 1.3.2 · Item 19 of 90

Propagation, queuing and processing delay; multi-hop pipelining

Read at your own pace. Try the questions before opening the answers.

On this page

Recall warm-up

  1. Tt of a 500-byte packet at 2 Mbps?
    Stuck? Peek at 1.3.1 Bandwidth, data rate, throughput and transmission delay
    • Bandwidth / data rate B = link capacity in bps (decimal prefixes).
    • Tt = L / B (L in bits) — independent of distance.
    • Throughput = bits delivered / time ≤ min link rate on the path (bottleneck).

    Read lesson 1.3.1

  2. What does store-and-forward force a router to do?
    Stuck? Peek at 1.2.2 Packet switching: store-and-forward, datagrams, statistical multiplexing
    • Packet switching: packets with headers; no reservation; full link rate while sending.
    • Store-and-forward: receive whole packet → buffer/queue → forward; full buffer → loss.
    • Datagram: each packet routed independently; may reorder; robust to failures.
    • Statistical multiplexing: share capacity on demand; P(exactly k of n) = C(n,k)pᵏ(1−p)ⁿ⁻ᵏ.

    Read lesson 1.2.2

  3. 1 µs is how many seconds?
    Stuck? Peek at 0.2.1 Bits, bytes and prefixes: powers of 10 for rates, powers of 2 for sizes
    • 1 B = 8 b. Lower-case b = bit, upper-case B = byte.
    • Rates: k = 10³, M = 10⁶, G = 10⁹ (bps).
    • Sizes: K = 2¹⁰, M = 2²⁰, G = 2³⁰ (bytes) — unless the question says 1000.
    • Time to push out = (size in bits) ÷ (rate in bit/s).
    • ms = 10⁻³ s, µs = 10⁻⁶ s, ns = 10⁻⁹ s.

    Read lesson 0.2.1

The Hook

Back to the convoy: after the toll booth (transmission), each car still has to drive to the next city (propagation). At the next booth there may be a queue (queuing), and the officer takes a moment to check papers (processing). A message crossing several routers pays all four delays, hop after hop. GATE's favourite numerical asks exactly when the last bit of the last packet arrives.

Predict First

Five packets, each 8 ms to transmit, cross 3 links (2 routers) by store-and-forward; each link adds 1 ms of travel. Guess the arrival time of the last packet: 5 × 3 × 8 + 3 = 123 ms, or much less?

,

Much less: 59 ms. Packets pipeline: while packet 2 is on link 1, packet 1 is already on link 2. The first packet needs 3 × 8 + 3 × 1 = 27 ms; each further packet arrives just 8 ms later: 27 + 4 × 8 = 59 ms.

Core Concept

Propagation delay

Propagation delay Tp = d / v: the time for one bit to travel the length d of the link at signal speed v.

Default signal speed in copper and fibre: v = 2 × 10⁸ m/s (two-thirds of the speed of light) unless the question gives another value. Tp depends on distance, not on the packet size or the bit rate.

LinkDistanceTp at 2 × 10⁸ m/s
Office cable100 m0.5 µs
Across a city20 km0.1 ms
Across a country2000 km10 ms
Geostationary satellite hop≈ 36,000 km up + down≈ 270 ms (radio at 3 × 10⁸ m/s)
Propagation delay grows with distance only.

Tt vs Tp — the classic confusion

Transmission = getting all bits onto the link (depends on L and B). Propagation = one bit travelling the link (depends on d and v). The last bit of a packet reaches the far end at Tt + Tp after the first bit left.

sender pushes
Tt = 0.8 ms
last bit travels
Tp = 5 ms
0123456
time (ms)
1000-byte packet, 10 Mbps, 1000 km: last bit arrives at 0.8 + 5 = 5.8 ms.

Queuing and processing delay

  • Processing delay: time a router spends examining the header and deciding where to send (usually µs; given in questions when it matters).
  • Queuing delay: time waiting in the output buffer behind other packets. It depends on load: with packets of L bits arriving at a average rate a packets/s on a link of rate R, the traffic intensity L·a/R near 1 makes queues grow large; above 1 they grow without bound.
Total (nodal) delay at one hop = dproc + dqueue + Tt + Tp.
processing
check header
queuing
wait for the link
transmission
L / B
propagation
d / v
The four delays at each hop, in the order a packet meets them.

One packet over h links

Store-and-forward, equal links, no queuing: each link costs a full Tt plus its Tp. One packet arrives after h·Tt + h·Tp (+ processing at each of the h − 1 routers, if given).

link 1
TtTp
link 2
TtTp
link 3
TtTp
0510152025
time (ms)
One 8 ms packet over 3 links with 1 ms travel each: 3 × 8 + 3 × 1 = 27 ms.

N packets pipelined

With N packets on equal-rate links, packets overlap across hops. After the first packet arrives, each further one arrives one Tt later:

Total = h·Tt + h·Tp + (N − 1)·Tt = (N + h − 1)·Tt + h·Tp (+ (h − 1)·dproc when routers add processing).

If link rates differ, the slowest link sets the spacing: first packet = Σ Tt,i + Σ Tp,i, then one bottleneck Tt per extra packet (when no buffer limits apply).

link 1
P1P2P3P4P5
link 2
P1P2P3P4P5
link 3
P1P2P3P4P5
01020304050
time (ms)
Five packets pipelined over three links: the last bit of P5 arrives at 51 + 8 = 59 ms (Tt = 8 ms, Tp = 1 ms per link).

Putting it together

  • A hop costs processing + queuing + transmission (L/B) + propagation (d/v).
  • Store-and-forward pipelining: (N + h − 1)·Tt + h·Tp for equal links.
  • Unequal links: the slowest link sets the spacing between arrivals.

Visual

DelayFormulaGrows withDoes not depend on
TransmissionL / Bunit size, slower linkdistance
Propagationd / vdistanceunit size, bit rate
Queuingload-dependenttraffic intensity L·a/R—
Processinggivenrouter worksize, distance (usually)
The four delays and what each depends on.

Worked Examples

Easy

A 1000-byte packet crosses one 10 Mbps link 1000 km long (v = 2 × 10⁸ m/s). When does the last bit arrive?

Show the full solution

Tt = 8000 / 10⁷ = 0.8 ms. Tp = 10⁶ / (2 × 10⁸) = 5 ms. Total = 5.8 ms.

Medium

5 packets, each 1000 bytes, cross 3 links of 1 Mbps (2 routers). Each link has Tp = 1 ms. (a) Total time for all packets with no other delays? (b) If each router adds 0.5 ms processing per packet?

Show the full solution

Tt = 8000 / 10⁶ = 8 ms. (a) (N + h − 1)·Tt + h·Tp = (5 + 3 − 1) × 8 + 3 × 1 = 56 + 3 = 59 ms.

(b) The processing delays sit on the first packet's path once per router: + 2 × 0.5 = 1 ms; later packets keep the same 8 ms spacing. Total = 60 ms (a step-by-step simulation gives the same value).

GATE

An 8000-byte message goes from A to B over 3 links of 1 Mbps (2 routers), Tp = 2 ms per link. It is split into packets of 1000 data bytes, each with a 50-byte header. (a) Time until the whole message arrives? (b) Compare with sending the message as one unit with a single 50-byte header.

Show the full solution

(a) N = 8 packets of 1050 bytes = 8400 bits, Tt = 8.4 ms. Total = (8 + 3 − 1) × 8.4 + 3 × 2 = 84 + 6 = 90 ms.

(b) One unit of 8050 bytes = 64,400 bits, Tt = 64.4 ms per link. Total = 3 × 64.4 + 3 × 2 = 199.2 ms. Splitting into packets is over twice as fast because the hops work in parallel.

GATE Traps

  • Propagation vs transmission: Tp uses distance and signal speed; Tt uses size and bit rate. Mixing them is the most common delay mistake.
  • h counts links, not routers: 2 routers between two hosts means h = 3 links.
  • Textbooks differ on whether processing delay is charged at the source and destination too. GATE-style questions specify it; when they say "processing delay at each router", charge it once per router on the first packet's path only.

Memory Hook

"Booth, road, queue, clerk": transmission, propagation, queuing, processing — and for a convoy over h roads: (N + h − 1) booths plus h roads.

Connect the Dots

We can now time any multi-hop trip. Next (1.3.3): how many bits are "in the pipe" at once, how long until an answer can come back, and what fraction of the time is a sender that waits for replies actually busy?

Self-Test

  1. NAT

    Propagation delay (ms) over 3000 km at 2 × 10⁸ m/s?

    Write your answer before opening the key.

  2. NAT

    10 packets of 1000 bits cross 4 links of 1 Mbps, Tp = 0, store-and-forward, nothing else. Total time in ms?

    Write your answer before opening the key.

  3. MCQ

    Which delay depends on the distance between the two ends of a link?

    1. Transmission
    2. Propagation
    3. Processing
    4. None
  4. NAT

    3 packets of 1000 bits go over links of 10 Mbps, 1 Mbps, 10 Mbps in that order (Tp = 0, store-and-forward). Arrival time of the last packet in ms?

    Write your answer before opening the key.

  5. MSQ

    Splitting a long message into smaller packets over several store-and-forward hops (header overhead ignored):

    1. reduces total delay because hops work in parallel
    2. increases total delay because there are more units
    3. gives (N + h − 1)·Tt + h·Tp for equal links
    4. has no effect when there is only one link

Rule Card

  • Tp = d / v, v = 2 × 10⁸ m/s default; independent of size and rate.
  • Nodal delay = d_proc + d_queue + Tt + Tp.
  • One packet, h equal links: h·Tt + h·Tp.
  • N packets, h equal links: (N + h − 1)·Tt + h·Tp (+ (h − 1)·d_proc).
  • Unequal links: first packet ΣTt + ΣTp, then + (N − 1) × max Tt.
  • Traffic intensity L·a/R → 1: queues explode.

Concept Ledger

  • propagation delay Tp = d/v
  • signal speed 2 × 10⁸ m/s
  • queuing delay, traffic intensity
  • processing delay
  • total (nodal) delay
  • multi-hop store-and-forward
  • pipelining of packets: (N + h − 1)·Tt + h·Tp

Answer Vault

Try the questions first. Open when you are ready to check.

Warm-up answers

  1. 4000 / 2 × 10⁶ = 2 ms.
  2. Receive the whole packet before forwarding it.
  3. 10⁻⁶ s.

Self-test answers

  1. 15 — 3 × 10⁶ / 2 × 10⁸ = 0.015 s = 15 ms.
  2. 13 — (10 + 4 − 1) × 1 ms = 13 ms.
  3. B — Tp = d / v.
    • A: Tt = L/B, no distance.
    • C: Processing is router work.
    • D: Propagation does.
  4. 3.2 — First packet 0.1 + 1 + 0.1 = 1.2 ms; then one bottleneck Tt (1 ms) per extra packet: 1.2 + 2 = 3.2 ms.
  5. ACD — Pipelining helps across hops; with one link (h = 1) the formula gives N·Tt = the same total sending time.
    • B: Without header overhead, more units only add parallelism.

Flashcards

  1. Tp formula and default speed?
    Reveal answerd / v, v = 2 × 10⁸ m/s.
  2. N packets over h equal links?
    Reveal answer(N + h − 1)·Tt + h·Tp.
  3. Two routers between hosts: h = ?
    Reveal answer3 links.
  4. Which delay depends on distance?
    Reveal answerPropagation only.

Exam shortcuts

  • Pipelined store-and-forward: (N + h − 1)·Tt + h·Tp. — N equal packets, h links of the same rate, no queuing; add (h − 1)·processing if routers add a fixed processing delay.
  • Unequal link rates: first packet = ΣTt + ΣTp; then + (N − 1) × (largest Tt). — enough buffering at the slow link; packets all ready at the start.

Ready for the next idea?

Mark this item complete when you’ve finished reading and working through it.