Recall warm-up
- 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).
- 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)ⁿ⁻ᵏ.
- 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.
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
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.
| Link | Distance | Tp at 2 × 10⁸ m/s |
|---|---|---|
| Office cable | 100 m | 0.5 µs |
| Across a city | 20 km | 0.1 ms |
| Across a country | 2000 km | 10 ms |
| Geostationary satellite hop | ≈ 36,000 km up + down | ≈ 270 ms (radio at 3 × 10⁸ m/s) |
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.
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.
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).
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:
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).
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
| Delay | Formula | Grows with | Does not depend on |
|---|---|---|---|
| Transmission | L / B | unit size, slower link | distance |
| Propagation | d / v | distance | unit size, bit rate |
| Queuing | load-dependent | traffic intensity L·a/R | — |
| Processing | given | router work | size, distance (usually) |
Worked Examples
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.
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).
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
- NAT
Propagation delay (ms) over 3000 km at 2 × 10⁸ m/s?
Write your answer before opening the key.
- 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.
- MCQ
Which delay depends on the distance between the two ends of a link?
- Transmission
- Propagation
- Processing
- None
- 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.
- MSQ
Splitting a long message into smaller packets over several store-and-forward hops (header overhead ignored):
- reduces total delay because hops work in parallel
- increases total delay because there are more units
- gives (N + h − 1)·Tt + h·Tp for equal links
- 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
- 4000 / 2 × 10⁶ = 2 ms.
- Receive the whole packet before forwarding it.
- 10⁻⁶ s.
Self-test answers
- 15 — 3 × 10⁶ / 2 × 10⁸ = 0.015 s = 15 ms.
- 13 — (10 + 4 − 1) × 1 ms = 13 ms.
- B — Tp = d / v.
- A: Tt = L/B, no distance.
- C: Processing is router work.
- D: Propagation does.
- 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.
- 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
- Tp formula and default speed?
Reveal answer
d / v, v = 2 × 10⁸ m/s. - N packets over h equal links?
Reveal answer
(N + h − 1)·Tt + h·Tp. - Two routers between hosts: h = ?
Reveal answer
3 links. - Which delay depends on distance?
Reveal answer
Propagation 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.