Question

In: Electrical Engineering

Point out the differences between Non-persistent, 1-persistent and P-persistent modes of CSMA. Draw diagrams for each...

Point out the differences between Non-persistent, 1-persistent and P-persistent modes of
CSMA. Draw diagrams for each mode.

Solutions

Expert Solution

There Are Three Different Type of CSMA Protocols:-

(I) I-persistent CSMA

(ii) Non- Persistent CSMA

(iii) p-persistent CSMA

                       

(i) I-persistent CSMA

• In this method, station that wants to transmit data continuously senses the channel to check whether the channel is idle or busy.

• If the channel is busy, the station waits until it becomes idle.

• When the station detects an idle-channel, it immediately transmits the frame with probability 1. Hence it is called I-persistent CSMA.

• This method has the highest chance of collision because two or more stations may find channel to be idle at the same time and transmit their frames.

• When the collision occurs, the stations wait a random amount of time and start allover again.

Drawback of I-persistent

• The propagation delay time greatly affects this protocol. Let us suppose, just after the station I begins its transmission, station 2 also became ready to send its data and senses the channel. If the station I signal has not yet reached station 2, station 2 will sense the channel to be idle and will begin its transmission. This will result in collision.

                             

Even if propagation delay time is zero, collision will still occur. If two stations became .ready in the middle of third station's transmission, both stations will wait until the transmission of first station ends and then both will begin their transmission exactly simultaneously. This will also result in collision.

(ii) Non-persistent CSMA

• In this scheme, if a station wants to transmit a frame and it finds that the channel is busy (some other station is transmitting) then it will wait for fixed interval oftime.
• After this time, it again checks the status of the channel and if the channel is.free it will transmit.

• A station that has a frame to send senses the channel.

• If the channel is idle, it sends immediately.

• If the channel is busy, it waits a random amount of time and then senses the channel again.

• In non-persistent CSMA the station does not continuously sense the channel for the purpose of capturing it when it detects the end of previous transmission.

Advantage of non-persistent

• It reduces the chance of collision because the stations wait a random amount of time. It is unlikely that two or more stations will wait for same amount of time and will retransmit at the same time.

Disadvantage of non-persistent

• It reduces the efficiency of network because the channel remains idle when there may be stations with frames to send. This is due to the fact that the stations wait a random amount of time after the collision.

  

(iii) p-persistent CSMA

• This method is used when channel has time slots such that the time slot duration is equal to or greater than the maximum propagation delay time.

• Whenever a station becomes ready to send, it senses the channel.

• If channel is busy, station waits until next slot.

• If channel is idle, it transmits with a probability p.

• With the probability q=l-p, the station then waits for the beginning of the next time slot.

• If the next slot is also idle, it either transmits or waits again with probabilities p and q.

• This process is repeated till either frame has been transmitted or another station has begun transmitting.

• In case of the transmission by another station, the station acts as though a collision has occurred and it waits a random amount of time and starts again.

   

Advantage of p-persistent

• It reduces the chance of collision and improves the efficiency of the network.

CSMA information:-

Carrier Sensed Multiple Access (CSMA) : CSMA is a network access method used on shared network topologies such as Ethernet to control access to the network. Devices attached to the network cable listen (carrier sense) before transmitting. If the channel is in use, devices wait before transmitting. MA (Multiple Access) indicates that many devices can connect to and share the same network. All devices have equal access to use the network when it is clear.

In other words, a station that wants to communicate "listen" first on the media communication and awaits a "silence" of a preset time (called the Distributed Inter Frame Space or DIFS). After this compulsory period, the station starts a countdown for a random period considered. The maximum duration of this countdown is called the collision window (Window Collision, CW). If no equipment speaks before the end of the countdown, the station simply deliver its package. However, if it is overtaken by another station, it stops immediately its countdown and waits for the next silence. She then continued his account countdown where it left off. This is summarized in Figure. The waiting time random has the advantage of allowing a statistically equitable distribution of speaking time between the various network equipment, while making little unlikely (but not impossible) that both devices speak exactly the same time. The countdown system prevents a station waiting too long before issuing its package. It's a bit what place in a meeting room when no master session (and all the World's polite) expected a silence, then a few moments before speaking, to allow time for someone else to speak. The time is and randomly assigned, that is to say, more or less equally.

Again, this is what we do naturally in a meeting room if many people speak exactly the same time, they are realizing account immediately (as they listen at the same time they speak), and they interrupt without completing their sentence. After a while, one of them speaks again. If a new collision occurs, the two are interrupted again and tend to wait a little longer before speaking again.

CSMA protocol was developed to overcome the problem found in ALOHA i.e. to minimize the chances of collision, so as to improve the performance. CSMA protocol is based on the principle of 'carrier sense'. The station senses the carrier or channel before transmitting a frame. It means the station checks the state of channel, whether it is idle or busy.

Even though devices attempt to sense whether the network is in use, there is a good chance that two stations will attempt to access it at the same time. On large networks, the transmission time between one end of the cable and another is enough that one station may access the cable even though another has already just accessed it.


Related Solutions

What are the differences between CSMA/CA vs CSMA/CD?
What are the differences between CSMA/CA vs CSMA/CD?
Slotted non-persistent CSMA: Use the TWO-state Markov chain we discussed in class to derive the throughput...
Slotted non-persistent CSMA: Use the TWO-state Markov chain we discussed in class to derive the throughput of non-persistent CSMA when nodes are required to transmit at the beginning of a time slot, the length of a time slot is one propagation delay, and ideal acknowledgments are sent in 0 seconds over a secondary channel.
Explain the differences between TE, TM, and TEM waveguide modes and the difference between guided and...
Explain the differences between TE, TM, and TEM waveguide modes and the difference between guided and unguided EM propagation
Prepare qualitative, simple flow diagrams for each alternative process design and discuss the essential differences between...
Prepare qualitative, simple flow diagrams for each alternative process design and discuss the essential differences between each process design for production of acetic acid of 50,000 tonnes/year.
Answer the following questions and draw the cash flow diagrams for each:
Answer the following questions and draw the cash flow diagrams for each: (a) What are the equivalent annual payments over a 15-year period for a present value of $14,500 and a compound interest rate of 6% per year. (b) What are the annual equivalent payments for a present value of $445,000 in perpetuity and a compound interest rate of 6% per year.  (c) What is the present worth of $15,000/year for 30 years at a compound interest rate of 6% per year?
1. (a) Outline the principles and essential differences between Continuous Cooling Transformation and Isothermal Transformation Diagrams...
1. (a) Outline the principles and essential differences between Continuous Cooling Transformation and Isothermal Transformation Diagrams    (b) Using the TTT diagram for a plain carbon steel with 0.53%wt C, define the nature of the final microstructure (in terms of micro-constituents present and approximate percentages) of small samples (5 x 5 x 5 mm) subjected to the following time-temperature heat treatments.In each case, assume that the specimen was austenitised at 860?C and held at this temperature long enough to achieve...
1. Draw supply and/or demand diagrams to illustrate how each of the following events would affect...
1. Draw supply and/or demand diagrams to illustrate how each of the following events would affect the market for wood. In each case show the original price and quantity (Po and Qo) and the new price and quantity (P1 and Q1). A decrease in the quantity demanded       In an attempt to reduce fire hazards, several American cities adopt regulations that restrict the use of wood products in the construction of houses. The government of BC takes steps to preserve more...
Draw two Sequence diagrams (by hand, or by tools) 1. Draw (by hand or tool) the...
Draw two Sequence diagrams (by hand, or by tools) 1. Draw (by hand or tool) the sequence diagram for a typical drive through restaurant protocol (choose as the 3 actors the driver who is ordering, the window attendant, and the cook). 2. Draw (by hand or tool) the sequence diagram for a typical web connection between your laptop as a client and a remote web server after you have typed a URL into the browser (you do not have to...
What are the differences between data flow diagrams and Flowcharts? What are their roles in IS?...
What are the differences between data flow diagrams and Flowcharts? What are their roles in IS? please can somebody type it out for me because i do not understand pictures
What are the differences between data flow diagrams and Flowcharts?  What are their roles in IS?
What are the differences between data flow diagrams and Flowcharts?  What are their roles in IS?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT