Library
Back to reading

What Is Carrier Sense Multiple Access?

What Is CSMA?

Carrier Sense Multiple Access (CSMA) is a medium access control (MAC) protocol that allows multiple devices to share a common communication channel by first determining whether the channel is already in use before transmitting. By reducing the likelihood of simultaneous transmissions, CSMA significantly improves channel efficiency compared with earlier random-access protocols such as ALOHA. Variants of CSMA form the basis of Ethernet, Wi-Fi, and many other shared-medium communication systems.

The fundamental principle of CSMA is known as listen before talk. Before transmitting, a device monitors the communication channel to determine whether another device is already transmitting. If the channel is idle, transmission begins immediately. If the channel is busy, the device waits until the channel becomes available before attempting transmission. This simple procedure greatly reduces the probability of collisions.

A useful analogy is a group discussion in which participants first listen to determine whether someone else is speaking before contributing to the conversation. If the room is quiet, a person begins speaking. If someone else is already talking, they wait until the conversation pauses. CSMA applies the same principle electronically to shared communication channels.

Although listening before transmitting reduces collisions, it cannot eliminate them completely. Two devices may both determine that the channel is idle and begin transmitting almost simultaneously. This is particularly likely when the propagation delay between devices is significant. Various CSMA protocols have therefore been developed to manage these collisions efficiently.

The best-known version is Carrier Sense Multiple Access with Collision Detection (CSMA/CD), which was used in traditional shared Ethernet networks. While transmitting, each device simultaneously monitors the communication medium. If it detects a collision, it immediately stops transmitting, sends a short jam signal, waits for a randomly selected period, and then attempts retransmission. This approach greatly improves channel utilisation compared with ALOHA while remaining relatively simple to implement.

Wireless networks present a different challenge because a radio cannot normally detect a collision while transmitting. Consequently, Wi-Fi employs Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA). Instead of detecting collisions after they occur, devices attempt to avoid them by listening before transmitting, using random back-off timers, and optionally exchanging control frames such as Request to Send (RTS) and Clear to Send (CTS).

The efficiency of CSMA depends on network loading. Under light traffic conditions, devices usually find the channel idle and transmit immediately, resulting in excellent performance. As network utilisation increases, however, collisions and waiting times become more frequent, reducing throughput and increasing delay. Modern switched Ethernet networks largely eliminate this problem by providing dedicated communication paths rather than requiring many devices to share the same medium.

It is important to distinguish CSMA from ALOHA. In ALOHA, devices transmit whenever they have data without first checking the channel, relying on retransmissions to recover from collisions. In CSMA, devices first sense whether the channel is already occupied, significantly reducing the collision probability and improving channel efficiency.

Today, CSMA remains one of the most influential multiple-access techniques in communications engineering. Although shared Ethernet has largely been replaced by switched Ethernet, CSMA principles continue to underpin Wi-Fi and numerous other shared-medium networks. By enabling many devices to share a common communication channel efficiently, CSMA has become one of the fundamental protocols supporting modern digital communications.

Back to reading