SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Downloaden Sie, um offline zu lesen
VOIP QOS
ITSPA - Autumn Seminar
11th October 2012
LEEDS
Thomas Mangin
Technical Director
IXLeeds
THE
EDGE
THE
CORE
AND THE
IXP
AGENDA
NO AGENDA
Agenda are good to let you known
when to doze off
There is under 30 slides
you can do it !
QOS Definition :
Telephony
In the field of telephony
defined by the ITU in 1994 : E.800
Terms and definitions related to quality of service and network performance including dependability
requirements on all the aspects of a connection
response time, loss, signal-to-noise ratio, cross-talk, echo, interrupts,
frequency response, loudness levels, ...
Cares about customer experience
The Quality of Service ...
QOS Definition :
Networking
In the field of networking
resource reservation control mechanisms rather than the achieved
service quality
ability to guarantee a certain level of performance to
data flows, applications, users, ...
Has no concept of end user experience “Quality”
QOS Definition :
Let’s speak the same language ..
Explaining IP challenges related to VoIP
Packet-switched networks issues / constraints ..
The problems QOS tries to solves
RSVP (MPLS) vs DiffServ
QOS across different networks
End to End network design for your services
AND why you should care about peering
To improve call quality
The QOS your customers care about
I am speaking of that QOS
To achieve that one
Why is QOS required in packet
switching networks ?
Most of the challenge are with RTP (Audio)
Signaling is much more resilient
But mostly still uses UDP
What can go wrong in a IP network ?
Errors (hardware issues)
Bad configuration (duplex mismatch)
Bandwidth congestion
Dropped packets
Latency / Jitter
Bad call quality QOS may help
Only money can help
Money will help
QOS may help
OFF-TOPIC
Requirements :
VoIP is a sensitive service
VoIP requires regular packets
RTP has no retransmission
VoIP buffers cause audio delay
VoIP is very sensitive to packet loss
dropping packet is the worst thing which can happen
Missing packet means an audio drop-out occurs for the speaker
VoIP requires a network which “cares”
Some networks are “optimised” for data
throughput using deep buffers VS jitter
buffering is good for data and bad for VoIP
Jitter:
What is it ?
Jitter is a variation of Latency
variation in delay between packets
can cause out of order packets
Jitter is the biggest VoIP challenge
For an network engineer
Jitter can happen in well provisioned network
Multiple paths to a single destination, worse with unequal path length
use of multiple line with L2/L3 load balanced (need to be per flow)
Can be caused outside the network
transcoding on a very busy machine !
Jitter :
The “real world” analogy
take a very large audio book on tapes
and send it to a friend living abroad
send a tape a day with a car courier
- packet network
require your friend to listen a tape a day too
- real time constraint
ask him to only keep two tapes with him
- small buffer constraint
A VoIP packet is like a car carrying audio tapes ...
Jitter :
The “real world” analogy
What if ..
you could tell the driver which road to use
using the same road, mean encountering the same traffic jams
car more likely to arrive in the right order
predictable paths reduce the chances of jitter
The listener can keep more tapes
more likely to be able to listen a tape a day
it may delay the starting day
correct buffering reduce chances of jitter
Jitter :
The “real world” analogy
What if ..
The listener moves to nearer to your house (from Asia to Europe)
shorter paths reduces chance of jitter
your friend moves back to “mainland”
less chance of hitting a french ferry/eurostar strike
not using third party infrastructure reduces the chances of jitter
Only use motorways
less chance of being stuck behind a long slow truck on a small road
uncongested path reduces the chances of jitter
Jitter :
What can cause it ?
Every router between the caller and the callee
small RTP packets (200 bytes) “stuck” behind “larger” (1,500 bytes) data packets
high serialisation times on slow speed circuit
How much of a delay ?
1500 byte packet at 100Mbps takes 0.12ms
1500 bytes at 2Mbps = 6 ms
1500 bytes at 250kbps = 48 ms
On a DSL router at 250k
sending a large mail will cause at least 48 ms delay for many packets
a RTP packet behind behind two data packet will have 96 ms of delay
48 ms alone may be enough to exhaust a low de-jitter buffer
Latency / Jitter :
End to End transfer time
How much Latency can a VoIP call sustain ?
ITU G.114 recommendation for end-to-end delay is 150ms max
at 400ms two way conversation becomes very difficult.
Source of buffering
codec delays (converting to and from raw audio)
network
jitter buffer
Correct jitter buffering
typically 30-50 ms worth of data
Over-buffering can cause latency issues
Bandwith congestion :
The “real world” analogy
Congestion ...
trying to pass more cars than the motorway can take ..
A best everyone arrives late (latency / jitter)
Some cars may not reach their destination (packet drops)
Only BIG difference with IP Network ..
no one will see his car vaporised in a traffic jam to reduce it ...
Never good to any IP network
Never run any link at more than 70% average capacity
micro-burst - will cause bad packet loss for VoIP
monitor peak (5 minutes average sampling is a LONG time)
Bandwidth congestion :
QOS can / can’t
It CAN ..
Provide resource reservation
provide your VoIP with a “special virtual network” (RSVP/MPLS) with
guaranteed bandwidth even if some big FTP transfer is going on
Provide “flow” prioritisation
make sure all UDP packet from and to to AQL RTP servers pass before
anything else
It can NOT ..
More than 100 Mbps worth of RTP down a 100 Mbps circuit !
on a 1Mbps circuit carrying 960kps of RTP perfectly (12 calls)
a single 80 kbps call will cause audio break-out for ALL users
QOS Types :
The car analogy
MPLS (RSVP)
The bandwidth is reserved for VoIP...
But lost for other services
The bus lane
Proritisation (Most often DiffServ)
The flow are prioritised
The police/ambulance siren
Traffic MUST still be “constrained”
Often three levels of prioritisation
best effort (data)
real-time (voip, video)
network control (ISP protocol / remote administration)
QOS :
How does it works
1 - Classify
find the traffic you want to treat specially
2 - Mark
add information to the IP packet telling how it should be treated
3 - Queue
apply the differentiation on every router ...
QOS :
How does it works
1 - Classify
find the traffic you want to treat specially
using L3 packet header (source IP, port, ...)
using ACL on edge / core devices
using Deep Packet Inspection (looking at the content of the packet)
example Cisco NBAR
Agreed between the client and the network provider
some equipment may be using non-standard port / settings
can be to boost what you know is VoIP (often ACL)
can be to slow down what you do not know (often DPI)
Must be done with any VoIP service provider too
traffic from and to the PSTN gateway must be prioritised
QOS :
How does it works
2 - Mark
add information to the IP packet telling how it should be treated
used for later action
can be done at Layer 2
ethernet CoS field inside of 802.1q framer (3 bits)
information lost when the packet is untagged
or at Layer 3
IP header has 1 byte TOS field for IP Precedence
TOS was never widespread
Used as DS field (6 bits) + ECN (2 bits)
6 bits Diff Serv (Differenciated Services) + 2 bits ECN
Ideally done one when the packet enter the core
unmark traffic marked by customers when (not) appropriate
do not want a VoIP DOS by having junk prioritised
QOS :
How does it works
3 - Queue
routers can only affect OUTGOING traffic
queuing is only important when there is output congestion on an interface
packet loss occurs when interface buffers are full, before : latency and jitter
Text
http://www.cisco.com/en/US/docs/solutions/Verticals/CPwE/CPwE_chapter8.html
QOS :
How does it works
3 - Queue
prioritise traffic based on marking
software queues on small routers
default a single FIFO
can be split in multiple ones, each with different priority and policy
hardware queues on most ASIC accelerated hardware
often called TX ring or TX Queue
here to make sure there is always data ready to be serialised
different hardware have very different features
for the same router, line-cards can matter enormously
QOS :
The EDGE
What should be done on the EDGE ?
The edge is the most usual congestion location
Data burst enormously, VoIP must be protected
EDGE QOS protects VoIP packets over normal data
EDGE routers mark VoIP packet as more important
until the customer pays for a upgrade :D
The edge suffers from high serialisation times
Lower bitrate links mean higher serialisation time.
use rate-limited over-provisioned product
QOS :
The EDGE
What should be done on the EDGE ?
QOS can only affect outgoing packet
QOS must be applied the customer router for outgoing
QOS must be applied on your EDGE toward your customer
If your customer need to pick an ISP
Make sure your customer’s ISP has some form of VoIP QOS enabled
see if the ISP is willing to QOS your VoIP packet toward the customer
QOS :
The CORE
What should be done on the CORE ?
Core networks do see many micro-burst
every router on the core should have the same QOS policy configured
QOS mitigate issues caused by regular / large micro-burst
Serialisation delays are generally better due to faster line rate
1000 x 1500 byte packets on 1Gbps circuit “only” adds 12ms of jitter
a 10 Gb link causes 10 times less jitter as 1 Gb one
over-provision the core as much as possible
use faster interface when it is financially viable
Enable but try to avoid to have to use QOS altogether
QOS :
The IXP
What should be done beyond the CORE ?
The QOS mechanisms should be applied end-to-end
not always possible if you do not provide connectivity to your customer
most often not possible with transit providers
VoIP providers should seek to reduce latency as much as possible
with their customers suppliers
with their providers
Should use the most direct connections
PI or
Peering
QOS :
The IXP
Peering provides a direct connection with your business partners
improve network visibility
more direct connection / no third party
European IX are member owned, it is an extension of your network
reduce latency / jitter
peering provide direct network to network connection
IXes provides the same advantages as PI (no hidden congestion)
but allow to reach more networks (good backup for PI)
join a technical community
Learn lots about the service provider marker
Questions ?
mailto/xmpp: thomas@ixleeds.net
Thank you for your attention
More information :
http://thomas.mangin.com/data/pdf/Linx 65 - Halfpenny -VOIP QOS.pdf

Weitere ähnliche Inhalte

Was ist angesagt?

Introduction to VoIP using SIP
Introduction to VoIP using SIPIntroduction to VoIP using SIP
Introduction to VoIP using SIPKundan Singh
 
VOIP: VOICE OVER IP
VOIP: VOICE OVER IPVOIP: VOICE OVER IP
VOIP: VOICE OVER IPVideoguy
 
Voice over IP By SAIKIRAN PANJALA
Voice over IP By SAIKIRAN PANJALAVoice over IP By SAIKIRAN PANJALA
Voice over IP By SAIKIRAN PANJALASaikiran Panjala
 
Voice Quality Metrics in VoIP
Voice Quality Metrics in VoIPVoice Quality Metrics in VoIP
Voice Quality Metrics in VoIPFraj Alshahibi
 
Practical Fundamentals of Voice over IP (VoIP) for Engineers and Technicians
Practical Fundamentals of Voice over IP (VoIP) for Engineers and TechniciansPractical Fundamentals of Voice over IP (VoIP) for Engineers and Technicians
Practical Fundamentals of Voice over IP (VoIP) for Engineers and TechniciansLiving Online
 
Voice over Internet Protocol (VoIP) using Asterisk
Voice over Internet Protocol (VoIP) using AsteriskVoice over Internet Protocol (VoIP) using Asterisk
Voice over Internet Protocol (VoIP) using AsteriskSameer Verma
 
Voice over IP: Issues and Protocols
Voice over IP: Issues and ProtocolsVoice over IP: Issues and Protocols
Voice over IP: Issues and ProtocolsVideoguy
 
Avaya VoIP on Cisco Best Practices by PacketBase
Avaya VoIP on Cisco Best Practices by PacketBaseAvaya VoIP on Cisco Best Practices by PacketBase
Avaya VoIP on Cisco Best Practices by PacketBasePacketBase, Inc.
 
VOIP Presentation
VOIP Presentation VOIP Presentation
VOIP Presentation tofael1
 
VOIP business model
VOIP business modelVOIP business model
VOIP business modelLatte Media
 
Voice Over IP (VoIP)
Voice Over IP (VoIP)Voice Over IP (VoIP)
Voice Over IP (VoIP)habib_786
 
6293213 sip-presentation
6293213 sip-presentation6293213 sip-presentation
6293213 sip-presentationJoe Trial
 
Wimax and VoIP Presentation
Wimax and VoIP PresentationWimax and VoIP Presentation
Wimax and VoIP PresentationMario B.
 

Was ist angesagt? (20)

Introduction to VoIP using SIP
Introduction to VoIP using SIPIntroduction to VoIP using SIP
Introduction to VoIP using SIP
 
VOIP: VOICE OVER IP
VOIP: VOICE OVER IPVOIP: VOICE OVER IP
VOIP: VOICE OVER IP
 
Introduction to VoIP
Introduction to VoIPIntroduction to VoIP
Introduction to VoIP
 
Voice over IP By SAIKIRAN PANJALA
Voice over IP By SAIKIRAN PANJALAVoice over IP By SAIKIRAN PANJALA
Voice over IP By SAIKIRAN PANJALA
 
Voice Quality Metrics in VoIP
Voice Quality Metrics in VoIPVoice Quality Metrics in VoIP
Voice Quality Metrics in VoIP
 
Practical Fundamentals of Voice over IP (VoIP) for Engineers and Technicians
Practical Fundamentals of Voice over IP (VoIP) for Engineers and TechniciansPractical Fundamentals of Voice over IP (VoIP) for Engineers and Technicians
Practical Fundamentals of Voice over IP (VoIP) for Engineers and Technicians
 
Voice over Internet Protocol (VoIP) using Asterisk
Voice over Internet Protocol (VoIP) using AsteriskVoice over Internet Protocol (VoIP) using Asterisk
Voice over Internet Protocol (VoIP) using Asterisk
 
Introduction to VoIP
Introduction to VoIPIntroduction to VoIP
Introduction to VoIP
 
Voip
VoipVoip
Voip
 
Voice over IP: Issues and Protocols
Voice over IP: Issues and ProtocolsVoice over IP: Issues and Protocols
Voice over IP: Issues and Protocols
 
VOIP services
VOIP servicesVOIP services
VOIP services
 
Avaya VoIP on Cisco Best Practices by PacketBase
Avaya VoIP on Cisco Best Practices by PacketBaseAvaya VoIP on Cisco Best Practices by PacketBase
Avaya VoIP on Cisco Best Practices by PacketBase
 
VoIP for Dummies
VoIP for DummiesVoIP for Dummies
VoIP for Dummies
 
Introduction To SIP
Introduction  To  SIPIntroduction  To  SIP
Introduction To SIP
 
VOIP Presentation
VOIP Presentation VOIP Presentation
VOIP Presentation
 
VOIP business model
VOIP business modelVOIP business model
VOIP business model
 
Voice Over IP (VoIP)
Voice Over IP (VoIP)Voice Over IP (VoIP)
Voice Over IP (VoIP)
 
6293213 sip-presentation
6293213 sip-presentation6293213 sip-presentation
6293213 sip-presentation
 
Voip Ppt
Voip PptVoip Ppt
Voip Ppt
 
Wimax and VoIP Presentation
Wimax and VoIP PresentationWimax and VoIP Presentation
Wimax and VoIP Presentation
 

Andere mochten auch

2016-02-17 research seminar
2016-02-17 research seminar2016-02-17 research seminar
2016-02-17 research seminarifi8106tlu
 
Quality of Servise
Quality of ServiseQuality of Servise
Quality of ServiseRaza_Abidi
 
The Art of VoIP Hacking - Defcon 23 Workshop
The Art of VoIP Hacking - Defcon 23 WorkshopThe Art of VoIP Hacking - Defcon 23 Workshop
The Art of VoIP Hacking - Defcon 23 WorkshopFatih Ozavci
 
Voip powerpoint
Voip powerpointVoip powerpoint
Voip powerpointGW1992
 
Rumana Akther Id#072842056
Rumana Akther Id#072842056Rumana Akther Id#072842056
Rumana Akther Id#072842056mashiur
 
Voz ip qos
Voz ip qosVoz ip qos
Voz ip qosgasay
 
Security Issues In Voip
Security Issues In VoipSecurity Issues In Voip
Security Issues In VoipWaqas Daar
 
Quality of service in wireless communication
Quality of service in wireless communicationQuality of service in wireless communication
Quality of service in wireless communicationPRADEEP Cheekatla
 
QoS (quality of service)
QoS (quality of service)QoS (quality of service)
QoS (quality of service)Sri Safrina
 
What is VoIP and How it works?
What is VoIP and How it works?What is VoIP and How it works?
What is VoIP and How it works?broadconnect
 

Andere mochten auch (16)

2016-02-17 research seminar
2016-02-17 research seminar2016-02-17 research seminar
2016-02-17 research seminar
 
MGCP Overview
MGCP OverviewMGCP Overview
MGCP Overview
 
Quality of Servise
Quality of ServiseQuality of Servise
Quality of Servise
 
The Art of VoIP Hacking - Defcon 23 Workshop
The Art of VoIP Hacking - Defcon 23 WorkshopThe Art of VoIP Hacking - Defcon 23 Workshop
The Art of VoIP Hacking - Defcon 23 Workshop
 
Voip powerpoint
Voip powerpointVoip powerpoint
Voip powerpoint
 
Rumana Akther Id#072842056
Rumana Akther Id#072842056Rumana Akther Id#072842056
Rumana Akther Id#072842056
 
Voz ip qos
Voz ip qosVoz ip qos
Voz ip qos
 
Security Issues In Voip
Security Issues In VoipSecurity Issues In Voip
Security Issues In Voip
 
Quality of service in wireless communication
Quality of service in wireless communicationQuality of service in wireless communication
Quality of service in wireless communication
 
RTP.ppt
RTP.pptRTP.ppt
RTP.ppt
 
QoS (quality of service)
QoS (quality of service)QoS (quality of service)
QoS (quality of service)
 
Research paper on VOIP Technology
Research paper on VOIP TechnologyResearch paper on VOIP Technology
Research paper on VOIP Technology
 
Vo ip sip
Vo ip sipVo ip sip
Vo ip sip
 
What is VoIP and How it works?
What is VoIP and How it works?What is VoIP and How it works?
What is VoIP and How it works?
 
Quality of Service
Quality of ServiceQuality of Service
Quality of Service
 
SIP security in IP telephony
SIP security in IP telephonySIP security in IP telephony
SIP security in IP telephony
 

Ähnlich wie VOIP QOS

Mohammad Faisal Kairm(073714556) Assignment 2
Mohammad Faisal Kairm(073714556) Assignment 2Mohammad Faisal Kairm(073714556) Assignment 2
Mohammad Faisal Kairm(073714556) Assignment 2mashiur
 
ENSA_Module_9-QoS Concept.pptx
ENSA_Module_9-QoS Concept.pptxENSA_Module_9-QoS Concept.pptx
ENSA_Module_9-QoS Concept.pptxZikoSuryaLesmana
 
Razin Kabir (063452556)
Razin Kabir (063452556)Razin Kabir (063452556)
Razin Kabir (063452556)mashiur
 
Practical Fundamentals of Voice over IP (VoIP) for Engineers and Technicians
Practical Fundamentals of Voice over IP (VoIP) for Engineers and TechniciansPractical Fundamentals of Voice over IP (VoIP) for Engineers and Technicians
Practical Fundamentals of Voice over IP (VoIP) for Engineers and TechniciansLiving Online
 
9.) audio video ethernet (avb cobra net dante)
9.) audio video ethernet (avb cobra net dante)9.) audio video ethernet (avb cobra net dante)
9.) audio video ethernet (avb cobra net dante)Jeff Green
 
Is there still room for linking narrowband PMR sites in this digital world?
Is there still room for linking narrowband PMR sites in this digital world?Is there still room for linking narrowband PMR sites in this digital world?
Is there still room for linking narrowband PMR sites in this digital world?Comms Connect
 
PLNOG16: Usługi w sieciach operatorskich, Marcin Aronowski
PLNOG16: Usługi w sieciach operatorskich, Marcin AronowskiPLNOG16: Usługi w sieciach operatorskich, Marcin Aronowski
PLNOG16: Usługi w sieciach operatorskich, Marcin AronowskiPROIDEA
 
ETE405-lec8.pdf
ETE405-lec8.pdfETE405-lec8.pdf
ETE405-lec8.pdfmashiur
 
Shah Md Zobair(063560056)
Shah Md Zobair(063560056)Shah Md Zobair(063560056)
Shah Md Zobair(063560056)mashiur
 
Jawdat NGN IDNOG v1.0 public
Jawdat NGN IDNOG v1.0 publicJawdat NGN IDNOG v1.0 public
Jawdat NGN IDNOG v1.0 publicHimawan Nugroho
 
03 (IDNOG01) NGN Next Generation Networks by Himawan Nugroho
03 (IDNOG01) NGN Next Generation Networks by Himawan Nugroho03 (IDNOG01) NGN Next Generation Networks by Himawan Nugroho
03 (IDNOG01) NGN Next Generation Networks by Himawan NugrohoIndonesia Network Operators Group
 
JAWDAT NGN IDNOG v1.0 (public)[COPY]
JAWDAT NGN IDNOG v1.0 (public)[COPY]JAWDAT NGN IDNOG v1.0 (public)[COPY]
JAWDAT NGN IDNOG v1.0 (public)[COPY]Mahadiputra S
 
Advanced radio over IP
Advanced radio over IPAdvanced radio over IP
Advanced radio over IPComms Connect
 
ETE405-lec8.pptx
ETE405-lec8.pptxETE405-lec8.pptx
ETE405-lec8.pptxmashiur
 
Network Application Performance
Network Application PerformanceNetwork Application Performance
Network Application PerformanceShumon Huque
 
ETE405-lec4.pptx
ETE405-lec4.pptxETE405-lec4.pptx
ETE405-lec4.pptxmashiur
 
AETA_2004_VOIP.ppt
AETA_2004_VOIP.pptAETA_2004_VOIP.ppt
AETA_2004_VOIP.pptVideoguy
 

Ähnlich wie VOIP QOS (20)

Mohammad Faisal Kairm(073714556) Assignment 2
Mohammad Faisal Kairm(073714556) Assignment 2Mohammad Faisal Kairm(073714556) Assignment 2
Mohammad Faisal Kairm(073714556) Assignment 2
 
ENSA_Module_9-QoS Concept.pptx
ENSA_Module_9-QoS Concept.pptxENSA_Module_9-QoS Concept.pptx
ENSA_Module_9-QoS Concept.pptx
 
Razin Kabir (063452556)
Razin Kabir (063452556)Razin Kabir (063452556)
Razin Kabir (063452556)
 
Practical Fundamentals of Voice over IP (VoIP) for Engineers and Technicians
Practical Fundamentals of Voice over IP (VoIP) for Engineers and TechniciansPractical Fundamentals of Voice over IP (VoIP) for Engineers and Technicians
Practical Fundamentals of Voice over IP (VoIP) for Engineers and Technicians
 
9.) audio video ethernet (avb cobra net dante)
9.) audio video ethernet (avb cobra net dante)9.) audio video ethernet (avb cobra net dante)
9.) audio video ethernet (avb cobra net dante)
 
Is there still room for linking narrowband PMR sites in this digital world?
Is there still room for linking narrowband PMR sites in this digital world?Is there still room for linking narrowband PMR sites in this digital world?
Is there still room for linking narrowband PMR sites in this digital world?
 
PLNOG16: Usługi w sieciach operatorskich, Marcin Aronowski
PLNOG16: Usługi w sieciach operatorskich, Marcin AronowskiPLNOG16: Usługi w sieciach operatorskich, Marcin Aronowski
PLNOG16: Usługi w sieciach operatorskich, Marcin Aronowski
 
ETE405-lec8.pdf
ETE405-lec8.pdfETE405-lec8.pdf
ETE405-lec8.pdf
 
Shah Md Zobair(063560056)
Shah Md Zobair(063560056)Shah Md Zobair(063560056)
Shah Md Zobair(063560056)
 
Jawdat NGN IDNOG v1.0 public
Jawdat NGN IDNOG v1.0 publicJawdat NGN IDNOG v1.0 public
Jawdat NGN IDNOG v1.0 public
 
03 (IDNOG01) NGN Next Generation Networks by Himawan Nugroho
03 (IDNOG01) NGN Next Generation Networks by Himawan Nugroho03 (IDNOG01) NGN Next Generation Networks by Himawan Nugroho
03 (IDNOG01) NGN Next Generation Networks by Himawan Nugroho
 
JAWDAT NGN IDNOG v1.0 (public)[COPY]
JAWDAT NGN IDNOG v1.0 (public)[COPY]JAWDAT NGN IDNOG v1.0 (public)[COPY]
JAWDAT NGN IDNOG v1.0 (public)[COPY]
 
A glance-at-voip
A glance-at-voipA glance-at-voip
A glance-at-voip
 
Report
ReportReport
Report
 
M1803037881
M1803037881M1803037881
M1803037881
 
Advanced radio over IP
Advanced radio over IPAdvanced radio over IP
Advanced radio over IP
 
ETE405-lec8.pptx
ETE405-lec8.pptxETE405-lec8.pptx
ETE405-lec8.pptx
 
Network Application Performance
Network Application PerformanceNetwork Application Performance
Network Application Performance
 
ETE405-lec4.pptx
ETE405-lec4.pptxETE405-lec4.pptx
ETE405-lec4.pptx
 
AETA_2004_VOIP.ppt
AETA_2004_VOIP.pptAETA_2004_VOIP.ppt
AETA_2004_VOIP.ppt
 

Mehr von Thomas Mangin

Mehr von Thomas Mangin (10)

LINX 83 ExaBGP as a route server ?
LINX 83  ExaBGP as a route server ?LINX 83  ExaBGP as a route server ?
LINX 83 ExaBGP as a route server ?
 
ExaBGP at LINX 83
ExaBGP at LINX 83ExaBGP at LINX 83
ExaBGP at LINX 83
 
Naked BGP
Naked BGPNaked BGP
Naked BGP
 
The benefit of BGP for every service provider
The benefit of BGP for every service providerThe benefit of BGP for every service provider
The benefit of BGP for every service provider
 
ExaProxy
ExaProxyExaProxy
ExaProxy
 
ScavengerEXA
ScavengerEXAScavengerEXA
ScavengerEXA
 
AS-STATS
AS-STATSAS-STATS
AS-STATS
 
BGP route leak
BGP route leakBGP route leak
BGP route leak
 
IXLeeds 2 Technical Update
IXLeeds 2 Technical UpdateIXLeeds 2 Technical Update
IXLeeds 2 Technical Update
 
IXLeeds
IXLeeds IXLeeds
IXLeeds
 

Kürzlich hochgeladen

Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Kürzlich hochgeladen (20)

Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

VOIP QOS

  • 1. VOIP QOS ITSPA - Autumn Seminar 11th October 2012 LEEDS Thomas Mangin Technical Director IXLeeds THE EDGE THE CORE AND THE IXP
  • 2. AGENDA NO AGENDA Agenda are good to let you known when to doze off There is under 30 slides you can do it !
  • 3. QOS Definition : Telephony In the field of telephony defined by the ITU in 1994 : E.800 Terms and definitions related to quality of service and network performance including dependability requirements on all the aspects of a connection response time, loss, signal-to-noise ratio, cross-talk, echo, interrupts, frequency response, loudness levels, ... Cares about customer experience The Quality of Service ...
  • 4. QOS Definition : Networking In the field of networking resource reservation control mechanisms rather than the achieved service quality ability to guarantee a certain level of performance to data flows, applications, users, ... Has no concept of end user experience “Quality”
  • 5. QOS Definition : Let’s speak the same language .. Explaining IP challenges related to VoIP Packet-switched networks issues / constraints .. The problems QOS tries to solves RSVP (MPLS) vs DiffServ QOS across different networks End to End network design for your services AND why you should care about peering To improve call quality The QOS your customers care about I am speaking of that QOS To achieve that one
  • 6. Why is QOS required in packet switching networks ? Most of the challenge are with RTP (Audio) Signaling is much more resilient But mostly still uses UDP What can go wrong in a IP network ? Errors (hardware issues) Bad configuration (duplex mismatch) Bandwidth congestion Dropped packets Latency / Jitter Bad call quality QOS may help Only money can help Money will help QOS may help OFF-TOPIC
  • 7. Requirements : VoIP is a sensitive service VoIP requires regular packets RTP has no retransmission VoIP buffers cause audio delay VoIP is very sensitive to packet loss dropping packet is the worst thing which can happen Missing packet means an audio drop-out occurs for the speaker VoIP requires a network which “cares” Some networks are “optimised” for data throughput using deep buffers VS jitter buffering is good for data and bad for VoIP
  • 8. Jitter: What is it ? Jitter is a variation of Latency variation in delay between packets can cause out of order packets Jitter is the biggest VoIP challenge For an network engineer Jitter can happen in well provisioned network Multiple paths to a single destination, worse with unequal path length use of multiple line with L2/L3 load balanced (need to be per flow) Can be caused outside the network transcoding on a very busy machine !
  • 9. Jitter : The “real world” analogy take a very large audio book on tapes and send it to a friend living abroad send a tape a day with a car courier - packet network require your friend to listen a tape a day too - real time constraint ask him to only keep two tapes with him - small buffer constraint A VoIP packet is like a car carrying audio tapes ...
  • 10. Jitter : The “real world” analogy What if .. you could tell the driver which road to use using the same road, mean encountering the same traffic jams car more likely to arrive in the right order predictable paths reduce the chances of jitter The listener can keep more tapes more likely to be able to listen a tape a day it may delay the starting day correct buffering reduce chances of jitter
  • 11. Jitter : The “real world” analogy What if .. The listener moves to nearer to your house (from Asia to Europe) shorter paths reduces chance of jitter your friend moves back to “mainland” less chance of hitting a french ferry/eurostar strike not using third party infrastructure reduces the chances of jitter Only use motorways less chance of being stuck behind a long slow truck on a small road uncongested path reduces the chances of jitter
  • 12. Jitter : What can cause it ? Every router between the caller and the callee small RTP packets (200 bytes) “stuck” behind “larger” (1,500 bytes) data packets high serialisation times on slow speed circuit How much of a delay ? 1500 byte packet at 100Mbps takes 0.12ms 1500 bytes at 2Mbps = 6 ms 1500 bytes at 250kbps = 48 ms On a DSL router at 250k sending a large mail will cause at least 48 ms delay for many packets a RTP packet behind behind two data packet will have 96 ms of delay 48 ms alone may be enough to exhaust a low de-jitter buffer
  • 13. Latency / Jitter : End to End transfer time How much Latency can a VoIP call sustain ? ITU G.114 recommendation for end-to-end delay is 150ms max at 400ms two way conversation becomes very difficult. Source of buffering codec delays (converting to and from raw audio) network jitter buffer Correct jitter buffering typically 30-50 ms worth of data Over-buffering can cause latency issues
  • 14. Bandwith congestion : The “real world” analogy Congestion ... trying to pass more cars than the motorway can take .. A best everyone arrives late (latency / jitter) Some cars may not reach their destination (packet drops) Only BIG difference with IP Network .. no one will see his car vaporised in a traffic jam to reduce it ... Never good to any IP network Never run any link at more than 70% average capacity micro-burst - will cause bad packet loss for VoIP monitor peak (5 minutes average sampling is a LONG time)
  • 15. Bandwidth congestion : QOS can / can’t It CAN .. Provide resource reservation provide your VoIP with a “special virtual network” (RSVP/MPLS) with guaranteed bandwidth even if some big FTP transfer is going on Provide “flow” prioritisation make sure all UDP packet from and to to AQL RTP servers pass before anything else It can NOT .. More than 100 Mbps worth of RTP down a 100 Mbps circuit ! on a 1Mbps circuit carrying 960kps of RTP perfectly (12 calls) a single 80 kbps call will cause audio break-out for ALL users
  • 16. QOS Types : The car analogy MPLS (RSVP) The bandwidth is reserved for VoIP... But lost for other services The bus lane Proritisation (Most often DiffServ) The flow are prioritised The police/ambulance siren Traffic MUST still be “constrained” Often three levels of prioritisation best effort (data) real-time (voip, video) network control (ISP protocol / remote administration)
  • 17. QOS : How does it works 1 - Classify find the traffic you want to treat specially 2 - Mark add information to the IP packet telling how it should be treated 3 - Queue apply the differentiation on every router ...
  • 18. QOS : How does it works 1 - Classify find the traffic you want to treat specially using L3 packet header (source IP, port, ...) using ACL on edge / core devices using Deep Packet Inspection (looking at the content of the packet) example Cisco NBAR Agreed between the client and the network provider some equipment may be using non-standard port / settings can be to boost what you know is VoIP (often ACL) can be to slow down what you do not know (often DPI) Must be done with any VoIP service provider too traffic from and to the PSTN gateway must be prioritised
  • 19. QOS : How does it works 2 - Mark add information to the IP packet telling how it should be treated used for later action can be done at Layer 2 ethernet CoS field inside of 802.1q framer (3 bits) information lost when the packet is untagged or at Layer 3 IP header has 1 byte TOS field for IP Precedence TOS was never widespread Used as DS field (6 bits) + ECN (2 bits) 6 bits Diff Serv (Differenciated Services) + 2 bits ECN Ideally done one when the packet enter the core unmark traffic marked by customers when (not) appropriate do not want a VoIP DOS by having junk prioritised
  • 20. QOS : How does it works 3 - Queue routers can only affect OUTGOING traffic queuing is only important when there is output congestion on an interface packet loss occurs when interface buffers are full, before : latency and jitter Text http://www.cisco.com/en/US/docs/solutions/Verticals/CPwE/CPwE_chapter8.html
  • 21. QOS : How does it works 3 - Queue prioritise traffic based on marking software queues on small routers default a single FIFO can be split in multiple ones, each with different priority and policy hardware queues on most ASIC accelerated hardware often called TX ring or TX Queue here to make sure there is always data ready to be serialised different hardware have very different features for the same router, line-cards can matter enormously
  • 22. QOS : The EDGE What should be done on the EDGE ? The edge is the most usual congestion location Data burst enormously, VoIP must be protected EDGE QOS protects VoIP packets over normal data EDGE routers mark VoIP packet as more important until the customer pays for a upgrade :D The edge suffers from high serialisation times Lower bitrate links mean higher serialisation time. use rate-limited over-provisioned product
  • 23. QOS : The EDGE What should be done on the EDGE ? QOS can only affect outgoing packet QOS must be applied the customer router for outgoing QOS must be applied on your EDGE toward your customer If your customer need to pick an ISP Make sure your customer’s ISP has some form of VoIP QOS enabled see if the ISP is willing to QOS your VoIP packet toward the customer
  • 24. QOS : The CORE What should be done on the CORE ? Core networks do see many micro-burst every router on the core should have the same QOS policy configured QOS mitigate issues caused by regular / large micro-burst Serialisation delays are generally better due to faster line rate 1000 x 1500 byte packets on 1Gbps circuit “only” adds 12ms of jitter a 10 Gb link causes 10 times less jitter as 1 Gb one over-provision the core as much as possible use faster interface when it is financially viable Enable but try to avoid to have to use QOS altogether
  • 25. QOS : The IXP What should be done beyond the CORE ? The QOS mechanisms should be applied end-to-end not always possible if you do not provide connectivity to your customer most often not possible with transit providers VoIP providers should seek to reduce latency as much as possible with their customers suppliers with their providers Should use the most direct connections PI or Peering
  • 26. QOS : The IXP Peering provides a direct connection with your business partners improve network visibility more direct connection / no third party European IX are member owned, it is an extension of your network reduce latency / jitter peering provide direct network to network connection IXes provides the same advantages as PI (no hidden congestion) but allow to reach more networks (good backup for PI) join a technical community Learn lots about the service provider marker
  • 27. Questions ? mailto/xmpp: thomas@ixleeds.net Thank you for your attention More information : http://thomas.mangin.com/data/pdf/Linx 65 - Halfpenny -VOIP QOS.pdf