VoIP Bandwidth Calculation



Similar documents
Challenges and Solutions in VoIP

Calculating Bandwidth Requirements

Voice Over IP Per Call Bandwidth Consumption

TECHNICAL CHALLENGES OF VoIP BYPASS

An Introduction to VoIP Protocols

Voice over IP. Abdus Salam ICTP, February 2004 School on Digital Radio Communications for Research and Training in Developing Countries

Clearing the Way for VoIP

Optimizing Converged Cisco Networks (ONT)

icall VoIP (User Agent) Configuration

Performance Evaluation of AODV, OLSR Routing Protocol in VOIP Over Ad Hoc

VoIP in Mika Nupponen. S Postgraduate Course in Radio Communications 06/04/2004 1

White Paper. D-Link International Tel: (65) , Fax: (65) Web:

Introduction VOIP in an Network VOIP 3

Encapsulating Voice in IP Packets

Broadband Networks. Prof. Dr. Abhay Karandikar. Electrical Engineering Department. Indian Institute of Technology, Bombay. Lecture - 29.

Requirements of Voice in an IP Internetwork

VoIP Shim for RTP Payload Formats

Voice over IP. Overview. What is VoIP and how it works. Reduction of voice quality. Quality of Service for VoIP

Basic principles of Voice over IP

VoIP: How to Plan for the Bandwidth and Calculate the Cost Savings

Performance Evaluation of VoIP Services using Different CODECs over a UMTS Network

Indepth Voice over IP and SIP Networking Course

VoIP Bandwidth Considerations - design decisions

Effect of WiFi systems on multimedia applications

Introduction to Packet Voice Technologies and VoIP

Protocols. Packets. What's in an IP packet

Voice over IP Protocols And Compression Algorithms

Evaluating Data Networks for Voice Readiness

Voice-Over-IP. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Module 7 Internet And Internet Protocol Suite

Simple Voice over IP (VoIP) Implementation

Combining Voice over IP with Policy-Based Quality of Service

RTP / RTCP. Announcements. Today s Lecture. RTP Info RTP (RFC 3550) I. Final Exam study guide online. Signup for project demos

RTP Performance Enhancing Proxy

Comparison of Voice over IP with circuit switching techniques

WhitePaper: XipLink Real-Time Optimizations

Voice over IP (VoIP) for Telephony. Advantages of VoIP Migration for SMBs BLACK BOX blackbox.com

IMPLEMENTING VOICE OVER IP

How To Understand How Bandwidth Is Used In A Network With A Realtime Connection

Differences between Traditional Telephony and VoIP

technology standards and protocol for ip telephony solutions

Application Note How To Determine Bandwidth Requirements

Cisco Networks (ONT) 2006 Cisco Systems, Inc. All rights reserved.

WAN Data Link Protocols

VoIP in 3G Networks: An End-to- End Quality of Service Analysis

Internet Architecture and Philosophy

VoIP Analysis Fundamentals with Wireshark. Phill Shade (Forensic Engineer Merlion s Keep Consulting)

Understanding Latency in IP Telephony

Call Admission Control and Traffic Engineering of VoIP

Bandwidth usage of common networking applications

Overcoming Barriers to High-Quality Voice over IP Deployments. White Paper

Multiple Choice Questions

Network administrators must be aware that delay exists, and then design their network to bring end-to-end delay within acceptable limits.

VoIP network planning guide

Simulative Investigation of QoS parameters for VoIP over WiMAX networks

Voice over Internet Protocol (VoIP) systems can be built up in numerous forms and these systems include mobile units, conferencing units and

How To Test A Network Performance

Digital Speech Coding

Implementation of Voice over IP and Audio over IP in the Studio environment

VoIP over MANET (VoMAN): QoS & Performance Analysis of Routing Protocols for Different Audio Codecs

Keywords: VoIP calls, packet extraction, packet analysis

Internet Packets. Forwarding Datagrams

PERFORMANCE ANALYSIS OF VOIP TRAFFIC OVER INTEGRATING WIRELESS LAN AND WAN USING DIFFERENT CODECS

B12 Troubleshooting & Analyzing VoIP

Performance Evaluation of VoIP in Different Settings

VoIP over Wireless Opportunities and Challenges

12 Quality of Service (QoS)

Department of MIIT, University of Kuala Lumpur (UniKL), Malaysia

Radio over Internet Protocol (RoIP)

VegaStream Information Note Considerations for a VoIP installation

VoIP Technologies Lecturer : Dr. Ala Khalifeh Lecture 4 : Voice codecs (Cont.)

Voice Over IP. Priscilla Oppenheimer

Understanding Voice over IP

Voice over IP. Demonstration 1: VoIP Protocols. Network Environment

Georgia State University. Georgia State University. Alexander F. Ribadeneira

Classes of multimedia Applications

VOICE over IP H.323 Advanced Computer Network SS2005 Presenter : Vu Thi Anh Nguyet

Network Simulation Traffic, Paths and Impairment

AUTHORSHIP DECLARATION

Implementing VoIP support in a VSAT network based on SoftSwitch integration

Traffic Analysis for Voice over IP

DATA COMMUNICATIONS AND NETWORKING. Solved Examples

Applied Networks & Security

COMPARISONS OF FEC AND CODEC ROBUSTNESS ON VOIP QUALITY AND BANDWIDTH EFFICIENCY

QUALITY OF SERVICE OF VOIP OVER DVB-RCS

Nortel Technology Standards and Protocol for IP Telephony Solutions

Data Link Layer Overview

SIP Trunking and Voice over IP

Improving ertps Grant Allocation for VoIP Traffic in Silence Duration

Glossary of Terms and Acronyms for Videoconferencing

Sync & Sense Enabled Adaptive Packetization VoIP

Latency on a Switched Ethernet Network

Advanced Networking Voice over IP: RTP/RTCP The transport layer

Grandstream Networks, Inc.

VoIP Overview for Operators. Gene Lew VP, Advanced Services NANOG 34 Seattle, Washington May 2005

Components of a VoIP Network

How To Understand The Differences Between A Fax And A Fax On A G3 Network

IAB CONCERNS ABOUT CONGESTION CONTROL. Iffat Hasnian

DVoIP: DYNAMIC VOICE-OVER-IP TRANSFORMATIONS FOR QUALITY OF SERVICE IN BANDWIDTH CONSTRAINED ENVIRONMENTS

IP Telephony Design Guide AN ALCATEL WHITE PAPER

Transcription:

VoIP Bandwidth Calculation

AI0106A VoIP Bandwidth Calculation Executive Summary Calculating how much bandwidth a Voice over IP call occupies can feel a bit like trying to answer the question; How elastic is a piece of string? However, armed with a basic understanding of the parts that make up the whole, the question becomes easier to understand. This White Paper examines the process that turns voice into Voice over IP. Overview The amount of bandwidth required to carry voice over an IP network is dependent upon a number of factors. Among the most important are: Codec (coder/decoder) and sample period IP header Transmission medium Silence suppression The codec determines the actual amount of bandwidth that the voice data will occupy. It also determines the rate at which the voice is sampled. The IP/UDP/RTP header can generally be thought of as a fixed overhead of 40 octets per packet, though on point-to-point links RTP header compression can reduce this to 2 to 4 octets (RFC 2508). The transmission medium, such as Ethernet, will add its own headers, checksums and spacers to the packet. Finally, some codecs employ silence suppression, which can reduce the required bandwidth by as much as 50 percent. The Codec The conversion of the analogue waveform to a digital form is carried out by a codec. The codec samples the waveform at regular intervals and generates a value for each sample. These samples are typically taken 8,000 times a second. These individual values are accumulated for a fixed period to create a frame of data. A sample period of 20 ms is common. Some codecs use longer sample periods, such as 30 ms employed by G.723.1. Others use shorter periods, such as 10 ms employed by G.729a. The important characteristics of the codec are: The number of bits produced per second The sample period - this defines how often the samples are transmitted Together, these give us the size of the frame. For example, take a G.711 codec sampling at 20 ms. This generates 50 frames of data per second. G.711 transmits 64,000 bits per second so each frame will contain 64,000 50 = 1,280 bits or 160 octets. Frames and Packets Many IP phones simply place one frame of data in each packet. However, some place more than one frame in each packet. For example, the G.729a codec works with a 10 ms sample period and produces a very small frame (10 bytes). It is more efficient to place two frames in each packet. This decreases the packet transmission overhead without increasing the latency excessively. Latency and Packet Overhead The choice of the number of frames per packet is a trade-off between two characteristics: latency and packet overhead. Long sample periods produce high latency, which can affect the perceived quality of the call. Long delays make interactive conversations awkward, with the two parties often talking over each other. Based on this fact alone, the shorter the sample period, the better the perceived quality of the call. However, there is a price to pay. The shorter the sample period, the smaller the frames and the more significant the packet headers become. For the smallest packets, well over half of the bandwidth used is taken up by the packet headers; clearly an undesirable case. See figure 1 below: Figure 1 - IP header forms a significant part of small Voice over IP packets The IP Header IP UDP RTP Data IP Header (Overhead) Voice Payload (Useful Data) The term IP header is used to refer to the combined IP, UDP and RTP information placed in the packet. The payload generated by the codec is wrapped in successive layers of information in order to deliver it to its destination. These layers are: IP Internet Protocol UDP User Datagram Protocol RTP Real-time Transport Protocol VoIP Bandwidth Calculation Page 3

AI0105A AI0107a RTP is the first, or innermost, layer added. This is 12 octets. RTP allows the samples to be reconstructed in the correct order and provides a mechanism for measuring delay and jitter. UDP adds 8 octets, and routes the data to the correct destination port. It is a connectionless protocol and does not provide any sequence information or guarantee of delivery. IP adds 20 octets, and is responsible for delivering the data to the destination host. It is connectionless and does not guarantee delivery or that packets will arrive in the same order they were sent. Transmission of IP over other mediums will result in different overhead calculations. Voice over IP over Ethernet, Example 1: G.711 Example 1: G.711 codec, 1 x 20 ms sample per packet - 95,200 kbps Ethernet Preamble (8) Ethernet Header (14) IP Header (40) 20 ms G.711 Payload (160) Ethernet Inter-Frame Gap (12) Ethernet CRC (4) In total, the IP/UDP/RTP headers add a fixed 40 octets to the payload. With a sample period of 20 ms, the IP headers will generate an additional fixed 16 kbps to whatever codec is being used. The payload for the G.711 codec and 20 ms sample period calculated above is 160 octets, the IP header adds 40 octets. This means 200 octets, or 1,600 bits sent 50 times a second result 80,000 bits per second. This is the bandwidth needed to transport the Voice over IP only, it does not take into account the physical transmission medium. There are other factors, which can reduce the overhead incurred by the IP headers, such as compressed RTP (crtp). This can be implemented on point-to-point links and reduces the IP header from 40 to just 2 or 4 octets. Though this is not that common today, its use will become more widespread with it being implemented with 3G mobile networks. Codec G.711 64 kbps, 20 ms sample period 1 frames per packet (20 ms) Standard IP headers Ethernet transmission medium One packet is sent every 20 ms, 50 packets per second. Payload is 64,000 50 = 1,280 bits (160 octets). Fixed IP overhead 40 octets, fixed Ethernet overhead 38 octets. Total size 238 octets. Bandwidth required is (160 + 40 + 38) x 50 x 8 = 95,200 kbps. Voice over IP over Ethernet, Example 2: G729a Example 2: G.729a codec, 2 x 10 ms samples per packet - 39,200 kbps Ethernet Preamble (8) Ethernet CRC (4) Ethernet Header (14) Ethernet Inter-Frame Gap (12) The Transmission Medium IP Header (40) 20 ms G.729a Payload (20) In order to travel through the IP network, the IP packet is wrapped in another layer by the physical transmission medium. Most Voice over IP transmissions will probably start their journey over Ethernet, and parts of the core transmission network are also likely to be Ethernet. Ethernet has a minimum payload size of 46 octets. Carrying IP packets with a fixed IP header of 40 means that the codec data must be at least 6 octets typically not a problem. The Ethernet packet starts with an 8 octet preamble followed by a header made up of 14 octets defining the source and destination MAC addresses and the length. The payload is followed by a 4 octet CRC. Finally, the packets must be separated by a minimum 12 octet gap. The result is an additional Ethernet overhead of 38 octets. Ethernet adds a further 38 octets to our 200 octets of G.711 codec frame and IP header. Sent 50 times a second result 95,200 bits per second, see example 1 below. This is the bandwidth needed to transmit Voice over IP over Ethernet. Codec G.729a 8 kbps, 10 ms sample period 2 frames per packet (20 ms) Standard IP headers Ethernet transmission medium One packet is sent every 20 ms, 50 packets per second. Payload is 8,000 50 = 160 bits (20 octets). Fixed IP overhead 40 octets, fixed Ethernet overhead 38 octets. Total size 98 octets. Bandwidth required is (20 + 40 + 38) x 50 x 8 = 39,200 kbps. Silence Suppression Certain codecs support silence suppression. Voice Activity Detection (VAD) suppresses the transmission of data during silence periods. As only one person normally speaks at a time, this can reduce the demand for bandwidth by as much as 50 percent. The receiving codec will normally generate comfort noise during the silence periods. VoIP Bandwidth Calculation Page 4

Additional Codec Data Codec Bandwidth Sample period Frame size Frames/ packet Ethernet Bandwidth G.711 (PCM) 64 kbps 20 ms 160 1 95.2 kbps G.723.1A (ACELP) 5.3 kbps 30 ms 20 1 26.1 kbps G.723.1A (MP-MLQ) 6.4 kbps 30 ms 24 1 27.2 kbps G.726 (ADPCM) 32 kbps 20 ms 80 1 63.2 kbps G.728 (LD-CELP) 16 kbps 2.5 ms 5 4 78.4 kbps G.729A (CS-CELP) 8 kbps 10 ms 10 2 39.2 kbps AMR (ACELP) 4.75 kbps 20 ms 12 1 36.0 kbps AMR (ACELP) 7.4 kbps 20 ms 19 1 38.8 kbps AMR (ACELP) 12.2 kbps 20 ms 31 1 43.6 kbps AMR-WB/G.722.2 (ACELP) 6.6 kbps 20 ms 17 1 38.0 kbps Glossary ACELP ADPCM AMR AMR-WB CELP Algebraic CELP (codec) Adaptive Differential Pulse Code Modulation (codec) Adaptive Multi-Rate (GSM2 codec) Adaptive Multi-Rate Wideband (3GPP codec G.722.2) Code Excited Linear Predictive (codec) Summary Although there are many factors that influence the amount of bandwidth required to transmit a voice call over an IP network, by approaching the problem one element at a time the final calculation becomes relatively simple. Other factors may influence the actual bandwidth used, such as RTP header compression, silence suppression and other techniques still under development. Codec Coder/Decoder CRC Cyclic Redundancy Code crtp Compressed RTP (RFC 2508) CS-CELP Conjugate-Structure CELP IP Internet Protocol LD-CELP Low Delay CELP (codec) MP-MLQ Multi-Pulse Maximum Likelihood Quantization Octet PCM RFC RTP SB-ADPCM UDP VAD A sequence of 8 bits Pulse Code Modulation (codec) Request For Comment Real-time Transport Protocol Sub-Band ADPCM User Datagram Protocol Voice Activity Detection VoIP Bandwidth Calculation Page 5

The Newport Networks logo is a registered trademark of Newport Networks Ltd. MediaProxy and SignallingProxy are trademarks of Newport Networks Ltd. 2005 Newport Networks Limited. All rights reserved. Whilst every effort has been made to ensure that the information included in this publication is accurate at the time of going to press, Newport Networks Ltd assumes no responsibility for the accuracy of the information. Newport Networks Ltd reserves the right to change their specifications at any time without prior notice. Some features described in this document may be planned for future releases and may not be available in the current product. Newport Networks Ltd reserves the right to modify its product development schedule without notice and does not guarantee that any feature or product mentioned in this document will be produced or produced in the form described. 91-052-01-0003-C