49
Balancing Uplink and Downlin Balancing Uplink and Downlin k Delay of VoIP Traffic in 8 k Delay of VoIP Traffic in 8 02.11 WLANs 02.11 WLANs Sangho Shin Henning Schulzrinne Columbia University Department of Computer Science

Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

Embed Size (px)

DESCRIPTION

Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs. Sangho Shin Henning Schulzrinne Columbia University Department of Computer Science. Motivation. VoIP in IEEE 802.11 WLANs. Distribution Network (DS). Access Point (AP). STAs. 1/30. Motivation. - PowerPoint PPT Presentation

Citation preview

Page 1: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

Balancing Uplink and Downlink Delay Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANsof VoIP Traffic in 802.11 WLANs

Sangho ShinHenning Schulzrinne

Columbia UniversityDepartment of Computer Science

Page 2: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

MotivationMotivation

VoIP in IEEE 802.11 WLANsDistribution Network (DS)

1/30

Access Point (AP)

STAs

Page 3: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

MotivationMotivation

VoIP in IEEE 802.11 WLANs

1/30

Access Point (AP)

STAs

Distribution Network (DS)

Page 4: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

MotivationMotivation

VoIP in IEEE 802.11 WLANs

1/30

Access Point (AP)

STAs

Distribution Network (DS)

Page 5: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

MotivationMotivation

0

100

200

300

400

500

600

26 27 28 29 30 31 32 33 34

Number of VoIP sources

End

-to-

end

dela

y (m

s)

Uplink (90th%tile)Downlink (90th%tile)Uplink (AVG)Downlink (AVG)

20 ms packetization interval (64kb/s)2/30

Downlink

Uplink

Page 6: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

MotivationMotivation

When the channel is congested ….

3/30

Queue Queue Queue Queue

Queue

Distribution Network (DS)

Page 7: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

MotivationMotivation

When the channel is congested ….

3/30

Queue Queue Queue Queue

Queue

Distribution Network (DS)

Page 8: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

MotivationMotivation

When the channel is congested ….

3/30

Queue Queue Queue Queue

Queue

Distribution Network (DS)

Page 9: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

MotivationMotivation

When the channel is congested ….

3/30

Queue Queue Queue Queue

Queue

Distribution Network (DS)

Page 10: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

MotivationMotivation

When the channel is congested ….

3/30

Queue Queue Queue Queue

Queue

Distribution Network (DS)

Page 11: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

MotivationMotivation

Solutions?Give a higher priority to the AP than STAs

4/30

Queue Queue Queue Queue

Queue

Distribution Network (DS)

Page 12: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

OutlineOutline

Background Adaptive Priority Control (APC) Simulation results Implementation Issues Conclusions Future work

5/30

Page 13: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

BackgroundBackground

DIFS

Busy Medium

DIFS

Frame

Defer Access

Contention Window

Backoff

Slot time

Number of Backoff = (0, CWmin)

Medium Access in DCF (Distributed Coordination Function)

6/30

Page 14: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

BackgroundBackground

How to control the priority of the AP? Inter-Frame Spacing (IFS) Contention Window (CW) Contention Free Transmission

Busy Medium

DIFS DIFS

Frame

Contention Window

Backoff

Defer Access Slot time

7/30

Page 15: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Transmission ControlTransmission Control

Control Contention Window (CW)

Frame3DIFS Backoff Frame1 DIFS Backoff Frame2 DIFS Backoff

Number of Backoff = (0, CWmin)

Frame3DIFS BO Frame1 DIFS Frame2 DIFSBO BO

Number of Backoff = (0, CWmin/2)

DIFS

DIFS BO

STA

AP Frame

BO1 DIFSDefer Access BO2

DIFS BO Frame

Defer AccessDIFS BO

DIFS BO

BO BO

Frame

Defer Access

8/30

Remaining BO time

Page 16: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Transmission ControlTransmission Control

Control Contention Window (CW) It is hard to control the priority accurately.

Backoff time is randomly decided between (0, CWmin).

Shorter CW Higher collision probability Decrease the capacity.

9/30

Page 17: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Transmission ControlTransmission Control

Control IFS

Frame3DIFS Backoff Frame1 DIFS Backoff Frame2 DIFS Backoff

IFS = DIFS

STA2

AP

Frame

DIFSDefer Access BO

BO Frame

Defer Access Frame

IFS

STA1

Defer Access

DIFS

IFS = DIFS/2

Frame3IFS Backoff Frame1 Backoff Frame2 BackoffIFSIFS

10/30

Page 18: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Transmission ControlTransmission Control

Contention Free Transmission (CFB)

Control the number of frames (P)

Frame3IFS Frame1 IFS Frame2 IFS

Frame3IFS Frame1 IFS Frame2 IFS

P = 3DIFS BO Defer Access

IFS Frame1 IFS Frame2 DIFS BO Defer Access

P = 2

IFS Frame3

11/30

Page 19: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Transmission ControlTransmission Control

Contention Free Transmission (CFB) Precise priority control

P Priority Transmitting three frames contention free thr

ee times higher priority than other STAs. No overhead

12/30

Page 20: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Adaptive Priority ControlAdaptive Priority Control

Optimal priority of the AP to balance the uplink and downlink delay ? Number of active wireless STAs

Semi-Adaptive Method

13/30

Page 21: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Semi-AdaptiveSemi-Adaptive10 packets

P = 4

Page 22: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Semi-AdaptiveSemi-Adaptive6 packets

P = 4

Page 23: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Adaptive Priority ControlAdaptive Priority Control

Optimal priority of the AP to balance the uplink and downlink delay ? Number of active wireless STAs

Semi-Adaptive Method Simple Adaptive to the change of the number of active

wireless STAs. Not adaptive to the change of the traffic volume

of uplink and downlink.

13/30

Page 24: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Semi-AdaptiveSemi-Adaptive10 packets

P = 4

2 packets

P = 4

Page 25: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Adaptive Priority ControlAdaptive Priority Control Optimal priority of the AP to balance the

uplink and downlink delay ? Uplink/Downlink delay ≈Queuing delay

The same packet processing time in Queue of the AP and STAs The same queuing delay

Queuing dely

Access delayPropagation delay

Network

14/30

Page 26: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Adaptive Priority Control Adaptive Priority Control

Optimal Priority = QAP/QSTA (QSTA>0)

15/30

Page 27: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

APCAPC10 packets

P = 10 / 2 = 5

Page 28: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

APCAPC10 packets

P = 10 / 2 = 5

Page 29: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

APCAPC

P = 5/1 = 5

5 packets

Page 30: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Adaptive Priority ControlAdaptive Priority Control

Optimal Priority = QAP/QSTA

Simple Adaptive to change of number of active STA

s Adaptive to change of uplink/downlink traffic

volume Results in the same packet processing time

between the AP and STAs same queuing delay in the AP and STAs same uplink and downlink delay

15/30

Page 31: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006 2/30

0

100

200

300

400

500

600

26 27 28 29 30 31 32 33 34

Number of VoIP sources

End

-to-

end

dela

y (m

s)

Uplink (90th%tile)Downlink (90th%tile)Uplink (AVG)Downlink (AVG)

20 ms packetization interval (64kb/s)

Downlink

Uplink

Simulation ResultsSimulation Results- - DCFDCF

Page 32: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Simulation ResultsSimulation Results

0

50

100

150

200

250

300

350

30 31 32 33 34 35 36 37

Number of VoIP sources

End

-to-

end

dela

y (m

s)

Uplink (90th%tile)Downlink (90th%tile)Uplink (AVG)Downlink (AVG)

20 ms packetization interval (64kb/s)16/30

Semi-Adaptive MethodSemi-Adaptive Method

Page 33: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Simulation Results - Simulation Results - APCAPC

0

50

100

150

200

250

300

350

400

450

30 31 32 33 34 35 36 37

Number of VoIP sources

End

-to-

end

dela

y (m

s)

Uplink (90th%tile)Downlink (90th%tile)Uplink (AVG)Downlink (AVG)

20 ms packetization interval (64kb/s)17/30

Page 34: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Simulation Results Simulation Results APC vs Semi-AdaptiveAPC vs Semi-Adaptive

20 ms packetization interval (64kb/s)

0

50

100

150

200

250

300

350

400

450

30 31 32 33 34 35 36 37

Number of VoIP sources

End

-to-

end

dela

y (m

s)

Uplink (90th%tile)Downlink (90th%tile)Uplink (AVG)Downlink (AVG)

Semi-Adaptive APC

18/30

0

50

100

150

200

250

300

350

400

450

30 31 32 33 34 35 36 37

Number of VoIP sources

End

-to-

end

dela

y (m

s)

Uplink (90th%tile)Downlink (90th%tile)Uplink (AVG)Downlink (AVG)

Page 35: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Simulation Results Simulation Results DCF vs APCDCF vs APC

0

50

100

150

200

250

300

350

400

450

500

30 31 32 33 34 35 36 37

Number of VoIP sources

En

d-t

o-e

nd

de

lay

(ms)

Uplink (90th%tile)Downlink (90th%tile)Uplink (AVG)Downlink (AVG)

20 ms packetization interval (64kb/s)

0

50

100

150

200

250

300

350

400

450

500

26 27 28 29 30 31 32 33 34

Number of VoIP sources

End

-to-

end

dela

y (m

s)

Uplink (90th%tile)

Downlink (90th%tile)

Uplink (AVG)

Downlink (AVG)

Capacity = 28 Capacity = 35

DCF APC

19/30

30%

Page 36: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Simulation Results - Simulation Results - APCAPC

20/30

Page 37: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Simulation Results Simulation Results Semi-Adaptive MethodSemi-Adaptive Method

0

50

100

150

200

250

300

350

20 21 22 23 24 25

Number of VoIP sources

End

-to-

end

dela

y (m

s)

Uplink (90th%tile)Downlink (90th%tile)Uplink (AVG)Downlink (AVG)

10ms + 20 ms packetization interval (64kb/s)21/30

Page 38: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Simulation Results - Simulation Results - APCAPC

0

50

100

150

200

250

20 21 22 23 24 25

Number of VoIP sources

End

-to-

end

dela

y (m

s)

Uplink (90th%tile)Downlink (90th%tile)Uplink (AVG)Downlink (AVG)

10ms + 20 ms packetization interval (64kb/s)22/30

Page 39: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Simulation Results Simulation Results APC vs Semi-AdaptiveAPC vs Semi-Adaptive MethodMethod

0

50

100

150

200

250

300

350

20 21 22 23 24 25

Number of VoIP sources

End

-to-

end

dela

y (m

s)

Uplink (90th%tile)

Downlink (90th%tile)

Uplink (AVG)

Downlink (AVG)

10ms + 20 ms packetization interval (64kb/s)

0

50

100

150

200

250

300

350

20 21 22 23 24 25

Number of VoIP sources

End

-to-

end

dela

y (m

s)

Uplink (90th%tile)

Downlink (90th%tile)

Uplink (AVG)

Downlink (AVG)

Semi-Adaptive APC

23/30

Page 40: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Simulation Results - Simulation Results - APCAPC

0

50

100

150

200

250

300

350

400

450

55 56 57 58 59 60 61

Number of VoIP sources

End

-to-

end

dela

y (m

s)

Uplink (90th%tile)Downlink (90th%tile)Uplink (AVG)Downlink (AVG)

40 ms packetization interval (64kb/s)24/30

Page 41: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Simulation Results -Simulation Results - APC APC

0

50

100

150

200

250

38 39 40 41 42 43 44 45 46

Number of VoIP sources

End

-to-

end

dela

y (m

s)

Uplink (90th%tile)Downlink (90th%tile)Uplink (AVG)Downlink (AVG)

20 ms + 40 ms packetization interval (64kb/s)25/30

Page 42: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Implementation IssuesImplementation Issues How can the AP know the queue size of

nodes? Add the queue size of each node to VoIP packets.

It requires the changes in clients Estimate the average queue size of nodes

Queue size = Number of packets generated at APP layer – Number of packets transmitted

Number of packets transmitted ≈ Number of packets received

Number of packets generated at APP layer ≈ Number of active nodes x packetization interval

26/30

Page 43: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Implementation IssuesImplementation Issues APC with estimated Queue sizeAPC with estimated Queue size

0

50

100

150

200

250

300

350

400

30 31 32 33 34 35 36 37

Number of VoIP sources

End

-to-

end

dela

y (m

s)

Uplink (90th%tile)Downlink (90th%tile)Uplink (AVG)Downlink (AVG)

27/30

Page 44: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Implementation IssuesImplementation Issues

How to implement Contention Free Transmission? IEEE 802.11e : Contention Free Bursty (CF

B) Change the CFB duration.

Wireless Media Extension (WME) A subset of IEEE 802.11e Implemented in many chipsets Allows change of IFS, CFB duration

28/30

Page 45: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

ConclusionsConclusions

Uplink and downlink delay VoIP traffic in DCF are significantly unbalanced.

APC, in which AP transmits QAP/QNodes packets, balances the uplink and downlink delay.

APC improves the capacity for VoIP traffic from 28 calls to 35 calls, by 25%.

29/30

Page 46: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Future WorkFuture Work

Integrate APC to IEEE 802.11e. Measure the performance of APC with

background traffic. Measure the performance of APC with

actual wireless nodes in ORBIT test-bed.

30/30

Page 47: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

Thank you

Questions?

Page 48: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

MotivationMotivation

VoIP in IEEE 802.11 WLANsDistributed Network (DS)

Page 49: Balancing Uplink and Downlink Delay of VoIP Traffic in 802.11 WLANs

May 2 2006

SimulationsSimulations VoIP traffic model

ITU-T P59

Parameter Duration (s)

Rate (%)

Talk-spurt 1.004 38.53

Pause 1.587 61.47

Double-Talk 0.228 6.59

Mutual Silence

0.508 22.48

0.51.0 0.23 0.30.9

1.5

Duration (s)

Rate (%)

0.9 37.5

1.5 62.5

0 0

0.3 25.0

Our Model