Sub topic 5
Sharing a Link: FDM, TDM, and Statistical Multiplexing
Assume you know that a link has finite capacity measured in bits per second. This chapter explains how several data streams share that capacity. Multiplexing is the technique of combining multiple streams for transmission over one physical link.
Why multiplexing is needed
A physical link may connect many users, computers, or applications. Giving every stream a separate cable would waste capacity when some streams are idle. Multiplexing allows several streams to use the same link.
A multiplexer combines streams at the sender. A demultiplexer separates them at the receiver.
The three main methods differ in what resource each stream receives.
| Method | Shared resource | Streams transmit |
|---|---|---|
| FDM | Frequency range | At the same time on different frequencies |
| TDM | Time slots | At different times |
| Statistical multiplexing | Dynamically assigned transmission opportunities | When they have data to send |
Frequency-division multiplexing
In frequency-division multiplexing, or FDM, the link's frequency range is divided into separate frequency bands. Each stream uses one band continuously or for as long as its connection exists.
For example, a 100 MHz communication channel might assign 20 MHz to each of five streams. Guard bands may be placed between adjacent bands to reduce interference. Therefore, the useful capacity can be less than the total physical frequency range.
FDM is useful when streams need continuous, predictable access. Traditional radio and cable television systems use this idea.
Time-division multiplexing
In time-division multiplexing, or TDM, all streams use the same frequency range, but each stream receives specific time slots.
In synchronous TDM, the schedule repeats in a fixed frame. If four streams share a link, a frame might contain one slot for each stream:
- Stream A uses slot 1.
- Stream B uses slot 2.
- Stream C uses slot 3.
- Stream D uses slot 4.
A stream may receive an empty slot when it has no data. This makes synchronous TDM simple and predictable, but it can waste capacity.
Statistical multiplexing
Statistical multiplexing assigns capacity according to demand. A stream sends a packet when it has data, and the multiplexer places that packet into an available transmission opportunity.
This method does not reserve a fixed slot for every stream. It uses capacity efficiently when data arrives irregularly. However, several active streams may compete at once. Packets can then wait in a queue, creating queuing delay.
Packet-switched networks commonly use statistical multiplexing. The network may also need buffers, scheduling rules, and congestion control.
Worked comparison
Suppose four sources share a 40 Mbps link. With equal synchronous TDM, each source receives 10 Mbps whether or not it is active. With statistical multiplexing, an active source may use more than 10 Mbps when other sources are idle, but it cannot exceed the link's 40 Mbps capacity in total.
This small program compares reserved TDM capacity with the demand-based total:
link_rate = 40 # Mbps
sources = [12, 4, 0, 8] # current demands in Mbps
tdm_rate_per_source = link_rate / len(sources)
statistical_load = min(sum(sources), link_rate)
print(tdm_rate_per_source) # 10.0 Mbps reserved for each source
print(statistical_load) # 24 Mbps currently carriedThe unused 16 Mbps can potentially serve later traffic under statistical multiplexing. If total demand becomes greater than 40 Mbps, packets must wait or some traffic must be discarded.
Exercise
Four sources share a 60 Mbps link using synchronous TDM. What rate is reserved for each source, and what happens if only two sources are active?
Show answer
Each source receives 15 Mbps. The two inactive sources still have reserved slots, so their unused 30 Mbps is wasted unless the system uses a dynamic or statistical method.