GATE Computer Science · Operating Systems and Computer Networks · medium
A point-to-point link has a bandwidth of 1 Mbps, a one-way propagation delay of 20 ms, and uses 1,000-bit data frames (ignoring ACK size and processing delay). To achieve at least 50% link utilization using Go-Back-N ARQ, what is the minimum sender window size W (in frames)?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: D. 21 frames because 1 + 2a equals 41 and ceil(0.50 * 41) equals 21
Utilization in a sliding window protocol is the fraction of one cycle that the sender spends transmitting. One cycle is the time to send one frame plus the round trip wait for its acknowledgment, so it equals Tt + 2Tp. Here Tt = 1000 bits / 10^6 bps = 1 ms and Tp = 20 ms, so a = Tp/Tt = 20 and the cycle is 1 + 2a = 41 frame times. With a window of W frames (when W is less than 1 + 2a), utilization is W/41. Requiring W/41 >= 0.50 gives W >= 20.5. Because frames are whole units, we round up to 21. Check: 21/41 is about 51.2 percent, while 20/41 is about 48.8 percent. The common trap is forgetting that acknowledgments take a full round trip, or rounding 20.5 down instead of up. Note that Go-Back-N sender window must also be at most 2^k - 1 for k-bit sequence numbers, but that does not change the minimum here.
Why the other options are wrong
- A. 11 frames calculated using one-way propagation delay (1 + a) instead of (1 + 2a) — This uses 1 + a, which is one-way propagation only, giving 21 as a cycle length and 11 as the half. Acknowledgments must travel back, so the cycle is 1 + 2a = 41 and this option understates the window needed.
- B. 20 frames which achieves 20 / 41 = 48.78% utilization, below the 50% target — A window of 20 gives 20/41, about 48.78 percent, which falls short of the 50 percent target. Since 0.50 x 41 = 20.5 is not an integer, the window must be rounded up to 21, not down to 20.
- C. 41 frames which is the window size required for 100% link saturation — A window of 41 equals 1 + 2a and gives 100 percent utilization, meaning the sender never idles. The question asks only for the minimum window reaching 50 percent, which is 21, so 41 is larger than needed.
More Operating Systems and Computer Networks questions
- Consider a counting semaphore S initialized to 7. If 12 wait(S) (P) operations and 8 signal(S) (V) operations are…
- A paged virtual memory system uses a single-level page table in main memory (access time 100 ns) and a Translation…
- An organization is allocated the CIDR block 192.168.16.0/22. How many usable host IPv4 addresses are available in this…
- Three processes P1, P2, and P3 arrive at times 0 ms, 1 ms, and 2 ms with CPU burst times of 8 ms, 4 ms, and 2 ms…
- A system has 4 processes (P1..P4) and a single resource type. Each process has a maximum claim of 4 units (Max = [4…
- A TCP connection has a Maximum Segment Size (MSS) of 1 KB and an initial congestion window (cwnd) of 1 KB, with…
- For the page reference string 1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5 with 3 initially empty page frames, how many page…
All Operating Systems and Computer Networks questions and the topic overview →
GATE is a mark of the Indian Institute of Science and the Indian Institutes of Technology. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by the GATE Committee.