Top Banner
Voice/IP Geoff Huston Internet Society
23

Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

Mar 27, 2015

Download

Documents

Erin Young
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

Voice/IP

Geoff HustonInternet Society

Page 2: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

Voice and Data

• Analog voice transmission has dominated the communications industry for the past 100 years

• The entrance of multi-service digital networks is placing a new set of demands on the service profile of communications networks

• Will we see convergence to a single network platform?

Page 3: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

Voice Networks

• Voice transmissions have an number of characteristics:– 3Khz bandwidth– limited amplitude (<25db)– time synchronization– limited average duration (200 seconds)– High localization (80:20 rule)– Strong traffic peaking characteristics

Page 4: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

Digitizing Voice

• 8000 samples per second (Nyquist Theorem)– 125 second timebase

• 256 discrete amplitude levels– 8 bits per sample

• 64Kbps PCM data stream

Page 5: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

64K Networks

• Voice networks are built by multiplexing and switching synchronous 64K data streams

• Time division multiplexing– 125 second time base– 8 bit symbols per time slot per voice channel

• 2Mbps bearer is 32 x 64K slots– 30 data slots– 1 channel signaling slot– 1 frame sync slot= 2048Mbps

Page 6: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

Circuit-switched Networks

• Time division switches– reorder the timeslots of a TDM data stream– impose 1 slot time constant delay

• Space Switches– crossbar switching– 2 slot time delay due to muxing overhead

• Supports dynamically switchable end-to-end synchronously clocked circuits

Page 7: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

A Voice Network

Analogue Copper Loop

64K PCM digital stream

TDM 2Mbps bearer

SDH STM-16 bearers

Codec

Mux

SDH Switch

Page 8: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

A Data Network

• Switches Packets, not circuits• Each packet may be independently

forwarded, delayed or dropped by each router

• Each packet is independently switched to its addressed destination

• There is no time synchronization between sender and receiver

Page 9: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

Data Networks

• Highly cost effective infrastructure– low levels of network functionality– high potential carriage efficiency

• Functionality pushed beyond the network edge

• Assumption of adaptive data flow control by end hosts

• No guarantees of service level by the network.

Page 10: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

Voice over IP

• packetize the digital voice stream• add timing information• add IP headers• send across the network• strip IP headers• feed into playback buffer using timing

information• playback analogue signal

Page 11: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

Packetizing Voice

• Compress the digital stream– differential PCM– Linear Predictive Encoding– silence suppression

• packetize the stream into fixed length payloads

00110101101010111 110101101101 101101

Page 12: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

Voice over IP

• Insert RTP header – 12 bytes or more

• Insert UDP header – 8 bytes

• Insert IP header– 20 bytes or more

• Payload size (packet rate) is a compromise between packet overhead and latency and jitter

Page 13: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

Voice over IP

Modem

Network Access Server

Access Router

Core Router

56Kbps async

100Mbps LAN

100Mbps LAN

*

Page 14: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

VoIP Service Requirements

• Bounded End-to-End– Delay - interaction requires delay to be under 500ms– Jitter - high jitter causes large playback buffers– Drop - signal quality

IN OUT

Page 15: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

Why do Routers have queues?

• Delay, Jitter and Drop are all outcomes of router queue behaviour

• Queues are used to:– resolve contention for a resource– buffer speed differences within the network

Page 16: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

Resource Contention Queues

Scheduler Input Queues

1234

2

3

1

4

Forwarder

FIFO Output Queue

Page 17: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

TCP and Queues

• TCP is an adaptive data protocol• TCP has no ‘fixed’ data transfer rate.• Instead, TCP uses an adaptive flow

control algorithm• TCP uses a feedback loop to adjust the

sending rate to the available network capacity

Page 18: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

TCP rate control

0

10

20

30

40

50

60

70

80

90

100

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41

TC

P F

LOW

RA

TE

(% o

f m

axim

um

send r

ate

)

Single Session

Two Sessions

TIME

Slow Start

Congestion Avoidance

Queue Saturation

Page 19: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

The Multi-Service Problem

• Real-Time flows require:– short queues– admission control– priority queuing

• Congestion-Managed flows require:– large queues– no admission control– explicit congestion notification

Page 20: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

Mixing TCP and UDP

TCP flow rate

Time

TCP Session

UDP Sessions

UDP flow rate

Buffer starvation periodas a result of a TCP burst

Page 21: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

Mixing TCP and UDP

UDP flow rate

Time

TCP Session

UDP Sessions

TCP flow rate

TCP restarts due totail drop packet loss

Page 22: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

One Network Platform

• Can you mix Voice and Data at the packet level?

• Voice over IP works - as long as:– small proportion of total traffic– queue lengths are kept short– some network inefficiency is tolerated

– i.e. as long as the proportion of VOIP traffic is low compared to rate-adaptive traffic and the network is generally unloaded

Page 23: Voice/IP Geoff Huston Internet Society. Voice and Data Analog voice transmission has dominated the communications industry for the past 100 years The.

The Multi-Service Network

• Does high quality service require resource reservations?– Can resource reservation be provided?– Is the cost of simulating time switching in a packet

switched network higher or lower than the cost of operating a distinct time-switched network?

– Where is the cross-over point?– Is service convergence and the mother-ship single

platform operational model just a perverse throwback fantasy?