delivering reliable voip services - telchemy · delivering reliable voip services alan clark ceo,...

49
QoS Tips and Tricks for VoIP Services: Delivering reliable VoIP Services Alan Clark CEO, Telchemy [email protected]

Upload: others

Post on 08-Apr-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

1Alan Clark, Telchemy ISPCON 2005

QoS Tips and Tricks for VoIP Services:

Delivering reliable VoIP Services

Alan ClarkCEO, Telchemy

[email protected]

Page 2: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

2Alan Clark, Telchemy ISPCON 2005

Objectives

• Clear understanding of:– typical problems affecting VoIP service quality– industry best practices for monitoring quality and

diagnosing problems– approaches to mitigating quality problems

• Guidance on:– Performance management architecture– Pre-deployment and requirements definition– Deployment/ integration testing– Operations

Page 3: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

3Alan Clark, Telchemy ISPCON 2005

Outline

• Brief VoIP outline/ update• Problems affecting VoIP/ VoWiFi performance• Tools for Measuring and Diagnosing Problems• Performance Management Architecture• Approaches to improve performance• Planning guidelines

Page 4: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

4Alan Clark, Telchemy ISPCON 2005

Voice over IP - One technology - many services

Today

Hosted PBX -> IP Centrex

PacketCable

VoIP over WiFi

Managed Voice/Data Services

Residential “Overlay” Services

Enterprise IP Telephony

Carrier Backbone

CommonVoIP Core

Videoconf,P2T,IM…….

VoIP over Cellular

Residential VoDSL

Page 5: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

5Alan Clark, Telchemy ISPCON 2005

Components of an IP Telephony System

Trunking / MediaGateway

IP Phone

IP Phone

Softswitch/ CallManagement

POTS Phone

IP

IP-IP

IP-POTS

IP

IP

Page 6: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

6Alan Clark, Telchemy ISPCON 2005

Inside an IP Phone or Gateway

CODEC

Jitterbuffer

Echo Control

Call Signaling

RTP

IPUDPTCP

Network

HandsetOrPCM trunk

Page 7: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

7Alan Clark, Telchemy ISPCON 2005

Call Quality Problems

• Packet Loss• Jitter (Packet Delay Variation)• Codec distortion• Delay (Latency)• Echo• Signal Level• Noise Level• .. and various combinations thereof!!

Page 8: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

8Alan Clark, Telchemy ISPCON 2005

Residential VoIP scenario

IPNetwork

User -> Network

User <- Network

Dataapplication

Softphone

Analog orIP phone

Page 9: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

9Alan Clark, Telchemy ISPCON 2005

Anatomy of a Router or Residential Gateway

Arriving voice & datapackets from LAN

Outputqueue

PacketRouting

Packets sentserially overaccess link

Short fixed length voicePackets

Longer variable lengthdata packets

Voice packet delayedby one or more datapackets

Page 10: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

10Alan Clark, Telchemy ISPCON 2005

Effects of queuing delays in access routers

0

50

100

150

200

250

300

350

400

0 500 1000 1500 2000

Transmission speed (kbits/s)

Ma

x d

ela

y (

mS

)

1 x 1500 byte MTU

2 x 1500 byte MTU

3 x 1500 byte MTU

Added delay due towait for data packetsto be sent = Jitter

Page 11: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

11Alan Clark, Telchemy ISPCON 2005

Jitter leads to Packet discard

Delayed bycongestion

Packets playedout at regularintervals

Late arrivingpacket may bediscarded

Jitter Buffer“On time”

Jitter bufferadds delay

Page 12: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

12Alan Clark, Telchemy ISPCON 2005

Packet Loss vs Jitter

• Low levels of jitter absorbed by jitter buffer• Higher levels of jitter cause adaptive jitter

buffer to grow - increases delay• Very high levels of jitter lead to packets being

discarded• If packets are discarded by the jitter buffer as

they arrive slightly too late they are regarded as “discarded”

• If packets are discarded within the network or arrive extremely late they are regarded as “lost”

Page 13: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

13Alan Clark, Telchemy ISPCON 2005

Data traffic is BURSTY

Broadband connection

0

100

200

300

400

500

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

Ba

nd

wid

th (

kb

it/

s)

Voice

Data

Web accessEmail

Congestion

Page 14: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

14Alan Clark, Telchemy ISPCON 2005

Leads To Time Varying Call Quality

1

2

3

4

5

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

Time

MO

S

0

100

200

300

400

500

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

Ban

dw

idth

(kb

it/

s)

Voice

Data

High jitter/ loss/ discard

Page 15: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

15Alan Clark, Telchemy ISPCON 2005

RTP

Codecs and Packet Loss Concealment Algorithms

Codecor

Vocoder1100…101010

“t” milliseconds

Translates a block of speech samples to a codeword/ frame

G.711 -> 1 sample -> 8 bit codeword

G.729A -> 80 samples -> 80 bit codeword/frame

G.723.1 5.3kbps -> 240 samples -> 160 bit codeword/frame

“n” samples

Codeword

One or more voice framesOr codewords per packet

Page 16: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

16Alan Clark, Telchemy ISPCON 2005

Codec performance

G.711

G.711

G.723.1

4.1

3.6

3.6

MOS

G.729A

G.729A

3.9

3.9

98k

81k

16k

Effective bitrate

42k

25k

64k

64k

5.3k

Bitrate

8k

8k

10mS

20mS

30mS

Frame

10mS

20mS

Page 17: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

17Alan Clark, Telchemy ISPCON 2005

Packet Loss Concealment Algorithms

Lost Lost

Estimated By PLC

Estimated By PLC

Problems- PLC estimate is based on last frame, only good for approx 20-30mS- Discontinuity when next frame received

Page 18: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

18Alan Clark, Telchemy ISPCON 2005

Codec performance

1

2

3

4

5

0 5 10 15 20

Packet Loss/Discard Rate

AC

R M

OS

G.711 no PLCG.711 PLCG.729A

Page 19: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

19Alan Clark, Telchemy ISPCON 2005

Echo Problems

IP

EchoCanceller

Gateway

LineEcho

Round trip delay - typically 50mS+

Additional delay introduced by VoIP makes existing echo problems more obvious

AcousticEcho

Page 20: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

20Alan Clark, Telchemy ISPCON 2005

Echo problems

• Echo with very low delay sounds like “sidetone”

• Echo with some delay makes the line sound hollow

• Echo with over 50mS delay sounds like…. Echo

• Echo Return Loss – 55dB or above is good– 25dB or below is bad

Page 21: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

21Alan Clark, Telchemy ISPCON 2005

Causes of Delay

CODEC Echo Control

Call Signaling

RTP

IPUDPTCP

CODEC Echo Control

Call Signaling

RTP

IPUDPTCP

External delayAccumulate and encode

Jitter buffer Decode & Playout

Transmission delayplusCongestion relateddelay

Page 22: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

22Alan Clark, Telchemy ISPCON 2005

Impact of Delay

1

2

3

4

5

0 100 200 300 400 500 600

Round trip delay (milliseconds)

MO

S S

core

55dB Echo Return Loss

35dB Echo Return Loss

Conversational problems

Echo problems

Page 23: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

23Alan Clark, Telchemy ISPCON 2005

Signal Level Problems

Temporal Clipping occurs with VAD or Echo Suppressors -- gaps in speech, start/end of words missing

Amplitude Clipping occurs -- speech sounds loud and “buzzy”

-16 dBm0

-36 dBm0

Page 24: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

24Alan Clark, Telchemy ISPCON 2005

Issues related to Wireless

• Handoffs between access points– Short gaps as call is handed from one access point to

another

• Jitter due to retransmissions– 802.11 uses retransmission to improve reliability– For low signal strength - leads to increased jitter

• Delay events during speed changes?

Page 25: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

25Alan Clark, Telchemy ISPCON 2005

Example - RSSI and Jitter for 802.11b WLAN

0

50

100

150

200

250

3000

25

50

75

10

0

12

5

15

0

17

5

20

0

22

5

25

0

27

5

30

0

32

5

35

0

37

5

40

0

42

5

45

0

Time

Dela

y (

mS

) &

RS

SI

RSSIJitter

Page 26: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

26Alan Clark, Telchemy ISPCON 2005

OK - so what do I do about it?

• Tools for measuring VoIP performance• VoIP QoS reporting protocols and the VoIP

performance management architecture• Equipment requirements

– Integrated performance monitoring– Priority queuing in routers– Better jitter buffer and PLC algorithms in endpoints

• Design guidelines

Page 27: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

27Alan Clark, Telchemy ISPCON 2005

Tools for measuring VoIP performance

VQmon

ITU G.107ITU P.862 (PESQ)

VQmon

ITU P.VTQITU P.563

Active Test- Measure test calls

Passive Test- Measure live calls

VoIP SpecificAnalog signal based

Page 28: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

28Alan Clark, Telchemy ISPCON 2005

Accuracy and Processing Time comparison

VQmon

P.563

P.862

Processing load (MIPS)

Accuracy

+/- MOS

0.1 1.0 10 100

0.1

0.3

0.5

1.0

2.0

Moreaccurate

Lessaccurate

Lesscost

Morecost

Page 29: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

29Alan Clark, Telchemy ISPCON 2005

VQmon - passive monitoring application

IPVQVQ

VQ

Jitter Buffer

CODECPLC

Models

PerceptualModel

MetricsCalculation

Analog parameters MOS scores

R factors

Diagnostic data

Embedded inIP phone orgateway

Embedded intrunking gatewayor Session/Border Controller

Embedded in midstreamprobe, analyzer, router

VQmon

Page 30: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

30Alan Clark, Telchemy ISPCON 2005

VQmon - active test application

IPVQVQ

VQ

Embedded inIP phone orgateway

Embedded intrunking gatewayor Session/Border Controller

Embedded in midstreamprobe, analyzer, router

VQmon

MOS scores

R factors

Diagnostic dataAudiopayloads

RTP Generation

IPNetwork

Jitter Buffer

PayloadAnalysis

Page 31: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

31Alan Clark, Telchemy ISPCON 2005

PESQ - active test application

IP

Timealign

Audiofiles

FFT…

FFT…

ComparePESQScore

Tested segment of connection

PESQ

Page 32: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

32Alan Clark, Telchemy ISPCON 2005

Active or Passive Testing?

• Active testing – works for pre-deployment testing and on-demand

troubleshooting

• But!!!!– IP problems are transient

• Passive monitoring – Monitors every call made– Captures information on transient problems– Provides data for post-analysis

• Therefore - you need both

Page 33: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

33Alan Clark, Telchemy ISPCON 2005

VoIP Performance Management Framework

Media Path Reporting(RTCP XR)

Call Server andCDR database

VoIPEndpoint

VoIPGateway

SNMPReporting

NetworkManagementSystem

Signaling Based QoS Reporting

Embedded Monitoring

Network Probe,Analyzer orRouter

VQVQ

Embedded Monitoring

VQ

RTP stream (possibly encrypted)

Page 34: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

34Alan Clark, Telchemy ISPCON 2005

VoIP Performance Management Framework

• Embedded monitoring function in IP phones, residential gateways….– Close to the user– Least cost + widest coverage

• Protocol support developed– RTCP XR (RFC3611), SIP, MGCP, H.323, Megaco– Draft SNMP MIB

• Works in encrypted environments• Already being deployed by equipment vendors

Page 35: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

35Alan Clark, Telchemy ISPCON 2005

The role of RTCP XR

RTCP XR (RFC3611)

- Provides a useful set of metrics for VoIP performance monitoringand diagnosis

- Supports both real time monitoring and post-analysis

- Extracts signal level, noise level and echo level from DSP software in the endpoint

- Exchanges info on endpoint delay and echo to allow remote endpointto assess echo impact

- Provides midstream probes/ analyzers access to analog metrics if secure RTP is used

- Goes through firewalls………

Page 36: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

36Alan Clark, Telchemy ISPCON 2005

RTCP XR - RFC3611 - VoIP Metrics block

Loss Rate Discard Rate Burst Density Gap Density

Burst Duration (mS) Gap Duration (mS)

Round Trip Delay (mS) End System Delay (mS)

Signal level RERL Noise Level Gmin

R Factor Ext R MOS-LQ MOS-CQ

Rx Config - Jitter Buffer Nominal

Jitter Buffer Max Jitter Buffer Abs Max

Page 37: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

37Alan Clark, Telchemy ISPCON 2005

Residential VoIP service application - passive

IPNetwork

VQ

VQVQ

VQ

Analogphone

SIPphone

SIPSoftphone

ResidentialGateway

RTCP XR exchange

End of callreport via SIP

PSTN

Web basedreporting

Passive monitoringfunctions

Page 38: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

38Alan Clark, Telchemy ISPCON 2005

Applying RTCP XR Metrics

• Discard occurs in 1-2 second bursts– Typically access link congestion

• Signal level > -10dBm0– Too loud, volume problem in handset or voice port in gateway,

could cause clipping

• Signal level < -30dBm0– Too quiet, gaps in speech

• Noise level > -55dBm0– Noisy signal (background or equipment?)

• RERL < 55dBm and Delay > 50mS– Echo problem

• Delay > 300mS (End system + network)– Conversational difficulty

Page 39: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

39Alan Clark, Telchemy ISPCON 2005

Residential VoIP service application - active

IPNetwork

AQ

AQ

Analogphone

SIPphone

SIPSoftphone

ResidentialGateway

RTCP XR exchange

Web basedreporting

Active TestServer

Active testpoints

AQ

Page 40: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

40Alan Clark, Telchemy ISPCON 2005

Minimizing / Mitigating problems

• Careful network design• Improved PLC algorithms and robust codecs• Prioritizing voice traffic• Call admission control

Page 41: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

41Alan Clark, Telchemy ISPCON 2005

Network design

• Many problems can be easily predicted– Enough bandwidth?– Too many interfering data sources?– No QoS controls?

• Useful tools– Application notes (e.g. Telchemy’s “Six Steps”)– Simulation tools – Predeployment testing tools

Page 42: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

42Alan Clark, Telchemy ISPCON 2005

Technologies for improving QoS

• Priority queues for Voice traffic

• Admission control

• Improved Codec/PLC algorithms

Page 43: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

43Alan Clark, Telchemy ISPCON 2005

Priority queuing in routers

Arriving voice & datapackets from LAN

Data outputqueue

Voice outputqueue

PacketRouting &

Classification

Packets sentserially overaccess linkShort fixed length voice

Packets

Longer variable lengthdata packets Voice sent first

Page 44: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

44Alan Clark, Telchemy ISPCON 2005

Priority queuing in routers

• Can get internal congestion in router– Packets have to be inspected, NAT’d, moved

between internal queues….

• Voice packets still have to wait for one complete data packet– May need to also limit MTU size on slower links

Page 45: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

45Alan Clark, Telchemy ISPCON 2005

Admission control

Too many calls = lower quality

Call Admission Control- Limit number of active calls

Measurement based Call Admission Control- Measure quality and adjust call volume to maintain

Practical Problems- Codec type can change dynamically (e.g. 8k G729 -> 64k G711- Applying to complex routes with many bottlenecks

Page 46: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

46Alan Clark, Telchemy ISPCON 2005

Robust Codecs and PLC Algorithms

• “Good” PLC algorithm– Good for isolated lost packets– Some distortion for loss rates of 10%

– Intelligible for loss rates of 20%

• Simple PLC algorithms– OK for isolated lost packets– Some distortion for loss rates of 5%– Intelligible for loss rates of 10%– Audible artifacts - beeps, robotic sounds

• BUT– Loss is BURSTY therefore PLC algorithms USUALLY have to

cope with 20-30% loss rates!!!

Page 47: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

47Alan Clark, Telchemy ISPCON 2005

Robust Codec and PLC Algorithms

Lost Lost

Estimated By PLC

Estimated By PLC

Approaches

- Use Codec that does not depend on previous frame (e.g. ILBC)

- Smarter PLC algorithms that match waveforms, avoid glitches

Page 48: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

48Alan Clark, Telchemy ISPCON 2005

Planning

• Understand what affects performance– This presentation, www.voiptroubleshooter.com

• Understand what your user scenarios are– DSL, Cable Modem, Dialup….

• Understand what your users’ expectations are…..– Cost vs performance

• Understand what equipment would be used– Residential gateways - codec types….

• Understand that you can’t easily add management as an afterthought - buy/ recommend equipment that supports RTCP XR (properly)

• Develop a management/ troubleshooting strategy, identify tools and technologies

Page 49: Delivering reliable VoIP Services - Telchemy · Delivering reliable VoIP Services Alan Clark CEO, Telchemy alan.d.clark@telchemy.com. Alan Clark, Telchemy ISPCON 2005 2 ... • Performance

49Alan Clark, Telchemy ISPCON 2005

Outline

• Brief VoIP outline/ update• Problems affecting VoIP/ VoWiFi performance• Tools for Measuring and Diagnosing Problems• Performance Management Architecture• Approaches to improve performance• Planning guidelines