Comes from the analog electronics era.
In the Digital era, it is a measure of throughput. That is how many bits per second we are pushing through the pipe.
If you download 1 million bits in 5 seconds what is your bandwidth?
BW = bits/time
Depends on what quality you want:
Lets look at the low end case and the high end case. Low first.
How do we convert these numbers into bandwidth?
How do we usually measure bandwidth?
Lets convert GigaBytes (GB) per hour into Megabits (Mb) per second (Mbps)
Please just use these orders of magnitude. Some people get all out of whack over whether a kilobyte is 1000 bytes or 1024 bytes. In this book, and in this class a kilobyte is 1000 bytes. If this upsets you, get over it now. If you do homework and use 1024 your answers will be different than mine and the answer key I got from the authors. This will make all of your calculations more difficult. According to Wikipedia and other authorities 1024 bytes or $2^{10}$ bytes is really a kibibyte http://en.wikipedia.org/wiki/Kibibyte
In [2]:
bytesPerSecond = 2.3e9 / 60 / 60
print(bytesPerSecond)
Gives us a result of how many bytes per second. Remember that there are 8 bits in every byte.
In [3]:
bitsPerSecond = bytesPerSecond * 8
print(bitsPerSecond)
Out[3]:
gives us the number of bits per second
Now do the math for High Def.
What is Luther's total bandwidth??
How many students does it take watching netflix at Good, and Best HD to use it all up??
In [4]:
lutherbw = 2.0e9
lutherbw / bitsPerSecond
Out[4]:
In [9]:
%pylab inline
rates = [0.3e9, 0.7e9, 1.0e9, 2.3e9]
numStudents = [lutherbw / (8*x/60/60) for x in rates]
plot(rates,numStudents)
According to FIFA: "The 2014 FIFA World Cup™ has set new records for streaming data traffic around the world, as football fans watch matches online in greater numbers than ever before."
Lets look at the bandwidth used for the U.S. going to one particular game, the round of 16 match between the U.S. and Belgium where 5.3 million people streamed! the game online.
How much bandwidth did FIFA/ESPN use during the World Cup?
Make some reasonable assumptions, do some googling, and figure out how much bandwidth the World Cup consumed in video streaming?
Bandwidth Used:
In [0]:
total delay = $d_{proc} + d_{queue} + d_{trans} + d_{prop}$
In [2]:
decorahToLondon_meters = 6503e3
earthToSatellite_meters = 35786e3
delay(time) = distance / speed
In [4]:
satDelay = 2 * earthToSatellite_meters / 3.0e8
print("Satalite delay is",satDelay)
fiberDelay = decorahToLondon_meters / 2.5e8
print("Fiber delay is", fiberDelay)
Lets suppose that the fiber optic link is OC-48 which means it has a throughput of $48 \cdot 51.8$Mbps or 2.448Gbps. From now on we'll refer to throughput as R. The bandwidth delay product is defined as $R \cdot d_{prop}$ Lets calculate the bandwidth delay product for the fiber link:
In [5]:
Rfiber = 2.448e9
print(Rfiber * fiberDelay)
In [ ]:
decorahToLondon_meters / (Rfiber * fiberDelay)
In [ ]:
Rsat = 1e9
earthToSatellite_meters / (Rsat * satDelay)
In [ ]: