Sub topic 6
Sharing One Channel: Static Versus Dynamic Allocation
Assume you know that the data link layer moves frames between neighboring nodes and that several nodes may share one physical channel. The medium access control (MAC) problem is deciding which node may transmit, when it may transmit, and what happens when two nodes transmit together.
If two signals overlap, the receiver may get a corrupted frame. A good allocation method should reduce collisions, use the channel efficiently, and avoid making a node wait unnecessarily.
Static channel allocation
Static allocation divides the channel among nodes before transmission begins. Each node receives a fixed portion of the channel.
Common methods include:
- Frequency-division multiplexing (FDM): each node uses a different frequency band.
- Time-division multiplexing (TDM): each node receives recurring time slots.
- Code-division methods: nodes transmit at the same time and frequency but use different codes.
Static allocation works well when traffic is continuous and predictable. For example, if four sources always have data, TDM can give each source one-fourth of the available time.
Its main weakness is wasted capacity. If one node has no data during its assigned slot, other nodes usually cannot use that slot. Static allocation also requires coordination to maintain the fixed division.
Dynamic channel allocation
Dynamic allocation gives transmission opportunities according to current demand. Nodes compete for, or are granted, access when they have frames to send.
Dynamic methods can be divided into two broad groups:
- Random access: a node independently attempts transmission. Collisions are possible, so the protocol needs detection or recovery. ALOHA and CSMA are examples.
- Controlled access: nodes take turns according to a schedule, poll, or token. Collisions are largely avoided, but control messages and waiting time add overhead.
Dynamic allocation adapts better to bursty traffic, where nodes alternate between being active and idle. Its performance depends on offered load, propagation delay, collision handling, and control overhead.
| Allocation type | Access decision | Strength | Main cost |
|---|---|---|---|
| Static | Fixed in advance | Predictable service | Capacity can be wasted |
| Dynamic random | Made independently by senders | Simple and responsive | Collisions and retransmissions |
| Dynamic controlled | Made by a poll or token | Few or no collisions | Coordination overhead |
Choosing an allocation method
The important decision is whether traffic is predictable and continuously active.
- Use static allocation when each node needs a stable share and predictable delay.
- Use random access when transmissions are irregular and occasional collisions are acceptable.
- Use controlled access when collision cost is high or fairness matters.
The following model shows the basic choice:
Exercise
Four nodes each receive one fixed TDM slot, but only one node has data. What fraction of the channel is immediately usable if idle slots cannot be reassigned?
Show answer
One-fourth, or 25%, because only the active node can use its assigned slot.