400 likes | 538 Views
Slow Start Backoff Algorithm for Wireless Ad Hoc Networks. Der-Jiunn Deng Department of Computer Science and Information Engineering National Changhua University of Education. Ad Hoc Networks. Ad hoc network: mobile stations can dynamically form network without AP Applications:
E N D
Slow Start Backoff Algorithm for Wireless Ad Hoc Networks Der-Jiunn Deng Department of Computer Science and Information Engineering National Changhua University of Education
Ad Hoc Networks • Ad hoc network: mobile stations can dynamically form network without AP • Applications: • “laptop” meeting in conference room, car • interconnection of “personal” devices • battlefield • IETF MANET (Mobile Ad hoc Networks) working group
CSMA/CA CSMA: sender - if sense channel idle for DISF sec. then transmit entire frame (no collision detection) -ifsense channel busy then binary backoff CSMA receiver: if received OK return ACK after SIFS
CSMA/CA CSMA: others • NAV: Network Allocation Vector • 802.11 frame has transmission time field • others (hearing sata) defer access for NAV time units
DIFS DIFS DIFS DIFS DIFS DIFS DIFS DIFS CW Busy Medium Busy Medium Busy Medium Busy Medium Busy Medium Busy Medium SIFS Basic Access Method (CSMA/CA) Free access when medium is free longer than DIFS Source Data Select a CW size and decrement backoff as long as medium is idle Destination ACK Other CW NAV Defer access
DIFS DIFS DIFS initial attempt 31 first retransmission 63 second retransmission 127 third retransmission 255 forth retransmission 511 0 1023 CW min CW max CW SIFS Binary Exponential Backoff (BEB) Busy Medium Busy Medium Data ACK time slot
Congested Scenario • The usage of backoff algorithm avoids long access delays when the load is light because it selects an initial (small) parameter value of contention window (CW) by assuming a low level of congestion in the system. • This strategy might allocate initial size of CW, only to find out later that it is not enough when the load increased, but each increase of the CW parameter value is obtained paying the cost of a collision (bandwidth wastage) • After a successful transmission, the size of CW is set again to the minimum value without maintaining any knowledge of the current channel status.
Slow-Start Backoff Alg. 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Saturation Throughput Analysis 0 1 2 x m-1 m
X X X X X X X X 1st 2nd 3rd xnd p 1-p 1-p 1-p Geometric Distribution Consider a sequence of Bernoulli trails with the probability of success on being P. Let r.v. X denote the number of trials up to and including the first success
Geometric Distribution Consider a sequence of Bernoulli trails with the probability of success on being P. Let r.v. X denote the number of trials up to and including the first success
DIFS DIFS DIFS CW P-Persistent CSMA/CA SIFS Busy Medium Busy Medium Data ACK decrement backoff as long as medium is idle defer access Data
Forward Looking G stuff Internet WLANs PSTN now • Based on the history • Telephone network (PSTN) • Computer network and mobile phone network • Internet and the G stuff (GSM/GPRS/3G) • Wireless networks (WLANs) 10‘s 80‘s 90’s 00‘s
G stuff Internet WLANs PSTN now 10‘s 80‘s 90’s 00‘s The Past: You already knew!
G stuff Internet WLANs PSTN now 10‘s 80‘s 90’s 00‘s The Present: You are watching it!
G stuff Internet WLANs PSTN now 10‘s 80‘s 90’s 00‘s The Future: No one can tell!