计算机网络书后习题解答(国外英文资料)
计算机网络书后习题解答(国外英文资料)
Computer network books answer questions
The sixth chapter exercises
Exercise 28: consider using slow start congestion control on a line with 10 milliseconds round-trip time without the effect of network congestion. At this point, the receive window is 24KB, and the maximum data segment is 2KB. How long will it take to send the first full window, please?.
Problem-solving thinking:
The main test point lies in the principle of slow start congestion control in the transport layer.
The slow start congestion control algorithm makes the sender of the transport layer consider two potential problems, namely network capacity and receiver capacity, each time they send data to the network. To this end, each sender maintains two windows, the receiving window and the congestion window. The number of bytes that a sender can send each time is determined by the minimum value of the two windows.
When a connection is established, the sender determines the initial value of the receive window and the initial value of the congestion window. Among them,
The initial value of the L receive window is indicated by the receiver through the window domain of the TCP header = 24KB;
L congestion window initial = 1 TCP messages = 2KB (1 message lengths).
Because the congestion window < receive window > so the sender will start sending data using the 2KB defined by the congestion window.
With the initial work mentioned above, you can begin to solve problems.
Problem solving is as follows:
T=0, first send, send window = congestion window = 2KB (1 TCP message), send 2KB;
T=10 milliseconds to be confirmed (the network congestion is not indicated in the title), so the congestion window becomes = 4KB (2 TCP messages);
T=10 MS, second send, send window = 4KB;
T=20 milliseconds to confirm that the congestion window has changed to 8KB (4 TCP messages);
T=20 MS, third send, send window = 8KB;
T=30 milliseconds to confirm that the congestion window has changed to 16KB (8 TCP messages);
T=3