Kodėl kai kurie atsisiuntimo jungtys dominuoja kitiems?

Turinys:

Kodėl kai kurie atsisiuntimo jungtys dominuoja kitiems?
Kodėl kai kurie atsisiuntimo jungtys dominuoja kitiems?

Video: Kodėl kai kurie atsisiuntimo jungtys dominuoja kitiems?

Video: Kodėl kai kurie atsisiuntimo jungtys dominuoja kitiems?
Video: THE TRUTH why we LEFT TURKEY. Ups and Downs of living in Turkey - YouTube 2024, Gegužė
Anonim
Jei dažnai atsisiunčiate kelis elementus tuo pačiu metu, tada tikriausiai pastebėjote, kad vienas atsisiuntimo ryšys linkęs dominuoti kitiems, kol jis nebus baigtas. Kodėl tai? Šiandien "SuperUser" Q & A įrašas turi atsakymą į įdomų skaitytojo klausimą.
Jei dažnai atsisiunčiate kelis elementus tuo pačiu metu, tada tikriausiai pastebėjote, kad vienas atsisiuntimo ryšys linkęs dominuoti kitiems, kol jis nebus baigtas. Kodėl tai? Šiandien "SuperUser" Q & A įrašas turi atsakymą į įdomų skaitytojo klausimą.

Šiandieninė klausimų ir atsakymų sesija pateikiama su "SuperUser" - "Stack Exchange", bendruomenės valdoma Q & A grupių asociacija.

Nuotrauka mandagumo Armando Sotoca (Flickr).

Klausimas

"SuperUser" skaitytuvas Keltari nori sužinoti, kodėl kai kurie atsisiųsti (tinklo) ryšiai dominuoja kitiems:

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?

Kodėl kai kurie atsisiųsti (tinklo) ryšiai dominuoja kitiems?

Atsakymas

"SuperUser" autorius cybernard atsako mums:

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.

Ar turite ką nors įtraukti į paaiškinimą? Garsas išjungtas komentaruose. Norite skaityti daugiau atsakymų iš kitų "Tech-savvy Stack Exchange" vartotojų? Patikrinkite visą diskusijų temą čia.

Rekomenduojamas: