Question
Consider a selective repeat sliding window protocol that uses a frame size of 1 KB to send data on a 1.5 Mbps link with a one-way latency of 50 msec. To achieve a link utilization of 60%, the minimum number of bits required to represent the sequence number field is ________.
Official answer and solution
- Official answer
- 5
- From
- Official GATE 2014 answer key
Solution
Compute transmission delay and propagation delay parameter , determine sender window size for 60% efficiency, and find the minimum bits needed for sequence numbers in Selective Repeat.
Given parameters:
- Frame size .
- Bandwidth .
- One-way latency .
Transmission delay:
Propagation ratio :
Link utilization formula for sliding window:
Thus, the minimum sender window size is .
In Selective Repeat protocol, the receiver window equals the sender window ().
The sequence number space must satisfy:
Taking the base-2 logarithm:
Thus, 5 bits are required.
5
Using Go-Back-N condition instead of Selective Repeat condition .
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2014 Computer Science and Information Technology (CS) Session 1
- Question
- 38 of 65, printed as CS Q.28
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.