subbu
subbu

Reputation: 3299

Bandwidth from Latency

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

Upvotes: 0

Views: 1564

Answers (3)

vartec
vartec

Reputation: 134601

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.

Upvotes: 8

flybywire
flybywire

Reputation: 273502

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.

Upvotes: 2

John Feminella
John Feminella

Reputation: 311506

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.)

Upvotes: 7

Related Questions