为什么一些下载连接会支配其他连接?

如果您经常在同一时间下载多个项目,那么您可能已经注意到一个下载连接往往会主导其他连接,直到它完成。为什么?今天的超级用户问答帖子回答了一位好奇的读者的问题。...

为什么一些下载连接会支配其他连接?

如果您经常在同一时间下载多个项目,那么您可能已经注意到一个下载连接往往会主导其他连接,直到它完成。为什么?今天的超级用户问答帖子回答了一位好奇的读者的问题。

今天的问答环节是由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
  • 阅读 ( 117 )
  • 分类:互联网

你可能感兴趣的文章

痔疮(hemorrhoids)和裂缝(fissures)的区别

...擦损伤而导致的**瓣膜撕裂。这就是痔疮和裂隙的区别。 下载裂缝vs痔疮的pdf版本 你可以下载这篇文章的PDF版本,并按照引文说明离线使用。请在这里下载PDF版本痔疮和裂隙的区别 引用 1.Lowry,J.(2006年)。《外科疾病的症状和...

  • 发布于 2020-10-09 17:24
  • 阅读 ( 468 )

如何在windows 10中将wi-fi和以太网连接设置为按流量计费

... 为什么要使用按流量计费的连接 ...

  • 发布于 2021-03-14 08:55
  • 阅读 ( 281 )

阻止windows update打破移动数据上限

... 这可能会很快消耗掉您的数据余量,这就是为什么使用计量模式是一个好主意。 ...

  • 发布于 2021-03-17 11:36
  • 阅读 ( 216 )

我的isp怎么知道我在使用bittorrent?

...如果ISP不关心你使用他们的服务下载文件使用BitTorrent,为什么人们会收到信件告诉他们停止使用它? 如果你下载的是torrent,你可以看到你连接到的每个IP地址。这就是为什么许多媒体公司和大型版权持有者加入了盗版内容的流...

  • 发布于 2021-04-02 22:48
  • 阅读 ( 226 )

网速测试是如何工作的?(它们有多准确?)

...,所以数据不必走那么远。企业都知道近在咫尺,这就是为什么像Netflix这样的一些公司会使用内容交付网络让数据离你更近。 但整个互联网并不是离你很近。其中大部分都在很远的电脑上,有时在全国各地,有时在另一个国家...

  • 发布于 2021-04-03 09:38
  • 阅读 ( 236 )

如何加快playstation 4的下载速度

...能设计这种行为是为了优先考虑游戏和其他软件,这就是为什么你可以从PSN下载物品,仍然玩在线游戏。如果你急于下载完成,最好停止运行游戏或应用程序,做点别的事情。 暂停并继续下载 我们看到的另一个有用的技巧是暂...

  • 发布于 2021-04-03 10:12
  • 阅读 ( 278 )

https几乎无处不在。那么,为什么现在的互联网不安全呢?

...谷歌现在警告说,未加密的HTTP网站“不安全”。那么,为什么网上仍然有那么多恶意软件、网络钓鱼和其他危险活动呢? “安全”网站只是有一个安全的连接 当你使用HTTPS访问一个网站时,Chrome曾经在地址栏上显示“安全”...

  • 发布于 2021-04-04 04:37
  • 阅读 ( 312 )

如何阻止Windows10通过互联网上传更新到其他PC

...还可以将连接设置为按流量计费 相关:如何、何时以及为什么在Windows10上设置按流量计费的连接 您还可以将当前的Wi-Fi连接设置为“按流量计费”。当您将连接设置为按流量计费时,您会告诉Windows这是一个与受限制数据的连接...

  • 发布于 2021-04-07 04:08
  • 阅读 ( 196 )

如何限制windows 10在捆绑时的数据使用

...的有线wi-fi热点设置为按流量计费 相关:如何、何时以及为什么在Windows10上设置按流量计费的连接 你可以在**上创建一个Wi-Fi接入点,然后将你的Windows10PC连接到该Wi-Fi接入点。自从windows8以来,就有一种方法可以告诉Windows你使用...

  • 发布于 2021-04-07 10:58
  • 阅读 ( 238 )

你应该为更快的互联网连接支付更多的费用吗?

...的基础设施已经到位,可以为您提供这种服务。 相关:为什么你可能得不到你支付的网速(以及如何判断) 问题是,根据你的ISP、你所在地区的基础设施和你的邻居的不同,你可能一开始就得不到你支付的网速。这就是为什么...

  • 发布于 2021-04-07 12:09
  • 阅读 ( 170 )
375909907
375909907

0 篇文章

相关推荐