access delay distribution estimation in 802.11 networks avideh zakhor joint work with: e. haghani...

27
Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

Upload: adam-day

Post on 20-Jan-2016

219 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

Access Delay Distribution Estimation in 802.11 Networks

Avideh ZakhorJoint work with: E. Haghani and M. Krishnan

Page 2: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

Estimating Access Delay Distribution

Motivation• Delay sensitive traffic should be delivered within delay bound• Increasing deployment of 802.11 networks and users affect

the delay performance Access delay:

• Time between a new packet arriving at the head of line of MAC queue and receiving its ACK

PMF of access delay at a node can determine impact of:• Maximum retransmit limit on delay distribution

− optimum retransmit strategy

• Sending rate on delay distribution without trial and error via measurements Objective:

• Propose a distributed framework to estimate the uplink (UL) access delay distribution for each node using only local measurements

2

Page 3: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

3

Busy/Idle Signal as Local Measurement

Each node/AP collects binary-valued ‘busy-idle’ (BI) signal• 1 when local channel is occupied, 0 otherwise

AP broadcasts its BI signal periodically ~14kb/s, 3% overhead Nodes use their BI signal along with AP’s to estimate PC

Node A:

Node B:

AP1:

A

B

AP1 CAP2

Krishnan, Pollin, and Zakhor, “Local Estimation of Probabilities of Direct and Staggered Collisions in 802.11 WLANs”, IEEE Globecom 2009.

Page 4: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

802.11 Tx/Retx Mechanism

A station senses the channel before transmission• Transmits if channel idle for DIFS

Initiates a counter if channel busy:• Counter value uniformly distributed [0,CW-1]• Counts down for every idle time slot• Pauses counting during busy time slots and resumes after

channel is idle for:− DIFS if station decoded headers of packets in last busy

period− EIFS (>DIFS) if could not decode the headers

• Doubles the CW for unsuccessful transmissions• Resets the CW to CWmin if successful

4

Page 5: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

Access Delay at Tx Attempt

: access delay of a packet at Retx attempt

: length of idle period at Retx attempt : length of busy period at Retx attempt : number of idle periods required for Retx attempt : interframe spacing time after busy period: DIFS or

EIFS amount backoff counter decremented at idle

period : value of backoff counter at Retx attempt

5

1 1 1 m m

m m m m mH N Nd I B B I

mHd

thm

thi( 1)thi

mN

thm

thm

thm

thm

thm mim

imi IJ ,0max

m

N

i

mi WJ

m

1

mW

Page 6: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

Distribution Estimation Process

Each node empirically estimates distributions of , and

Recall

is the first passage time of a variable at Retx

PMF for delay access distribution at mth retransmission

contention window size at Retx

Pr{ } 1 Pr{ }i iDIFS EIFS

mN

iB iI

m

N

i

mi WJ

m

1

mHd

Page 7: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

Empirical Estimates of Distributions over 3 sec. interval

7

Wm=100

Wm=1000

PMF of Nm

Page 8: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

Distribution of Total Access Delay

Total access delay: channel access time plus T = packet air TX time +ACK timeout

M total # of Retx max Retx limit

The PMF of the total access time given

8

1

Pr( ) Pr | PrH Hmd d M m M m

1 M

Page 9: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

Total MAC layer delay

Total delay at MAC layer: queuing delay + access delay θp = arrival time of packet p at MAC queue

Ap = arrival time of ACK for packet p

dHp = access delay for packet p

9

Use distributions of θp and dHp to estimate steady-state distribution of Ap

Ep = Total MAC Delay for packet p: Probability of successful arrival of packet p within delay bound: Γp = P(Ep < delay limit)

Effective throughput = steady state value of Γp

p

ii

p p 1

1lim

Page 10: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

Simulation Results: Access Delay

A 50 node and 7 AP simulation set up

Saturated network traffic

A node collects BI information for 3 sec

Access delay for 200 sec simulation

10

Page 11: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

Simulation Results: Effective Throughput

11

Retransmit Limit

Retransmit Limit

Retransmit Limit

Effe

ctiv

e th

roug

hput

Effe

ctiv

e th

roug

hput

A 50 node and 7 AP simulation set up

Saturated network traffic

A node collects BI information for 3 sec

200ms delay limitCompare effective

throughput for varying γ and input rate for each node

Page 12: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

Simulation Results: Retransmit Limit

12

Retransmit Limit

Effe

ctiv

e th

roug

hput

A 50 node and 7 AP simulation set up Three sample simulations in each:

One node sends traffic at 200Kbps, others send saturated traffic The node collects BI information for 3 sec

Compare effective throughput for varying γ Estimates within 5% margin of simulation results

Page 13: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

Simulation Results: Sending Rate

13

Retransmit Limit

Effe

ctiv

e th

roug

hput

A 50 node and 7 AP simulation set up A sample sends traffic at various CBR others send

saturated traffic Compare effective throughput for varying γ Using optimum retransmit limit, node can reach 90%

effective throughput at various rates

Page 14: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

14

Future Work: AP selection in 802.11n

Currently AP selection based on signal strengthNeed to optimize:

• Send opportunities – affected by traffic saturation at AP• Probability of success – affected by SINR and set of

hidden nodesCan evaluate these quantities via BI signal.Before a node joins an AP it should listen to the B/I

signal sent by two or more APs to determine the “best” AP to join.

Page 15: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

AP Selection: Example 1

If choosing AP based on signal strength, all nodes will use same AP

Network throughput can be improved if some nodes choose to connect to AP 2 instead

AP 2 AP 1

Page 16: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

16

AP Selection: Example 2 - Beamforming

Without beamforming, node 2 must contend with node 1• With beamforming, it can send simultaneously

Upshot: beamforming allows optimum AP selection• Catch: need to know network topology

AP 1

AP 2

Node 2 Node 1

Page 17: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

17

Beamforming and BI signals

802.11n supports beamforming• Explicit beamforming: nodes share channel information

to help determine beamforming direction or “steering”Knowledge of direction of received signals

directional BI signalQuantize direction into sectors to create directional BI

signalDuring promiscuous listening, can implicitly estimate

direction of transmitterAngles only known modulo 180 degreesAPs periodically broadcast BI signal to nodes

Page 18: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

18

Illustration of Directional BI signal

θ0θ0

θ1

θ1

θ2θ3

θ3θ2 θ0

θ1

θ2θ3

t

Page 19: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

19

Example of topology reconstruction (1)

• AP and N1 know relative positions• AP and N2 know relative positions• N1 can sense N2 when N2 is sending to AP.

θ0θ3N1

N2

AP

Page 20: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

20

Example of topology reconstruction (2)

Individually, N1 and AP have ambiguity as to location of N2

Possible location of N2 to N1

Possible location of N2 to AP

2

N1

AP

13

θ0θ3

Page 21: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

21

Example of topology reconstruction (2)

N1 can compare its BI signal to that of AP• AP’s BI signal at θ0 is similar to N1’s BI at angle θ3

with high probability N2 is at location 2.

θ0θ1

θ2

θ3

t

AP

θ0

θ1

θ2

θ3

t

N1

Page 22: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

Contention Window Adaptation

CSMA – nodes sense channel and send when free• Problem – all nodes would start simultaneously• Solution: random backoff using “contention

window”(CW)Standard

• Random backoff W~U(0, CW-1)• CW adapts over time

−Packet fail: CW min(αCW, CWmax)

−Packet success: CW CWmin

−802.11: α = 2, CWmin = 32, CWmax = 1024

22

Page 23: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

Problem

Implicit assumption that all losses are due to collisionExample:

single node with poor channel conditions high loss large CW poor channel utilization• CW=512 time slots @ 20μs = 10ms• 2KB packet @ 11 Mbps < 2ms• Could have had 5 more attempts!

23

Page 24: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

Example: Symmetric topology

24

Nodes all hidden to each other & equidistant from AP

Different curves of same color are different noise levels i.e. Pe

Optimal W increases with # hidden nodes

Pe does not affect optimal W

Page 25: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

How can this be improved?

With estimate of collision probability, PC, from [1], can optimize parameters based on collision probability rather that only recent loss history

Tunable parameters:• α• CWmin

• CWmax

• Distribution of random backoffPlan: choose new parameters every 5 seconds based

on observations over 5 seconds, primarily BI signal

25

Page 26: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

Analysis

Maximize sum of log throughput – enforces fairness

U = utility, TPi = throughput Ri = # bits per packet,

Si = fraction of slots in which node i starts sending,

Ii = proportion of time channel is idle, Li = packet length in slots,

= average contention window size, Pe = Pr{channel error},

PDC = Pr{direct collision}, PSC = Pr{staggered collision},

Ni = set of neighboring nodes, Hi = set of hidden nodes26

Page 27: Access Delay Distribution Estimation in 802.11 Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan

Future work

Investigate the use of B/I signal for AP selectionDevelop directional B/I signal for beamforming

802.11n situations optimal AP selectionOptimizing contention window parameters using B/I

signal. Investigate packet aggregation for 802.11n using B/I

signal.

27