Вы находитесь на странице: 1из 5

Introduction

MACAW : A Media Access ‡ Based on MACA, a Multiple Access Collision


Avoidance protocol.
Protocol for Wireless LAN’s ‡ Initial attempt to deal with WLAN challenges.
‡ Four key main observations:
The relevant contention is at the receiver not the
Abdel-Karim Al Tamimi „
sender.
„ Congestion is location dependent.
„ Learning about the contention level must be a collective
enterprise.
„ The media access protocol should propagate congestion
information explicitly.

Background Hidden Terminal


‡ Developed in Palo Alto Research Center-
Xerox Corporation.
A B C
‡ All experiments have been done in noise-
free testing environment. Transmitting
Wants to transmit to B

‡ Multiple access approach is chosen


„ It is more robust, than token based approach. ‡ Station B can hear both A and C, but A and C
„ The high mobility of WLAN nodes, will initiate can’t hear each other.
frequent token hand-offs or recovery in token- ‡ Happens when station C attempts to transmit
based systems. while A is transmitting to B.
‡ Station “A” is hidden from station C.

Exposed Terminal MACA


‡ Alternative to traditional CSMA
‡ Uses two types of short messages
A B C „ Request to Send (RTS)
Can’t send
Transmitting to Node A „ Clear to Send (CTS)
‡ They contain the length of the data
‡ Happens when station B is transmitting to A
transmission.
when C attempts to transmit.
‡ Neighbors hearing RTS
‡ Assuming no interference effect, station C should
defer transmitting only if it want to transmit to B. „ Defer till CTS would have finished.
‡ Carrier sense provides information about ‡ Neighbors hearing CTS
potential collision at the sender, but not at the „ Defer till the end of expected data trans.
receiver.

1
MACA continue … BEB (Binary Exponential Back-Off)
‡ Stations that hear RTS but not CTS can ‡ Retransmission occur if and only if a
commence transmission. station does not receive a CTS in
‡ Hidden Terminal: response.
„ C hears B CTS message. ‡ Back-off then retransmit.
‡ Exposed Terminal ‡ Whenever a CTS is received
„ C hears B RTS message.
„ Back-off counter BO = Fdec (BO)
‡ If a station did not get a CTS message for its
RTS, a collision is assumed after a timeout
‡ Whenever a CTS is not received
period. „ Back-off counter BO = Finc (BO)
‡ Another transmission is scheduled using BEB ‡ Fdec = BOmin
(Binary Exponential Back-off). ‡ Finc(x) = MIN [2x, BOmax]

MACAW - Goals MACAW- Back-off Algorithm


‡ A media access control ‡ It is very likely that the least-backed-off station
„ Deliver high network utilization will “win” the bandwidth again.
„ Provide fair access to the media. ‡ The problem caused because there is no sharing
of the collision experience.
‡ If the goals are not compatible, fairness ‡ Solution : Add and extra header to the packets
has a higher priority over optimal total contains current BO value.
throughput. ‡ After each successful transmission all pads have
the same BO value.
‡ Use MILD (Multiple increase Linear Decrease) to
adjust BO values
„ Finc(x) = MIN[1.5x, BOmax]
„ Fdec(x) = MAX[x-1, BOmin]

MACAW-Back-Off Alg. Results MACAW – Multiple Stream Model


B

P1 P2 P3

‡ Using a single queue, Outgoing streams gets half


of the bandwidth, the other half for ingoing stream
‡ We want to teat all streams equally
‡ Implemented by keeping, in each station, separate
queues for each stream and running the back-off
algorithm independently for each queue.

2
MACAW- MSM Results MACAW – Basic Message Exchange
‡ MACA uses RTS-CTS-Data model
‡ MACA recovers from errors by the
transport layer
„ Slow
‡ Solution : use RTS-CTS-Data-ACK
‡ ACK is returned to the sender after
immediately upon completion of data
reception.

MACAW – Basic Message Exchange MACAW - DS


‡ ACK was not received, retransmit (RTS) ‡ In the exposed terminal, station C is free to
„ Receiver : transit if it hears CTS
‡ Data received already, Send ACK ‡ If B is transmitting, no CTS
‡ Otherwise, send CTS „ C can’t tell if RTS-CTS was successful
„ Sender : „ C keeps trying and increasing its BO
‡ Increase BO after RTS transmission and no CTS or ‡ Solution : CSMA , Data-Sending packet (DS)
ACK ‡ Every station that hears this packet, defer its
‡ ACK received : decrease BO. transmission
CTS received : BO is not changed.
‡
‡ DS holds the transmission length information

MACAW – Multicast MACAW – Back-off Alg. Revisited


‡ Want to send a multicast message ‡ Congestion is not homogenous.
‡ Multiple receivers CTS could collide
‡ Solution : use a special type of RTS
followed by Data directly
‡ Problem : only stations near the ‡ Border stations overhear adjacent cell’s
transmitter will defer BO
‡ This is similar to the problem with CSMA B

P1 P2 P3
Offline

3
MACAW– Back-off Alg. Revisited MACAW – Performance Evaluation
‡ Solution : separate BO for each stream ‡ Using MACAW over MACA yielded an
‡ All stations attempting to communicate improvement of over 37% in throughput.
with the same receiving station should use ‡ MACAW has yielded a “fairer” division of
the same back-off value. throughput.
‡ Back-off value ‡ MACAW is able to cope with highly non-
„ Copied between stations homogenous congestion, and can shield
„ Separate BO for each station un-congested neighbors fro losing too
„ BO of both ends in each packet header much throughput due to the presence of a
congested neighbor.

MACAW– Performance Evaluation Future Design Issues


‡ ACK only if requested
„ Piggy-backed
„ Selective ACK
„ Use NACK
‡ Find answers to the problems that left
unsolved
‡ Definition of fairness in wireless networks

Throughput measured by Packets/sec

Comparison between S-MAC and


MACAW Questions
MACAW S-MAC
Fairer bandwidth Reducing energy
allocation consumption
Targets mobile Specific for wireless
stations sensor networks

1994 2004

Rely on Virtual Carrier


Rely on both
sense
One ACK for data Sends in burst, ACK
(long message) every data fragment

4
Critique MACAW- Back-off Algorithm
‡ Authors should have compared their approach to ‡ Scenario where all the stations are in range of
other MACA-improved protocols each other and two stations are sending data to
‡ Authors did only compare the network the base station, and each of them can produce
throughput without any regard to computational
overhead or power consumption added in their traffic to consume all the bandwidth.
adjustments
‡ Authors did not specify the likelihood of some
scenarios, in other words, if a specific adjustment B
to the algorithm will benefit the overall
performance.
‡ Due to the fact that some problems were left
unsolved or partially solved, what is the
likelihood of theses problems to occur. P1 P2

MACAW - RRTS MACAW– RRTS Solution


S1 S2 ‡ Solution : RRTS Request-for-RTS.
B1 P1 P2 B2
‡ Whenever station receive RTS, which can
not reply to
‡ The only way B1 can successfully initiate a „ Send RRTS after the transmission period in DS
transfer is when its RTS arrives between
successful data transmissions.
„ P1 is deferring because of P2 DS message.
‡ DS does not solve this problem, because
‡ Another problem not solved
neither B1 nor B2 can hear other
messages exchange. S1 S2
B1 P1 P2 B2

Вам также может понравиться