考虑一个连接两个相距8000公里的系统的网络。网络的带宽为每秒500×10 6位。媒体的传播速度为每秒4×10 6米。需要为此网络设计一个Go-Back-N滑动窗口协议。平均包大小为10 7位。该网络将被用尽其全部容量。假设节点处的处理延迟可以忽略不计。然后,序列号字段的最小大小必须为________。
(A) 2
(B) 4
(C) 8
(D) 16答案: (C)
解释:
Propagation time = (8000 * 1000)/ (4 * 10^6)
= 2 seconds
Total round trip propagation time = 4 seconds
Transmission time for one packet = (packet size) / (bandwidth)
= (10^7) / (500 * 10^6)
= 0.02 seconds
Total number of packets that can be transferred before an
acknowledgement comes back = 4 / 0.02 = 200
Maximum possible window size is 200.
In Go-Back-N, maximum sequence number should be one more than
window size.
So total 201 sequence numbers are needed. 201 different sequence
numbers can be represented using 8 bits.
这个问题的测验