ISRO Scientist/Engineer CSE 2017Computer Networks › Transport Layer (TCP and Flow Control)
ISRO Scientist/Engineer CSE 2017 PYQ: Station $A$ uses $32-byte$ packets to transmit messages to Station $B$ using a sliding window protocol. The…
Station $A$ uses $32-byte$ packets to transmit messages to Station $B$ using a sliding window protocol.
The round trip time delay between $A$ and $B$ is $40\,ms$ and the bottleneck bandwidth on the path
$A$ and $B$ is $64\, kbps.$What is the optimal window size that $A$ should use?
- A5
- B10Correct answer
- C40
- D80
Answer
(B) $10$
Approach
The optimal window size is the number of packets that can be 'in flight' to fully utilize the link during one round-trip time (RTT). Compute the transmission time of one packet, then divide the RTT by it (equivalently, compute the bandwidth-delay product in bytes and divide by packet size).
Reviewed by ISRO IQ Editorial Team.