solutions to performance problems in voip over …rek/adv_nets/fall2007/voip_perf.pdfsolutions to...

34
Solutions to Performance Solutions to Performance Problems in VOIP over 802.11 Problems in VOIP over 802.11 Wireless LAN Wireless LAN Wireless LAN Wireless LAN Wei Wang, Soung C. Liew Wei Wang, Soung C. Liew Presented By Presented By Syed Zaidi Syed Zaidi 1

Upload: others

Post on 06-May-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Solutions to Performance Solutions to Performance Problems in VOIP over 802.11 Problems in VOIP over 802.11

Wireless LANWireless LANWireless LANWireless LANWei Wang, Soung C. LiewWei Wang, Soung C. Liew

Presented ByPresented BySyed ZaidiSyed Zaidi

11

Page 2: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

OutlineOutline

IntroductionIntroductionVOIP b k dVOIP b k dVOIP backgroundVOIP backgroundProblems faced in 802.11Problems faced in 802.11•• Low VOIP capacity in 802.11Low VOIP capacity in 802.11Low VOIP capacity in 802.11Low VOIP capacity in 802.11•• Interference between VOIP and TCP Interference between VOIP and TCP SolutionsSolutionsSimulationsSimulationsConclusionConclusionObservationsObservationsObservationsObservations

22

Page 3: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Introduction

VOIP in an 802.11 NetworkVOIP in an 802.11 Network

33

Page 4: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

VOIP BackgroundVOIP CallVOIP Call

44

Page 5: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

VOIP BackgroundRTPRTP

RealReal--time transport protocol.time transport protocol.p pp pBuilt on UDP.Built on UDP.Sequence Numbering.Sequence Numbering.Time Stamping.Time Stamping.Sent at a continues rate every 20ms.Sent at a continues rate every 20ms.

55

Page 6: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

ProblemsProblemsProblemsProblems

Low system capacity in WLAN Low system capacity in WLAN Low system capacity in WLAN Low system capacity in WLAN network for VOIP calls.network for VOIP calls.

Interference between VOIP traffic Interference between VOIP traffic d d t t ffid d t t ffiand data traffic.and data traffic.

66

Page 7: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Too Much OverheadToo Much Overhead

77

Page 8: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Too Much OverheadToo Much Overhead

22 µs to transmit the payload

29 µs to transmit the header

802.11 MAC\PHY layer additional 800 µs800 µs

Solution is to use Voice Multiplex-Multicastp

88

Page 9: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Voice MultiplexVoice Multiplex--Multicast (MMulticast (M--M)M)Voice MultiplexVoice Multiplex Multicast (MMulticast (M M) M) Multiplex packets from various streams into one Multiplex packets from various streams into one p pp pstream to reduce overhead.stream to reduce overhead.

Replace RTP UDP and IP header with a miniReplace RTP UDP and IP header with a mini--Replace RTP,UDP and IP header with a miniReplace RTP,UDP and IP header with a mini--header.header.

Each payload is preceded with this miniEach payload is preceded with this mini--header header representing an ID.representing an ID.

The AP broadcasts this packet and ID is The AP broadcasts this packet and ID is translated into RTP,UDP IP header at the translated into RTP,UDP IP header at the receiver receiver

99

receiver. receiver.

Page 10: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Voice Multiplex-Multicast (M-M)

1010

Page 11: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

IssuesIssuesIssuesIssues

Broadcast issueBroadcast issueBroadcast issue.Broadcast issue.Security.Security.P S i M d f APP S i M d f APPower Saving Mode of AP.Power Saving Mode of AP.

1111

Page 12: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Voice Capacity AnalysisVoice Capacity AnalysisVoice Capacity AnalysisVoice Capacity AnalysisOriginal VOIP

1212

Page 13: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Voice Capacity AnalysisVoice Capacity AnalysisVoice Capacity AnalysisVoice Capacity Analysis

Mi i h d i d t th IP/UDP/RTP h d i t 2M-M VOIP

Mini-header is used to compress the IP/UDP/RTP header into 2 bytes.

1313

Page 14: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Voice Capacity AnalysisVoice Capacity AnalysisVoice Capacity AnalysisVoice Capacity AnalysisTwo type of sourcesTwo type of sourcesypyp

ConstantConstant--bitbit--rate (rate (CBRCBR))VariableVariable--bitbit--rate (rate (VBRVBR))

In VBR average traffic is In VBR average traffic is 45%45% of CBR.of CBR.Original VOIP with VBR source can have Original VOIP with VBR source can have 2626 sessionssessionsOriginal VOIP with VBR source can have Original VOIP with VBR source can have 2626 sessions.sessions.MM--M VOIP with VBR source can have M VOIP with VBR source can have 5050 sessions.sessions.

1414

Page 15: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

SimulationSimulationSimulationSimulationnsns--2 simulation2 simulationPayload size GSM 6.10 codecPayload size GSM 6.10 codecIncrease the number of streams until we reach Increase the number of streams until we reach 1% packet loss1% packet loss

1515

Page 16: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Simulation ObservationsSimulation ObservationsSimulation ObservationsSimulation ObservationsAdding 13Adding 13thth session to CBR for original VOIP causes session to CBR for original VOIP causes gg gg6% Packet loss.6% Packet loss.

VBR for MVBR for M--M scheme number of sessions is lower M scheme number of sessions is lower then expected.then expected.

VBR traffic is bursty causing packet collisions.VBR traffic is bursty causing packet collisions.

Multicast frames will be dropped after first collisionMulticast frames will be dropped after first collision..

1616

Page 17: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

802.11 Packets

1717

Page 18: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Delay PerformanceDelay PerformanceDelay PerformanceDelay PerformanceTo provide good quality minimizing the delay is important.To provide good quality minimizing the delay is important.

Delay jitter is the variation in delay.Delay jitter is the variation in delay.

Delay of simple VOIP is AP + Receiver Station.Delay of simple VOIP is AP + Receiver Station.

Delay of MDelay of M--M is AP + MUX + Receiver.M is AP + MUX + Receiver.yy

We want to keep less then 1% packets with delay of 30ms.We want to keep less then 1% packets with delay of 30ms.

1818

Page 19: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Delay PerformanceDelay Performance (CBR)(CBR)

Original VOIP with 12 sessionsAverage delay 2.5ms Average delay 1.2ms

Jitter delay 1.4ms Delay jitter 1ms1919

Page 20: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Delay PerformanceDelay Performance (CBR)(CBR)yy ( )( )

M-M VOIP with 22 sessionsAverage delay 0.9ms Average delay 2msJitter delay 0.2ms Delay jitter 1.5ms

2020

Page 21: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Delay Analysis (VBR)Delay Analysis (VBR)

Original VOIP with 25 sessionsAverage delay 3.6ms Average delay 1.4msJitter delay 5.9ms Delay jitter 1.3ms

2121

Page 22: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Delay Analysis (VBR)Delay Analysis (VBR)Delay Analysis (VBR)Delay Analysis (VBR)

M-M VOIP with 36 sessionsAverage delay 1.1ms Average delay 0.9msJitter delay 0.7ms Delay jitter 0.7ms

2222

Page 23: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Delay AnalysisDelay AnalysisDelay Analysis Delay Analysis

2323

Page 24: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Delay AnalysisDelay Analysis•Delay at the MUX is upper bound limited by 20ms.

•We are going to consider MUX delay to be distributed from e a e go g to co s de U de ay to be d st buted o0 to 20 ms

2424

Page 25: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Coexistence with TCPCoexistence with TCPCoexistence with TCPCoexistence with TCP

2525

Page 26: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Coexistence with TCPCoexistence with TCPCoexistence with TCPCoexistence with TCPTCP interferes with downlink FIFO queue.TCP interferes with downlink FIFO queue.qq

TCP ACK interferes with clients sending VOIP TCP ACK interferes with clients sending VOIP streams.streams.

2626

Page 27: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Coexistence with TCPCoexistence with TCPCoexistence with TCPCoexistence with TCP

6 VOIP sessions with one TCP flow6 VOIP sessions with one TCP flow

2727

Page 28: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Coexistence with TCPCoexistence with TCPCoexistence with TCPCoexistence with TCP

6 M-M VOIP sessions with one TCP flow6 M-M VOIP sessions with one TCP flow

2828

Page 29: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Coexistence with TCPCoexistence with TCPCoexistence with TCPCoexistence with TCP

11 M M VOIP i ith TCP fl11 M-M VOIP sessions with one TCP flow

2929

Page 30: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

Transmission ErrorsTransmission ErrorsTransmission ErrorsTransmission Errors

In a real world there are transmission In a real world there are transmission In a real world there are transmission In a real world there are transmission errors.errors.

3030

Page 31: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

802 11e802 11e802.11e802.11eImplements QOS by having multiple queues for different types of packetstypes of packets.

3131

Page 32: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

802 11e802 11e802.11e802.11e

3232

Page 33: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

ConclusionConclusionConclusionConclusion

MM--M improves the VOIP capacity.M improves the VOIP capacity.MM M improves the VOIP capacity.M improves the VOIP capacity.MM--M requires no MAC change in the Client M requires no MAC change in the Client station.station.stat ostat oMM--M doesn’t increase delay above 30ms.M doesn’t increase delay above 30ms.With Both Original VOIP and MWith Both Original VOIP and M--M VOIP M VOIP With Both Original VOIP and MWith Both Original VOIP and M M VOIP M VOIP quality is unacceptable with TCP.quality is unacceptable with TCP.Priority queue can solve TCP interference Priority queue can solve TCP interference Priority queue can solve TCP interference Priority queue can solve TCP interference problem.problem.

3333

Page 34: Solutions to Performance Problems in VOIP over …rek/Adv_Nets/Fall2007/VoIP_Perf.pdfSolutions to Performance Problems in VOIP over 802.11 Wireless LAN Wei Wang, Soung C. Liew Presented

ObservationsObservationsObservationsObservations

Didn't discuss the effect of mobility Didn't discuss the effect of mobility Didn t discuss the effect of mobility Didn t discuss the effect of mobility causing variable bandwidth.causing variable bandwidth.Need to look at scenario with Need to look at scenario with Need to look at scenario with Need to look at scenario with majority of TCP and few VOIP users.majority of TCP and few VOIP users.P tili ti t th li t P tili ti t th li t Power utilization at the client Power utilization at the client stations.stations.Only works between AP and AP.Only works between AP and AP.

3434