Edexcel International Advanced Level Computer Science, point 3.1.2
Four measures describe how well a network connection performs.
a. Bandwidth
- Definition: the maximum amount of data that a connection can carry in a given time, normally measured in bits per second (kb/s, Mb/s, Gb/s).
- Characteristics: it is the capacity of the link, like the width of a pipe. It's shared between everyone using the connection. A wider bandwidth lets more data flow at once, but doesn't make each bit travel faster.
- Bottleneck: data can only flow as fast as the slowest link on its route. A 100 Mbps router on a network of 1 Gbps links limits everything that passes through it to 100 Mbps.
b. Speed (transfer rate)
- Definition: the rate at which data is actually transferred, in bits per second.
- Characteristics: it's usually lower than the bandwidth, because of:
- Other users sharing the link (congestion).
- Protocol overhead (headers, acknowledgements, error checking).
- Interference and errors, which cause retransmission.
- Distance and the quality of the medium.
- Slow devices at either end.
Bandwidth is what the link could carry. Transfer rate is what it actually carries.
Network speeds use decimal prefixes (2.1.2): 1 Mb/s = 1 000 000 bits per second. For file sizes, follow the prefix you are given: 1 MB = 10⁶ bytes, but 1 MiB = 2²⁰ = 1 048 576 bytes. And 1 byte = 8 bits.
c. Latency
- Definition: the delay between sending a signal and it arriving, measured in milliseconds (ms). It's often given as the round-trip time (ping).
- Characteristics: it depends on:
- Distance (signals travel at a limited speed, even through fibre).
- The number of devices (hops) the data passes through, each adding delay.
- Congestion (data waits in queues).
- The medium (satellite links have a high latency).
- Why it matters: low latency is crucial for video calls, online gaming and remote control. Bandwidth matters more for big downloads and streaming.
| High bandwidth, high latency | Low bandwidth, low latency | |
|---|---|---|
| Good for | Large downloads, HD streaming | Online games, voice calls |
| Poor for | Fast-reacting games | Large file transfers |
d. Range
- Definition: the maximum distance over which a signal can travel and still be received reliably.
- Characteristics: it depends on the medium, and the power of the signal. Signals weaken (attenuate) with distance.
- Copper (Ethernet): about 100 m.
- Fibre: many kilometres (up to hundreds with repeaters).
- Wi-Fi: tens of metres, reduced by walls and interference.
- Bluetooth: a few metres to about 10 m (class dependent).
- Cellular: kilometres from the mast.
- Extending range: repeaters and amplifiers, extra access points, better antennas.
Expressions: file size, transfer rate and time
Be careful with units: convert the file size to bits and the rate to bits per second (or both to bytes) before dividing.
Example 1: time for a download
How long does a 2 GB file take to download at a transfer rate of 200 Mb/s?
- File size in bits bits.
- Rate bits per second.
- Time seconds.
Example 2: file size
A connection carries 50 Mb/s for 30 seconds. How many MB is that?
- Bits (1500 Mb).
- Bytes , so 187.5 MB.
Example 3: actual rate when only part of the bandwidth is available
A link has a bandwidth of 100 Mb/s, but overhead and congestion leave 70% available. A 350 MB file:
- Rate Mb/s.
- Size Mb.
- Time seconds.
Sizes in MiB without a calculator
If a size is given in MiB, bytes, which is about 1.05 MB. Keep the powers of 2 in your working, and either leave the answer as an expression or estimate. For example, 16 MiB at 8 Mb/s is seconds, a little under 17 seconds (since ).
Improving performance
- More bandwidth: fibre instead of copper, a faster plan.
- Reduce congestion: switches instead of hubs, QoS (quality of service), fewer users.
- Reduce latency: fewer hops, nearby servers (a content delivery network), wired rather than wireless.
- Compress the data, so there are fewer bits to send.
- Better signal: closer to the access point, less interference.
Worked example
Task: a student has a 150 Mb/s connection, but a speed test shows a transfer rate of 90 Mb/s and a ping of 40 ms. (a) Give two reasons why the rate is below the bandwidth. (b) How long will a 900 MB video take to download? (c) Which matters more for a video call?
(a) Any two of: others sharing the connection, protocol overhead, Wi-Fi interference or distance from the router, a busy server.
(b)
- Size Mb.
- Rate Mb/s.
- Time seconds.
(c) Latency matters more for a video call, because delay makes conversation awkward. Bandwidth matters as long as there's enough (a few Mb/s) to carry the video.
Exam tip: convert all quantities to the same units first: bytes to bits () and Mb/s to bits per second (). Speeds use decimal prefixes; for file sizes, use the prefix given (MB = 10⁶ bytes, MiB = 2²⁰ bytes). The paper is non-calculator, so keep the working in powers of 10 (or 2) and cancel before dividing. State the formula, show the working, and include units in the answer. Be ready to explain the difference between bandwidth and transfer rate.
Check yourself
What is the difference between bandwidth and latency?
Bandwidth is the maximum amount of data a connection can carry per second. Latency is the delay between sending data and it arriving.
Why is the transfer rate usually lower than the bandwidth?
Other users share the link, protocols add overhead, interference causes errors and retransmission, and devices or servers may be slower.
How long does a 10 MB file take at 8 Mb/s? (use 1 MB = 10⁶ bytes)
10 000 000 × 8 = 80 000 000 bits, divided by 8 000 000 = 10 seconds.
Which is more important for online gaming, bandwidth or latency?
Latency, because delay makes the game respond slowly, whereas the amount of data sent is small.
What is the range of a network signal, and what can extend it?
The maximum distance over which a signal can be received reliably. Repeaters, extra access points or a better medium can extend it.