Sub topic 13
Efficiency of CSMA/CD
Prerequisites and the efficiency model
Assume you know transmission delay, propagation delay, Ethernet slot time, and binary exponential backoff. CSMA/CD efficiency measures the fraction of channel time used to transmit successful data. Time lost to collisions, propagation, and waiting lowers efficiency.
Let:
- \(t_{\text{prop}}\) be the one-way propagation delay.
- \(t_{\text{trans}}\) be the time needed to transmit one frame.
- \(a = t{\text{prop}} / t{\text{trans}}\) be the propagation-to-transmission ratio.
A small \(a\) means that frames take much longer to transmit than signals take to travel. This gives stations more useful transmission time and usually produces higher efficiency.
Why collisions reduce efficiency
A station listens before transmitting, but two stations can find the channel idle at nearly the same time. Their signals then collide. Each station detects the collision, stops, sends a jam signal, waits using binary exponential backoff, and tries again.
The channel cycle can therefore contain:
- A successful frame transmission.
- Propagation time before all stations know the channel is busy.
- Collision and jam time.
- Backoff time after a collision.
The useful part is the successful frame transmission. Efficiency is approximately:
\[ \eta = \frac{\text{useful transmission time}}{\text{total cycle time}} \]
A common approximation for a saturated CSMA/CD network is:
\[ \eta \approx \frac{1}{1 + 5a} \]
Some textbook models use a more detailed constant:
\[ \eta \approx \frac{1}{1 + 6.44a} \]
The constants differ because the models make different assumptions about collision duration and backoff. Use the formula specified by the question.
Worked calculation
Suppose a 10 Mbps Ethernet sends an 8000-bit frame. Its transmission time is:
\[ t_{\text{trans}} = \frac{8000}{10{,}000{,}000} = 800\ \mu s \]
If the one-way propagation delay is \(25.6\ \mu s\), then:
\[ a = \frac{25.6}{800} = 0.032 \]
Using the simple approximation:
\[ \eta \approx \frac{1}{1 + 5(0.032)} = \frac{1}{1.16} \approx 0.862 \]
Thus, about 86.2% of the channel time carries successful frame data under this model.
| Factor | Effect on efficiency |
|---|---|
| Larger frame | Usually increases efficiency |
| Longer cable or propagation delay | Decreases efficiency |
| Higher collision rate | Decreases efficiency |
| More backoff time | Decreases efficiency |
Exercise
If a network has a propagation-to-transmission ratio of 0.1, estimate its CSMA/CD efficiency using η ≈ 1/(1 + 5a).
Show answer
η ≈ 1/(1 + 5 × 0.1) = 1/1.5 ≈ 0.667, or 66.7%.