Station A uses 32 byte packets to transmit messages to Station B using a…

2006

Station A uses 32 byte packets to transmit messages to Station B using a sliding window protocol. The round trip delay between A and B is 80 milliseconds and the bottleneck bandwidth on the path between A and B is 128 kbps. What is the optimal window size that A should use?

  1. A.

    20

  2. B.

    40

  3. C.

    160

  4. D.

    320

Attempted by 93 students.

Show answer & explanation

Correct answer: B

Solution: Find the window that fills the path (bandwidth–delay product).

  1. Compute the bandwidth–delay product (BDP):

    BDP = bandwidth × RTT = 128 kbps × 0.08 s = 128,000 bits/s × 0.08 s = 10,240 bits.

  2. Convert packet size to bits:

    32 bytes = 32 × 8 = 256 bits.

  3. Calculate the required window in packets:

    Window = BDP / packet size = 10,240 bits / 256 bits = 40 packets.

Therefore, the optimal window size to fully utilize the 128 kbps link with an 80 ms round-trip time and 32-byte packets is 40 packets.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Gate Guidance By Sanchit Sir