Sliding window protocol: L = 1000 bits, R = 100 Kbps, Tp = 100 ms, Tpm = 0. Find optimal window size?
Correct Answer :
21
Solution :
The correct answer is 21.
To find the optimal window size for the sliding window protocol, we must calculate the window size that allows the sender to transmit continuously without waiting for acknowledgments (ACKs), thereby achieving 100% link utilization. Let's break down the solution step-by-step:
1. Identify the given parameters:
- Packet size () = 1000 bits
- Transmission rate () = 100 Kbps = 100,000 bits per second (bps)
- Propagation delay () = 100 ms = 0.1 seconds
- Acknowledgment transmission/processing delay () = 0 ms
2. Calculate the Transmission Delay ():
Transmission delay is the time required to push all of the packet's bits onto the link:
Substituting the values:
3. Calculate the total Cycle Time ():
The total cycle time is the time elapsed from the start of packet transmission until the acknowledgment for that packet is received back at the sender. It includes transmission delay, round-trip propagation delay, and acknowledgment processing time:
Substituting the values:
4. Calculate the Optimal Window Size ():
The optimal window size is the number of packets the sender needs to transmit during one full cycle time to keep the channel fully busy:
Substituting the calculated times:
Therefore, the optimal window size is 21.
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Mindyard. Perfect for teachers and institutes.
Copyright © 2026 Mindyard. All Rights Reserved.