To achieve 100% link utilization, the sender window size Ws must be sufficient to keep transmitting throughout the round-trip time (RTT).
Given:
Bandwidth, B=128×103 bits/s=128000 bps
Propagation delay, Tp=150 ms=0.150 s
Frame size, L=1 KB=1024 bytes=1024×8=8192 bits
*(Taking 1 KB=1000 B=8000 bits also yields the same final integer result)*
Transmission time of an ACK, Ta≈0
Step 1: Calculate the frame transmission time (Tt)
Tt=BL=128×103 bits/s8192 bits=0.064 s=64 ms Step 2: Calculate the parameter a
a=TtTp=64 ms150 ms=2.34375 Step 3: Determine the required sender window size (Ws)
Utilization η=1+2aWs=1⟹Ws≥1+2a=1+2(2.34375)=5.6875 Since the window size must be an integer:
Ws=⌈5.6875⌉=6 Step 4: Determine the minimum number of sequence numbers for Selective Repeat
In the Selective Repeat protocol, the receiver window size is equal to the sender window size (Wr=Ws=6).
The minimum number of distinct sequence numbers required is:
N≥Ws+Wr=6+6=12 Step 5: Calculate the number of sequence number bits (k)
2k≥N⟹2k≥12⟹k=⌈log212⌉=4 Thus, the minimum number of bits required for the sequence number field is 4.