Sub topic 12
Bandwidth, Throughput, and the Bottleneck Link
Assume you know bits, bytes, bits per second, and basic unit conversion. You should also know that a network path can contain several links connected by routers.
Bandwidth and throughput
Bandwidth is the maximum data rate a link can support under stated conditions. It is usually measured in bits per second, such as Mbps or Gbps. A 100 Mbps link can transmit at most 100 million bits per second.
Throughput is the data rate actually achieved by a flow or connection. It may be lower than the link bandwidth because of:
- Other traffic sharing the link
- Queuing and congestion
- Protocol headers and acknowledgements
- Packet loss and retransmissions
- Slow sender or receiver
- Limits caused by propagation delay and flow control
For a single flow crossing several serial links, the ideal maximum throughput is limited by the slowest link:
\[ \text{throughput}{\max} = \min(C1,C2,\ldots,Cn) \]
Here, \(C_i\) is the capacity of link \(i\). The slowest link is called the bottleneck link.
| Link | Capacity | Role |
|---|---|---|
| 1 | 100 Mbps | Faster access link |
| 2 | 10 Mbps | Bottleneck |
| 3 | 50 Mbps | Faster outgoing link |
For this path, the ideal maximum throughput is 10 Mbps. Increasing the 100 Mbps link to 1 Gbps does not improve this flow. The 10 Mbps link still limits the path.
Finding the bottleneck
Imagine packets moving from a sender to a receiver:
The minimum-capacity rule assumes that:
- The links are used by one flow.
- Routers can forward packets fast enough.
- There is no packet loss or protocol limit.
- The flow has enough data to keep the path busy.
In a real network, measured throughput is often below the minimum link capacity. A bottleneck can also be shared by several flows. If four similar flows share a 20 Mbps bottleneck, each may receive about 5 Mbps, although fairness is not guaranteed.
Worked calculation
Suppose a path has capacities of 1 Gbps, 80 Mbps, 200 Mbps, and 100 Mbps. Convert units if necessary, then select the smallest value:
\[ \min(1000,80,200,100)=80\text{ Mbps} \]
Thus, the ideal aggregate throughput is 80 Mbps. If the application sends 60 Mbps, the path can carry it without saturating the bottleneck. If it sends 120 Mbps, packets accumulate near the 80 Mbps link, causing queuing delay and possibly loss.
def path_capacity(capacities_mbps):
"""Return the ideal maximum throughput of a serial path."""
if not capacities_mbps:
raise ValueError("the path needs at least one link")
return min(capacities_mbps)
links = [1000, 80, 200, 100]
print(path_capacity(links), "Mbps") # 80 MbpsCommon errors
Do not add serial link capacities. A 100 Mbps link followed by a 10 Mbps link does not provide 110 Mbps to one flow. Addition is useful for independent parallel paths only when traffic can actually use them.
Do not confuse throughput with transmission delay. A high-capacity link can send a packet quickly, but a long physical path can still have large propagation delay.
Exercise
A flow crosses links of 40 Mbps, 5 Mbps, and 25 Mbps. What is its ideal maximum throughput, and what happens if it sends at 8 Mbps?
Show answer
The ideal maximum is 5 Mbps, because that is the bottleneck. Sending at 8 Mbps overloads that link, so a queue grows and packets may eventually be dropped.