GATE / CS ARCHIVE

GATE CSE 2003 / QUESTION 84

Sliding-window throughput and bit-byte mismatch

Computer Networks · Data Link, Framing, Error Control & ARQ · Full GATE CSE 2003 paper

GATE 2003, Q84 2 marks · MCQ
Report issue

Data Link, Framing, Error Control & ARQ

Question 84, GATE 2003: A sends data to B over a full-duplex link using a sliding-window protocol. Send and receive windows each hold five packets. Data packets are 1000 bytes and take 50 μs to transmit. ACKs travel only B→A and have negligible transmission time. One-way propagation is 200 μs. What is maximum achievable throughput?
A. 7.69×10^6 bps
B. 11.11×10^6 bps
C. 12.33×10^6 bps
D. 15.00×10^6 bps
Both reproductions print packet size in bytes and options in bits per second.
Tap to enlarge
Your answer
Answer & solution

Answer: None (no official key was published)

1. The raw link rate is 1000×8/(50×10−6)=160×106 bits/s.
2. Packet 1 finishes leaving A at 50 μs and reaches B at 250 μs. Its immediate ACK returns to A at 450 μs. Meanwhile A can send packets 1–5 during 0–250 μs and must wait before sending packet 6 at 450 μs.
3. The ACKs then space subsequent transmissions 50 μs apart, giving recurrent batches of five packets per 450 μs. Window-limited throughput=5×1000×8/(450×10−6)=88.888... Mbit/s, below the raw rate.
4. No option matches. 5000/(450 μs)=11.111... million bytes/s, numerically close to B but with the wrong unit. Accepting B would silently discard the factor eight, so the baseline unanswered status is retained.

Solution: The physical data rate is 1000×8/(50 microseconds)=160 Mbit/s. The acknowledgment for the first packet can return after one packet transmission plus two propagation delays: 50+2×200=450 microseconds. A window of five permits 5×1000×8=40000 transmitted bits during that interval, hence the achievable steady-state rate is min(160 Mbit/s,40000/450 microseconds)=88.888… Mbit/s. None of the printed options equals this. Dividing 5000 bytes by 450 microseconds gives 11.111… million bytes/s, which numerically resembles option B but is not 11.11 million bits/s. The packet size is printed in bytes and every answer is printed in bps in both sources, so B cannot be accepted without changing a unit.

Original paper, page 12