Non-persistent CSMA protocol


Non-persistent CSMA is a non – aggressive version of Carrier Sense Multiple Access (CMSA) protocol that operates in the Medium Access Control (MAC) layer. Using CMSA protocols, more than one users or nodes send and receive data through a shared medium that may be a single cable or optical fiber connecting multiple nodes, or a portion of the wireless spectrum.

In non-persistent CSMA, when a transmitting station has a frame to send and it senses a busy channel, it waits for a random period of time without sensing the channel in the interim, and repeats the algorithm again.

Algorithm

The algorithm of non-persistent CMSA is

  • When a frame is ready, the transmitting station checks whether the channel is idle or busy.

  • If the channel is idle then it transmits the frame immediately.

  • If the channel is busy, the station waits for a random time period during which it does not check whether the channel is idle or busy.

  • At the end of the waiting time period, it again checks the status of the channel and restarts the algorithm.

Advantage of non-persistent CSMA

It rate of collisions is much reduced than 1-persistent CMSA. This is because each station waits for a random amount of time before attempting retransmission. The probability that multiple stations will wait for same amount of time is extremely low. So, collision between contending stations is greatly reduced.

Disadvantage of non-persistent CSMA

It reduces the bandwidth usage of network. This is because the channel remains idle even if there are stations who have frames to transmit. This occurs since each station wait for a random time before attempting retransmission. There may be multiple stations who are waiting while the channel is idle.

Comparison of Throughputs

The throughput of a network system is defined as the number of successful transmissions per frame time. The following graph compares the throughput of non-persistent CMSA with that of other MAC protocols

raja
Published on 23-Apr-2019 13:05:08
Advertisements