Skip to content

GATE CS 2016 Set 2 Q55 — Transport Layer: Flow Control, Congestion Control, UDP, TCP, Sockets

Explain with AI
Consider a 128×103128 \times 10^3 bits/second satellite communication link with one way propagation delay of 150150 milliseconds. Selective retransmission (repeat) protocol is used on this link to send data with a frame size of 11 kilobyte. Neglect the transmission time of acknowledgement. The minimum number of bits required for the sequence number field to achieve 100%100 \% utilization is ________.
View worked solution

Answer: 4

To achieve 100%100\% utilization, the sender must be able to transmit continuously during the round-trip time. This requires a minimum sender window size (WsW_s).

1. Calculate Transmission Delay (TtT_t):
Using 1 kilobyte=1024 bytes1 \text{ kilobyte} = 1024 \text{ bytes}:
Tt=Frame SizeBandwidth=1024×8 bits128×103 bps=64 msT_t = \frac{\text{Frame Size}}{\text{Bandwidth}} = \frac{1024 \times 8 \text{ bits}}{128 \times 10^3 \text{ bps}} = 64 \text{ ms}

2. Calculate Minimum Sender Window Size (WsW_s):
With propagation delay Tp=150 msT_p = 150 \text{ ms}:
Ws≥Tt+2TpTt=1+30064=5.6875W_s \ge \frac{T_t + 2T_p}{T_t} = 1 + \frac{300}{64} = 5.6875
Since the window size must be an integer, the minimum Ws=6W_s = 6.

3. Calculate Sequence Number Bits (nn):
In the Selective Repeat protocol, the sequence number space size (NN) must satisfy:
N≥Ws+WrN \ge W_s + W_r
Since Ws=WrW_s = W_r in Selective Repeat:
N≥2Ws=12N \ge 2 W_s = 12
The minimum number of bits nn required is:
n=⌈log⁡2(12)⌉=4n = \lceil \log_2(12) \rceil = 4

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Transport Layer: Flow Control, Congestion Control, UDP, TCP, Sockets questions