Tại sao một số kết nối tải xuống thống trị những người khác?

Mục lục:

Tại sao một số kết nối tải xuống thống trị những người khác?
Tại sao một số kết nối tải xuống thống trị những người khác?

Video: Tại sao một số kết nối tải xuống thống trị những người khác?

Video: Tại sao một số kết nối tải xuống thống trị những người khác?
Video: Cách Thay Đổi Toàn Bộ Cuộc Sống Trong 1 Tuần (Nghiêm Túc Thay Đổi Vận Mệnh) - YouTube 2024, Tháng tư
Anonim
Nếu bạn thường xuyên tải xuống nhiều mục cùng một lúc, thì bạn có thể nhận thấy rằng một kết nối tải xuống có xu hướng chiếm ưu thế hơn các mục khác cho đến khi kết thúc. Tại sao vậy? Bài đăng Hỏi & Đáp của SuperUser hôm nay có câu trả lời cho câu hỏi của người đọc tò mò.
Nếu bạn thường xuyên tải xuống nhiều mục cùng một lúc, thì bạn có thể nhận thấy rằng một kết nối tải xuống có xu hướng chiếm ưu thế hơn các mục khác cho đến khi kết thúc. Tại sao vậy? Bài đăng Hỏi & Đáp của SuperUser hôm nay có câu trả lời cho câu hỏi của người đọc tò mò.

Phiên Hỏi & Đáp hôm nay đến với chúng tôi theo lịch sự của SuperUser - một phân khu của Stack Exchange, một nhóm các trang web Hỏi & Đáp do cộng đồng điều hành.

Ảnh lịch sự của Armando Sotoca (Flickr).

Câu hỏi

Người đọc SuperUser Keltari muốn biết lý do tại sao một số kết nối tải xuống (mạng) chiếm ưu thế hơn các kết nối khác:

I have my suspicions as to why, but I want someone with a stronger background in networking to explain.

Why is it that when downloading from multiple (different) locations, certain connections saturate the bandwidth, leaving other connections almost idle until the dominant connection is finished?

Tại sao một số kết nối tải xuống (mạng) chiếm ưu thế hơn các kết nối khác?

Câu trả lời

Siêu người đóng góp cybernard có câu trả lời cho chúng tôi:

Generally, the fastest connection wins. However, before Windows 7, networking was a mess and performance was awful all around. Trying to get more than 20mb/s from Windows XP, for example? Good luck with that.

The standard TCP congestion avoidance algorithm employs an additive increase and multiplicative decrease (AIMD) scheme. When there is no packet loss detected (by means of three duplicate-ACKs or retransmission timeout), the congestion window (cwnd) is increased by one Maximum Segment Size (MSS) every RTT. Otherwise, if a packet loss is detected, the TCP sender decreases cwnd by half. In a high-speed and long delay network, it requires a very large window, e.g. thousands of packets, to fully utilize the link capacity. Therefore, it will take the standard TCP many RTTs to recover the sending rate upon a single loss event. Moreover, it is well-known now that the average TCP congestion window is inversely proportional to the square root of the packet loss rate.

Source: A Compound TCP Approach for High-speed and Long Distance Networks [Microsoft]

A faster connection has more successful packets, therefore its cwnd/MSS is increased and it gets even more of the total connection.

Có cái gì để thêm vào lời giải thích? Tắt âm thanh trong các ý kiến. Bạn muốn đọc thêm câu trả lời từ những người dùng Stack Exchange có hiểu biết công nghệ khác? Xem toàn bộ chuỗi thảo luận tại đây.

Đề xuất: