Question
Assume that the bandwidth for a TCP connection is 1048560 bits/sec. Let be the value of RTT in milliseconds (rounded off to the nearest integer) after which the TCP window scale option is needed. Let be the maximum possible window size with window scale option. Then the values of and are
Official answer and solution
- Official answer
- C
- From
- Official GATE 2015 answer key
Solution
Relate the maximum 16-bit TCP receive window to the Bandwidth-Delay Product (BDP) and apply RFC 1323 scale factor constraints.
- Calculating :
The standard TCP header includes a 16-bit window size field, allowing a maximum unscaled window of:
The TCP Window Scale option is required when the Bandwidth-Delay Product exceeds this unscaled limit:
Given :
Hence, .
- Calculating :
RFC 1323 specifies that the Window Scale option carries a 1-byte scale factor shift count up to 14 (shift values larger than 14 are prohibited because bits, fitting comfortably within the 32-bit TCP sequence space).
With a scale factor of , the maximum possible window size is:
Thus, and (option C).
C
Assuming a 16-bit scale factor () rather than the RFC 1323 limit of 14 bits ().
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2015 Computer Science and Information Technology (CS) Session 2
- Question
- 44 of 65, printed as CS Q.34
- 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.