Let 𝑁 be the minimum number of bits needed for the sequence number field in the protocol header such that
i. the sequence numbers do not wrap around before 60 seconds, and
ii. the maximum utilization of the link is achieved. The value of 𝑁 is ______. (answer in integer)
Correct : 4
The correct answer is N = 30.
Given:
Wrap-around time = 60 seconds
Bandwidth = 108 bits per second = 108/8 bytes per second
Each transmitted data byte gets a unique sequence number.
Key insight: Since every byte has a unique sequence number, we need enough sequence numbers to cover all bytes transmitted during the wrap-around period of 60 seconds - so sequence numbers don''t repeat within that window.
Number of bytes transmitted in 60 seconds:
Bytes/sec = 108 / 8
Total bytes in 60s = 60 × (108 / 8) = 750,000,000 bytes
Minimum bits required:
2N ≥ 750,000,000
N ≥ log2(60 × 108/8) = log2(750,000,000) ≈ 29.48
N = ⌈29.48⌉ = 30
Note - the propagation delay is used to determine the window size for maximum utilization, but for the sequence number field size, the binding constraint is the wrap-around time condition. With 30 bits, we get 230 ≈ 1.07 billion unique sequence numbers - enough to cover all bytes in 60 seconds without any wrap-around.
Similar Questions
Total Unique Visitors