VoIP Quality of Service - Basic Theory



Similar documents
Quality of Service. Traditional Nonconverged Network. Traditional data traffic characteristics:

Optimizing Converged Cisco Networks (ONT)

Quality of Service (QoS)) in IP networks

This topic lists the key mechanisms use to implement QoS in an IP network.

"Charting the Course to Your Success!" QOS - Implementing Cisco Quality of Service 2.5 Course Summary

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

Implementing Cisco Quality of Service QOS v2.5; 5 days, Instructor-led

IMPLEMENTING CISCO QUALITY OF SERVICE V2.5 (QOS)

CCNP: Optimizing Converged Networks

Quality of Service Analysis of site to site for IPSec VPNs for realtime multimedia traffic.

Requirements of Voice in an IP Internetwork

Lecture 16: Quality of Service. CSE 123: Computer Networks Stefan Savage

Case in Point. Voice Quality Parameter Tuning

Description: To participate in the hands-on labs in this class, you need to bring a laptop computer with the following:

Planning Networks for VOIP. An Introduction

Planning an IP Network for Voice and Data

VOIP QOS. Thomas Mangin. ITSPA - Autumn Seminar 11th October 2012 LEEDS. Technical Director IXLeeds AND THE IXP THE CORE THE EDGE

- QoS and Queuing - Queuing Overview

The Basics. Configuring Campus Switches to Support Voice

Distributed Systems 3. Network Quality of Service (QoS)

Chapter 5 Configuring QoS

Improving Quality of Service

Analysis of IP Network for different Quality of Service

Real-time apps and Quality of Service

5. DEPLOYMENT ISSUES Having described the fundamentals of VoIP and underlying IP infrastructure, let s address deployment issues.

Indepth Voice over IP and SIP Networking Course

VoIP Performance Over different service Classes Under Various Scheduling Techniques

Is Your Network Ready for VoIP? > White Paper

QoS Parameters. Quality of Service in the Internet. Traffic Shaping: Congestion Control. Keeping the QoS

Modeling and Simulation of Queuing Scheduling Disciplines on Packet Delivery for Next Generation Internet Streaming Applications

Network Considerations for IP Video

PC-over-IP Protocol Virtual Desktop Network Design Checklist. TER Issue 2

Highlighting a Direction

Project Report on Traffic Engineering and QoS with MPLS and its applications

Quality of Service for VoIP

The need for bandwidth management and QoS control when using public or shared networks for disaster relief work

Configuring QoS in a Wireless Environment

QOS - Implementing Cisco Quality of Service

Differentiated Services:

QoS:What Is It? Why Do We Need It?

APPLICATION NOTE 209 QUALITY OF SERVICE: KEY CONCEPTS AND TESTING NEEDS. Quality of Service Drivers. Why Test Quality of Service?

Internet Quality of Service

VoIP from A to Z. NAEO 2009 Conference Cancun, Mexico

Voice Over IP Performance Assurance

VoIP QoS on low speed links

SPEAKEASY QUALITY OF SERVICE: VQ TECHNOLOGY

How To Solve A Network Communication Problem

A Preferred Service Architecture for Payload Data Flows. Ray Gilstrap, Thom Stone, Ken Freeman

Voice over IP (VoIP) and QoS/QoE

Quality of Service (QoS) on Netgear switches

Network Management Quality of Service I

Quality of Service in the Internet. QoS Parameters. Keeping the QoS. Traffic Shaping: Leaky Bucket Algorithm

Using LiveAction Software for Successful VoIP Deployments How to quickly and accurately deploy QoS for VoIP networks

How To Configure Voip Qos For A Network Connection

CS/ECE 438: Communication Networks. Internet QoS. Syed Faisal Hasan, PhD (Research Scholar Information Trust Institute) Visiting Lecturer ECE

QoS for (Web) Applications Velocity EU 2011

Improving QOS in IP Networks. Principles for QOS Guarantees. Principles for QOS Guarantees (more) Principles for QOS Guarantees (more)

Performance Evaluation of the Impact of QoS Mechanisms in an IPv6 Network for IPv6-Capable Real-Time Applications

VoIP network planning guide

How Cisco IT Uses QoS for Critical Applications

Five Hosted VoIP Features

How to Keep Video From Blowing Up Your Network

16/5-05 Datakommunikation - Jonny Pettersson, UmU 2. 16/5-05 Datakommunikation - Jonny Pettersson, UmU 4

Troubleshooting Common Issues in VoIP

COMPARATIVE ANALYSIS OF DIFFERENT QUEUING MECHANISMS IN HETROGENEOUS NETWORKS

How To Configure Qos On A Network With A Network (Cisco) On A Cell Phone Or Ipad On A Pq-Wifi On A 2G Network On A Cheap Cell Phone On A Slow Network On An Ipad Or Ip

DOCSIS 1.1 Cable Modem Termination Systems

VoIP QoS. Version 1.0. September 4, AdvancedVoIP.com. Phone:

Management of Telecommunication Networks. Prof. Dr. Aleksandar Tsenov

How To Improve Quality Of Service (Qos) On A Network

Quality of Service (QoS) for Enterprise Networks. Learn How to Configure QoS on Cisco Routers. Share:

The network we see so far. Internet Best Effort Service. Is best-effort good enough? An Audio Example. Network Support for Playback

IP SLAs Overview. Finding Feature Information. Information About IP SLAs. IP SLAs Technology Overview

Transport for Enterprise VoIP Services

EXPERIMENTAL STUDY FOR QUALITY OF SERVICE IN VOICE OVER IP

IMPLEMENTING CISCO VOICE COMMUNICATIONS AND QOS Volume 1

Implementing Cisco IP Telephony & Video, Part 1

DS3 Performance Scaling on ISRs

1. The subnet must prevent additional packets from entering the congested region until those already present can be processed.

VoIP Bandwidth Considerations - design decisions

Voice Over IP. MultiFlow IP Phone # 3071 Subnet # Subnet Mask IP address Telephone.

How To Provide Qos Based Routing In The Internet

CS640: Introduction to Computer Networks. Why a New Service Model? Utility curve Elastic traffic. Aditya Akella. Lecture 20 QoS

Quality of Service versus Fairness. Inelastic Applications. QoS Analogy: Surface Mail. How to Provide QoS?

This chapter covers four comprehensive scenarios that draw on several design topics covered in this book:

IP videoconferencing solution with ProCurve switches and Tandberg terminals

Chapter 7 outline. 7.5 providing multiple classes of service 7.6 providing QoS guarantees RTP, RTCP, SIP. 7: Multimedia Networking 7-71

Policing and Shaping Overview

QoS in VoIP. Rahul Singhai Parijat Garg

Technology Overview. Class of Service Overview. Published: Copyright 2014, Juniper Networks, Inc.

ehealth and VoIP Overview

WhitePaper: XipLink Real-Time Optimizations

Sources: Chapter 6 from. Computer Networking: A Top-Down Approach Featuring the Internet, by Kurose and Ross

The Affects of Different Queuing Algorithms within the Router on QoS VoIP application Using OPNET

Routing. Static Routing. Fairness. Adaptive Routing. Shortest Path First. Flooding, Flow routing. Distance Vector

All Rights Reserved - Library of University of Jordan - Center of Thesis Deposit

Congestion Control Review Computer Networking. Resource Management Approaches. Traffic and Resource Management. What is congestion control?

PREPARED FOR ABC CORPORATION

Network management and QoS provisioning - QoS in the Internet

Achieving High Quality Voiceover-IP Across WANs With Talari Networks APN Technology

Transcription:

VoIP Quality of Service - Basic Theory PacNOG5 VoIP Workshop Papeete, French Polynesia. June 2009 Jonny Martin - jonny@jonnynet.net

Intro What is Quality of Service (Qos)? QoS and the PBX Traffic Types VoIP Traffic characteristics VoIP concerns Operation and implementation of QoS

QoS When people say QoS, they are normally referring to the end result i.e. I want my VoIP calls to always be of a high quality QoS can be used for good or for bad though! ISPs shaping bit-torrent is uses QoS tools to reduce the quality of that traffic QoS tools allow us to manage traffic flows in a network Through queuing, shaping, and dropping traffic All about instantaneous traffic loads

Why do we need QoS Well, we don t always. Only need QoS when there is not enough network resource to carry the traffic offered to it at any point in time

Legacy PABXs and QoS Even legacy TDM PABXs include QoS features TDM PABXs are circuit switch A call has guaranteed bandwidth across a circuit end to end No other traffic to worry about on the link When there aren t enough circuits to carry the load, the call cannot take place Call Admission Control (CAC) Call Blocking

Legacy PABXs and QoS... ctd TDM PABXs generally utilise a separate signalling and media paths. No other traffic to ever worry about

VoIP Traffic Just a particular type of data traffic One that is very sensitive to underlying network performance Users complain about bad quality calls Almost always operating on a converged network which supports general IP traffic also

Data Traffic Characteristics Variable and inconsistent traffic patterns Sometimes a little bit of bursty traffic, e.g. web browsing Sometimes continuous high bit rate traffic - bittorrent and the likes May be symmetric or asymmetric traffic loads General non-real time data Delays in traffic delivery (within limits!) not really an issue Most protocols have built in re-transmission functions

Voice Traffic Characteristics Very consistent traffic flows High PPS Small packets Different codecs present more or less of the above Always Real-Time traffic We re dealing with real, real-time traffic No re-transmissions Delay and delay variance (jitter) affect the quality of the call

Voice Traffic Characteristics... ctd Generally runs on an existing data network Need some form of QoS to ensure traffic gets the priority you consider it needs VoIP - voice runs over your IP network If your IP network is broken, then you can t expect your VoIP devices to magically fix this!

Network concerns Queuing delays Congestion Serialisation delays Packet drops and performance on third party links (ISP, Carrier links, etc.) over subscription of bandwidth high latency and or jitter

VoIP Concerns Latency High latency is bad for voice call quality - we can live with it though Jitter Jitter is really bad for voice call quality - jitter buffers attempt to fix it Packet drops Packet drops are really, really bad for voice call quality - really hard to recreate a packet that we don t receive!

Latency Sources Codec delay Processing delay Serialisation delay Queuing delay Propogation delay Jitter buffer delay

How much latency is too much? Generally 150ms one way is fine Any longer and conversations start to feel half-duplex Hi Dan, it s Jonny here... over.... Oh hai Jonny!... over... Wow, only one of us can talk at a time! Just like satellite based calls

Jitter Jitter is variance in inter-packet arrival times variable delay Latency itself doesn t garble voice traffic. Jitter does Normally caused by serialisation delays small packet gets caught waiting for a large packet to transmit Or multiple traffic forwarding paths for the same flows resulting in packets taking different paths per packet load balancing a bad idea

Dropped Packets If there is not enough bandwidth on a link for the presented load, traffic will be dropped may be due to interface congestion may be due to policers enforcing service parameters Bad physical layer can cause lost / corrupt packets

Prioritisation QoS based on providing priority to some traffic (VoIP, in our case) over others during times and at points of congestion Tell out network to prefer VoIP packets and treat them a little better than general data packets

QoS Components

Classify and Mark Inspect traffic and assign it to a class L2/L3/L4 and higher information can be used IP Addresses, protocol, port... Different platforms and different vendors provide different capabilities for this Markings Class of Service (CoS) - Layer 2 Differentiated Services Code Point (DSCP) - Layer 3 EXP (experimental) bits - MPLS

Marking traffic Can be done as a result of classification on routers Set by hosts Set by VoIP devices themselves Need to decide on trust boundaries, and whether or not to trust incoming marks at any point in a network

Traffic Policing / Shaping Traffic shaping queues/buffers traffic and send it on at a uniform rate a soft approach Provides higher link utilisation, at the expense of additional variable latency Traffic policing simply drops packets once the offered rates exceeds a threshold a hard approach No additional latency or jitter, at the expense of lower link utilisation

Available tools Committed Access Rate (CAR) provide rate limits on interfaces Low Latency Queuing (LLQ) Always send voice packets first before other traffic Class Based Fair Weighted Queuing Enhancement of LLQ that avoids starving other traffic types of bandwidth and a fairer queuing mechanism Provide a minimum bandwidth allocation for VoIP, can be used by other classes when not being used

Queuing / Scheduling Historical queueing methods First In First Out (FIFO) Just like in McDonalds Priority Queuing (PQ) E.g. airline checking. First/Business have separate queue Custom Queuing (CQ) Weighted Fair Queuing (WFQ) Airline example, but First/Business counters occasionally take Economy

Modern Queuing Class Based Fair Weighted Queuing (CBWFQ) Weighted Round Robin (WRR) Weights determine frequency of queue servince (WFQ, CBWFQ) or ratio of queue serving (WRR)

Packet Scheduling Priority Queuing for WFQ (PQ-WFQ) older way of doing things Priority Queuing for CBWFQ (LLQ) newer way of doing things

Packet Dropper Techniques Tail Drop Weighted Random Early Detection (WRED) can be distributed (dwred) or flow based (FBWRED)

WRED

WRED... ctd

Where to implement QoS? Where ever there is a congestion point WAN edge Slow links Aggregation points

Where to Apply QoS

Cisco QoS support We ll only look at the very basics here Modular QoS command line (MQC) on IOS Lots of knobs you can twiddle with... WFQ, CBFWQ, LLQ, LFI, DSCP, CoS...