Bandwidth from Latency

橙三吉。 提交于 2020-01-03 04:55:10

问题


DUPE: How to programmatically check Internet bandwidth in VC++?

Can we find the bandwidth from the latency of ping .If yes how is it done


回答1:


There is however a technique called packet pair probing.

You send to packets one immediately after the other. In theory, the less bandwidth available, the more they will spread away in arrival time.




回答2:


No, generally speaking there not much of relation. See Wiki: Comparison of latency and throughput.

Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway.
— Andrew S. Tanenbaum.

Modern sneakernet can have incredible bandwidth (imagine e.g. sending 2 x 2TB disks via courier), while their latency is of hours or even days.




回答3:


The two aren't related:

  • Latency is the difference in time between when you send something and when the receiver gets it. There is an absolute minimum latency for all transmission governed by the distance and the speed of light.

  • Bandwidth, used in the way you describe, is the amount of information that can be sent over a particular time. There is a physical limit on the amount of bandwidth you can have per volume it occupies (if we had computers made of pure energy that were as dense as possible), but it's unlikely we'll reach this anytime soon.

Some examples:

  • Low latency, low bandwidth: Connecting to a congested terminal on a LAN.
  • Low latency, high bandwidth: Transmitting over the Internet backbone.
  • High latency, low bandwidth: Dial-up modem on a congested network.
  • High latency, high bandwidth: Fill a car with hard drives and drive it to San Francisco. (This is sneakernet.)


来源:https://stackoverflow.com/questions/772113/bandwidth-from-latency

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!