為什麼一些下載連線會支配其他連線?

如果您經常在同一時間下載多個專案,那麼您可能已經注意到一個下載連線往往會主導其他連線,直到它完成。為什麼?今天的超級使用者問答帖子回答了一位好奇的讀者的問題。...

為什麼一些下載連線會支配其他連線?

如果您經常在同一時間下載多個專案,那麼您可能已經注意到一個下載連線往往會主導其他連線,直到它完成。為什麼?今天的超級使用者問答帖子回答了一位好奇的讀者的問題。

今天的問答環節是由SuperUser提供的,SuperUser是Stack Exchange的一個分支,是一個由社群驅動的問答網站分組。

圖片由Armando Sotoca(Flickr)提供。

問題

超級使用者讀者Keltari想知道為什麼一些下載(網路)連線主導了其他連線:

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

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

為什麼一些下載(網路)連線主導了其他連線?

答案

超級使用者貢獻者cybernard為我們提供了答案:

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 retran**ission 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.


有什麼要補充的解釋嗎?在評論中發出聲音。想從其他精通技術的Stack Exchange使用者那裡瞭解更多答案嗎?在這裡檢視完整的討論主題。

  • 發表於 2021-04-09 22:54
  • 閱讀 ( 13 )
  • 分類:網際網路

你可能感興趣的文章

linux終端的5個聯網命令

... 在你執行這個命令之後,看起來什麼都沒有發生,你的游標會一直閃爍。但是,在這個命令中發生了兩件事。有一個無限的ping正在執行,它將ping命令的輸出透過管道傳輸到一個名為someFile.txt檔案在同一...

  • 發佈於 2021-03-13 15:30
  • 閲讀 ( 53 )

在mac上執行windows程式的最簡單方法

... 如果上述解決方案都不適用於您,為什麼不以不同的方式解決問題呢?那些已經擁有Windows電腦的人可以簡單地使用遠端控制軟體從Mac**問Windows。 ...

  • 發佈於 2021-03-14 01:03
  • 閲讀 ( 54 )

修復遠端桌面連線和螢幕問題的8個技巧

... windows10家庭使用者正在與遠端桌面進行鬥爭。為什麼?因為Windows10Home不支援傳入連線。至少,不是天生的。Windows 10 Home使用者可以與其他計算機建立傳出遠端桌面連線(不執行Windows 10 Home!)反之亦然。謝天謝地,...

  • 發佈於 2021-03-18 02:45
  • 閲讀 ( 60 )

這就是為什麼你的耳機老是壞(以及你能做什麼)

... 為什麼你的耳塞和耳機老是斷開?以下是幾個常見的錯誤,在他們的適當時間之前會把耳機弄壞。 ...

  • 發佈於 2021-03-18 11:28
  • 閲讀 ( 48 )

用emby把你的raspberry pi變成一個媒體伺服器

... 有關更多資訊,下面是為什麼您應該忘記Plex和Kodi,而改用Emby。 ...

  • 發佈於 2021-03-19 08:43
  • 閲讀 ( 63 )

如何避免假廣告偽裝成假下載連結

...裝成下載按鈕的廣告是一個巨大的痛苦。讓我們看看它們為什麼存在,如何發現它們,以及如何避免廣告。 ...

  • 發佈於 2021-03-20 03:57
  • 閲讀 ( 61 )

5個常見的pc遊戲問題(以及如何解決)

...更高的ping,因為你的輸入必須經過更遠的距離。這就是為什麼最好選擇儘可能靠近您的伺服器。 ...

  • 發佈於 2021-03-20 05:27
  • 閲讀 ( 58 )

安全測試防病毒軟體的5種方法

如果你擔心你的防毒軟體有多好,為什麼要等到為時已晚?有一些安全的方法,你可以測試你的防病毒軟體,以確保它的工作正常。 ...

  • 發佈於 2021-03-20 09:49
  • 閲讀 ( 58 )

什麼是vpn終止開關?這就是為什麼你需要一個

... 為什麼VPN連線會突然中斷?可能您連線的VPN伺服器遇到了大量流量。或者你可能因為你的網路連線不穩定而斷開了連線。 ...

  • 發佈於 2021-03-21 12:04
  • 閲讀 ( 54 )

如何在帶螢幕的linux終端上進行多工處理

...具。但是,它並不是Linux終端工具箱的唯一命令,這就是為什麼您應該將這個重要Linux命令的備忘單新增為書籤的原因。 ...

  • 發佈於 2021-03-21 22:09
  • 閲讀 ( 41 )
375909907
375909907

0 篇文章

作家榜

  1. admin 0 文章
  2. 孫小欽 0 文章
  3. JVhby0 0 文章
  4. fvpvzrr 0 文章
  5. 0sus8kksc 0 文章
  6. zsfn1903 0 文章
  7. w91395898 0 文章
  8. SuperQueen123 0 文章

相關推薦