GATE / CS ARCHIVE

SIMILAR QUESTIONS / COMPUTER NETWORKS

Size selective-repeat sequence fields from target utilization

2 questions solved the same way, newest first. Back to Computer Networks

How these are solved

Compute frame serialization time and round-trip propagation, derive the sender-window requirement for the requested utilization, then choose sequence-field bits with at least twice the selective-repeat window capacity. The 2014 variant targets 60% on a 1.5Mbps link;

2 marks · NAT
Report issue

Data Link, Framing, Error Control & ARQ

Question 55, GATE 2016: A 128×10^3 bit/s satellite link has 150 ms one-way propagation delay. Selective repeat sends 1-kilobyte frames; ACK serialization is negligible. Find minimum sequence-number bits needed for 100% utilization.
Tap to enlarge
Answer & solution

Official answer: 4.0 : 4.0

Our answer: 4

Step through it (6 steps)

Using1 KiB=1024 bytes, frame serialization takes 8192/128000=0.064s. To keep the link busy for serialization plus 0.3s round-trip propagation requires W≥ceil(1+0.3/0.064)=6 frames. Selective repeat requires a sequence space of at least 2W=12, so ceil(log2 12)=4 bits. Decimal1KB gives W=ceil(1+0.3/0.0625)=6 as well, so the answer does not depend on that unit convention.

The first ACK can return only after one frame serialization plus a round trip, at 0.064+0.300=0.364 s. Six serializations span 0.384 s and avoid an idle gap; five span only 0.320 s. With m sequence bits, selective repeat requires W≤2^(m−1), so three bits allow only four outstanding frames, whereas four allow eight.

Original paper, page 43 · Answer key

2 marks · NAT
Report issue

Data Link, Framing, Error Control & ARQ

Question 28, GATE 2014: Selective-repeat ARQ sends 1 KB frames over a 1.5 Mbps link with one-way latency 50 ms. For 60% link utilization, what is the minimum number of sequence-number bits?
Tap to enlarge
Answer & solution

Official answer: 5

1. Method and setup. Ignoring acknowledgment transmission time, a window of W frames occupies W frame-transmission times during a cycle of one transmission plus a round-trip propagation delay. Thus utilization is min(1,W·Tframe/(Tframe+2Tprop)). First round the required window upward; then ensure the selective-repeat sequence space is at least twice that window.

2. Work through the result and its assumptions. With1KB=1024 bytes, transmission time is 8192/1.5×10⁶≈5.461ms. Required window W≥.6(1+100/5.461)≈11.586, hence W≥12. Selective repeat needs sequence space at least 2W=24, so ceil(log₂24)=5 bits. Decimal KB also gives 12 frames and 5 bits.

Original paper, page 13 · Answer key