CN - Chapter 4 - Class 1, 2
CN - Chapter 4 - Class 1, 2
CN - Chapter 4 - Class 1, 2
• Whenever two frames try to occupy the channel at the same time, there will be a collision and both will be
garbled.
• A frame will not suffer a collision if no other frames are sent within one frame time of its start.
• In pure ALOHA a station does not listen to the channel before transmitting, it has no way of knowing that
another frame was already underway.
• An interesting question is: What is the efficiency of an ALOHA channel? what fraction of all transmitted frames
escape collisions under these chaotic circumstances?
• Throughput
• The maximum throughput occurs at G = 0.5, with S = 1/2e, which is about 0.184.
• In other words, the best we can hope for is a channel utilization of 18 percent.
Figure 4-3. Throughput versus offered traffic for ALOHA systems
Slotted ALOHA
• In 1972, Roberts published a method for doubling the capacity of an ALOHA system.
• His proposal was to divide time into discrete intervals, each interval corresponding to one frame.
• In Roberts' method, which has come to be known as slotted ALOHA, in contrast to Abramson's pure ALOHA, a
computer is not permitted to send whenever a carriage return is typed.
• Instead, it wait for the beginning of the next slot. Thus, the continuous pure ALOHA is turned into a discrete
one.
• Throughput
• Slotted ALOHA peaks at G = 1, with a throughput of S =1/e or about 0.368, twice that of pure ALOHA.
• In other words, the best we can hope for is a channel utilization of 37 percent.
Carrier Sense Multiple Access Protocols
• Carrier Sense Multiple Access (CSMA) is a network protocol for carrier transmission that operates in the Medium
Access Control (MAC) layer.
• With slotted ALOHA the best channel utilization that can be achieved is 1/e.
• In local area networks, however, it is possible for stations to detect what other stations are doing, and adapt
their behavior accordingly. These networks can achieve a much better utilization than 1/e.
• Protocols in which stations listen for a carrier (i.e., a transmission) and act accordingly are called carrier sense
protocols.
• It senses or listens whether the shared channel for transmission is busy or not, and transmits if the channel is
not busy.
Working Principle
• When a station has frames to transmit, it attempts to detect presence of the carrier signal from the other nodes
connected to the shared channel.
• If a carrier signal is detected, it implies that a transmission is in progress.
• The station waits till the ongoing transmission executes to completion, and then initiates its own transmission.
• Generally, transmissions by the node are received by all other nodes connected to the channel.
• Since, the nodes detect for a transmission before sending their own frames, collision of frames is reduced.