Module objectives. Integrated services. Support for real-time applications. Real-time flows and the current Internet protocols

Similar documents
Real-Time Protocol (RTP)

Advanced Computer Networks

Multicast and Quality of Service. Internet Technologies and Applications

Lecture 14: Performance Architecture

Multimedia Networking

Unit 2 Packet Switching Networks - II

Quality of Service (QoS)

Internet Services & Protocols. Quality of Service Architecture

Mohammad Hossein Manshaei 1393

Advanced Lab in Computer Communications Meeting 6 QoS. Instructor: Tom Mahler

Transporting audio-video. over the Internet

Basics (cont.) Characteristics of data communication technologies OSI-Model

CS 344/444 Computer Network Fundamentals Final Exam Solutions Spring 2007

Multimedia Applications over Packet Networks

Quality of Service in the Internet

Improving QOS in IP Networks. Principles for QOS Guarantees

Multimedia Networking and Quality of Service

CS 457 Multimedia Applications. Fall 2014

TDDD82 Secure Mobile Systems Lecture 6: Quality of Service

Overview Computer Networking What is QoS? Queuing discipline and scheduling. Traffic Enforcement. Integrated services

Quality of Service (QoS)

Network Support for Multimedia

Quality of Service in the Internet

of-service Support on the Internet

ETSF10 Internet Protocols Transport Layer Protocols

Computer Networking. Queue Management and Quality of Service (QOS)

Multimedia Networking

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

Topic 4b: QoS Principles. Chapter 9 Multimedia Networking. Computer Networking: A Top Down Approach

What Is Congestion? Effects of Congestion. Interaction of Queues. Chapter 12 Congestion in Data Networks. Effect of Congestion Control

OSI Layer OSI Name Units Implementation Description 7 Application Data PCs Network services such as file, print,

QUALITY of SERVICE. Introduction

QoS on Low Bandwidth High Delay Links. Prakash Shende Planning & Engg. Team Data Network Reliance Infocomm

Multimedia Networking

QoS Policy Parameters

Master Course Computer Networks IN2097

ETSF10 Internet Protocols Transport Layer Protocols

"Filling up an old bath with holes in it, indeed. Who would be such a fool?" "A sum it is, girl," my father said. "A sum. A problem for the mind.

Master Course Computer Networks IN2097

Introduction to IP QoS

Week 7: Traffic Models and QoS

Data Networks. Lecture 1: Introduction. September 4, 2008

CSE 473 Introduction to Computer Networks. Final Exam. Your name here: 12/17/2012

CSCD 433/533 Advanced Networks Spring Lecture 22 Quality of Service

UNIT 2 TRANSPORT LAYER

Transport protocols Introduction

Lecture Outline. Bag of Tricks

RSVP 1. Resource Control and Reservation

Multi-class Applications for Parallel Usage of a Guaranteed Rate and a Scavenger Service

Resource Control and Reservation

A common issue that affects the QoS of packetized audio is jitter. Voice data requires a constant packet interarrival rate at receivers to convert

Lecture 24: Scheduling and QoS

VoIP Protocols and QoS

Episode 5. Scheduling and Traffic Management

Lecture 17: Distributed Multimedia

Common network/protocol functions

Introduction to Real-Time Communications. Real-Time and Embedded Systems (M) Lecture 15

Multimedia Networking. Protocols for Real-Time Interactive Applications

DiffServ Architecture: Impact of scheduling on QoS

CSE 123b Communications Software

Example questions for the Final Exam, part A

Network Layer Enhancements

Multimedia Networking. Network Support for Multimedia Applications

Quality of Service II

CSCI Spring Final Exam Solution

Outline. QoS routing in ad-hoc networks. Real-time traffic support. Classification of QoS approaches. QoS design choices

ETSF05/ETSF10 Internet Protocols. Performance & QoS Congestion Control

Multimedia networking: outline

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

Quality of Service. Qos Mechanisms. EECS 122: Lecture 15

Today. March 7, 2006 EECS122 Lecture 15 (AKP) 4. D(t) Scheduling Discipline. March 7, 2006 EECS122 Lecture 15 (AKP) 5

Queuing. Congestion Control and Resource Allocation. Resource Allocation Evaluation Criteria. Resource allocation Drop disciplines Queuing disciplines

What Is Congestion? Computer Networks. Ideal Network Utilization. Interaction of Queues

RSVP Support for RTP Header Compression, Phase 1

Computer Networking. Introduction. Quintin jean-noël Grenoble university

Resource allocation in networks. Resource Allocation in Networks. Resource allocation

Prof. Dr. Abdulmotaleb El Saddik. site.uottawa.ca mcrlab.uottawa.ca. Quality of Media vs. Quality of Service

Chapter 5. The Network Layer

Part1: Lecture 4 QoS

Real-Time Control Protocol (RTCP)

Configuring QoS CHAPTER

Generic Architecture. EECS 122: Introduction to Computer Networks Switch and Router Architectures. Shared Memory (1 st Generation) Today s Lecture

IP QOS Theory and Practice. eng. Nikolay Milovanov CCIE SP# 20094

Data & Computer Communication

Congestion in Data Networks. Congestion in Data Networks

Transporting Voice by Using IP

CSE 461 Quality of Service. David Wetherall

Data and Computer Communications

Quality of Service (QoS)

Need For Protocol Architecture

CHAPTER 3 EFFECTIVE ADMISSION CONTROL MECHANISM IN WIRELESS MESH NETWORKS

CS519: Computer Networks. Lecture 5, Part 5: Mar 31, 2004 Queuing and QoS

Need For Protocol Architecture

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

3. Quality of Service

The Diffie-Hellman Key Exchange

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

TELE Switching Systems and Architecture. Assignment Week 10 Lecture Summary - Traffic Management (including scheduling)

Last time! Overview! 14/04/15. Part1: Lecture 4! QoS! Router architectures! How to improve TCP? SYN attacks SCTP. SIP and H.

Multimedia. Multimedia Networks and Applications

Transcription:

Integrated services Reading: S. Keshav, An Engineering Approach to Computer Networking, chapters 6, 9 and 4 Module objectives Learn and understand about: Support for real-time applications: network-layer and transport-layer Quality of service (QoS): the needs of real-time applications the provision of QoS support in the network Many-to-many communication - multicast Integrated Services Network (ISN) Support for real-time applications Support in the network: routers, routing Support at the endsystems: User space transport protocols Support at the application level: user-network signalling Kernel/IOS application-level signalling and control (Link & physical layers?) 7 application 6 presentation 5 session 4 transport 3 network data link 5 application layer protocol Internet upper layer(s) Real-time flows and the current Internet protocols physical

The problem with IP [] The problem with IP [] Data transfer: datagrams: individual packets no recognition of flows connectionless: no signalling Forwarding: based on per-datagram forwarding table look-ups no examination of type of traffic no priority traffic Routing: dynamic routing changes no fixed-paths no fixed QoS Traffic patterns Scheduling in the routers: first come, first serve (FCFS) no examination of type of traffic No priority traffic: how to mark packets to indicate priority IPv4 ToS not widely used across Internet Traffic aggregation: destination address (QoS: pricing?) Questions Requirements for an ISN [] Can we do better than best-effort? What support do real-time flows need in the network? What support can we provide in the network? Alternatives to FCFS? Many-to-many communication? Application-level interfaces? Scalability? Today s Internet IPv4: QoS not specified TCP: elastic applications Many network technologies: different capabilities no common layer No support for QoS: ToS in IPv4 limited use QoS requirements: not well understood Integrated Services Packet Network (ISPN) QoS service-level: service type descriptions Service interface: signalling Admission control: access to resources Scheduling: prioritisation and differentiation of traffic

Requirements for an ISN [] QoS service-level: packet handling traffic description policing application flow description Service interface: common data structures and parameters signalling protocol Admission control: check request can be honoured Scheduling: packet classification prioritisation of traffic queue management Traffic and QoS parameters Network structure [] Network structure [] Network hierarchy Access network: low multiplexing low volume of traffic Distribution network: interconnectivity at local level medium volume of traffic low multiplexing Core network backbone: high volume of traffic high multiplexing access distribution core Administrative boundaries Autonomous system (AS): intra-domain routing internal policy routing metric? protocols: RIPv, OSPFv Interconnection of ASs: inter-domain routing interconnectivity information protocols: BGP AS3 AS AS border router intra-domain routing exchanges inter-domain routing exchanges 3

Mixed traffic in the network [] Mixed traffic in the network [] Different applications: traffic (generation) profiles traffic timing constraints Routers use FCFS queues: no knowledge of application no knowledge of traffic patterns Different traffic types share same network path Consider three different applications real-time audio FTP WWW Router: 3 input lines: serviced round-robin at router output line ( output buffer) 5 4 5 4 3 3 time Mixed traffic in the network [3] Delay [] Different traffic patterns: different applications many uses of an application different requirements Traffic aggregation: core: higher aggregation many different sources hard to model Routing/forwarding: destination-based single metric for all traffic queuing effects Large packet size: good for general data router friendly slows real-time traffic Small packet size: good for real-time data less end-to-end delay better tolerance to loss (less jitter?) less efficient (overhead) not router-friendly End-to-end delay Propagation: speed-of-light Transmission: data rate Network elements: buffering (queuing) processing End-system processing: application specific Delay bounds? Internet paths: unknown paths dynamic routing Other traffic: traffic patterns localised traffic time-of-day effects Deterministic delay: impractical but not impossible 4

Delay [] #picture# Jitter (delay jitter) [] 00 80 60 40 0 00 80 60 40 0 0 0 0 0 30 40 50 60 70 80 90 00 End-to-end jitter Variation in delay: per-packet delay changes Effects at receiver: variable packet arrival rate variable data rate for flow Non-real-time: no problem Real-time: need jitter compensation Causes of jitter Media access (LAN) FIFO queuing: no notion of a flow (non-fifo queuing) Traffic aggregation: different applications Load on routers: busy routers localised load/congestion Routing: dynamic path changes Jitter (delay jitter) [] #picture# Easiest measure is the variance in inter-packet delay Can use lots of other metrics (e.g. other moments of the interarrival time distribution Not critical to protocols like TCP unless jitter is st order (I.e. not nd order) effect Critical to voice (e.g. playout buffer to make sure DA device or display is not starved ) VOIP, Video over IP Critical for interactive 5

Loss [] Loss [] #picture# End-to-end loss Non-real-time: re-transmission, e.g.: TCP Real-time: forward error correction and redundant encoding media specific fill-in at receiver Adaptive applications: adjust flow construction Causes of loss Packet-drop at routers: congestion Traffic violations: mis-behaving sources source synchronisation Excessive load due to: failure in another part of the network abnormal traffic patterns, e.g. new download Packet re-ordering may be seen as loss Varies with route Depends on link quality Depends on router quality Varies with time Depends on other load And interference Error rates Data rate [] 45.0% 40.0% 35.0% 30.0% 5.0% 0.0% 5.0% 0.0% 5.0% 0.0% 0 0 0 30 40 50 60 70 80 90 00 End-to-end data rate Short-term changes: during the life-time of a flow, seconds Long-term changes: during the course of a day, hours Protocol behaviour: e.g. TCP congestion control (and flow control) Data-rate changes Network path: different connectivity Routing: dynamic routing Congestion: network load loss correlation with loss and/or delay? Traffic aggregation: other users (time of day) 6

Data rate [] #picture# Link is multiplexed so rate is not just link speed Varies with overall load depending on the link sharing rules Note latency (RTT) contributed to throughput (e.g. if you have to wait for acks ) Lots of different possibile basic link speeds depending on media, modulation, and protocol stack overheads Goodput is often used for the residual throughput after you allow for all overheads (including retransmissions) Network probing: a quick note Elastic applications Can use probes to detect: delay jitter loss data rate Use of network probes: ping traceroute pathchar Probes load the network, i.e the affect the system being measured Measurement is tricky! See: www.caida.org www.nlanr.net Elastic Interactive Interactive bulk Asynchronous e.g. Telnet, X-windows e.g. FTP, HTTP e.g. E-mail, voice-mail 7

Examples of elastic applications Inelastic applications E-mail: asynchronous message is not real-time delivery in several minutes is acceptable File transfer: interactive service require quick transfer slow transfer acceptable Network file service: interactive service similar to file transfer fast response required (usually over LAN) WWW: interactive file access mechanism(!) fast response required QoS sensitive content on WWW pages Inelastic (real-time) Tolerant In-tolerant Adaptive Non-adaptive Rate Adaptive Delay adaptive Rate Adaptive newer real-time applications traditional real-time applications Non-adaptive Examples of inelastic applications QoS parameters for the Internet [] Streaming voice: not interactive end-to-end delay not important end-to-end jitter not important data rate and loss very important Real-time voice: person-to-person interactive Important to control: end-to-end delay end-to-end jitter end-to-end loss end-to-end data rate Delay Not possible to request maximum delay value No control over end-toend network path Possible to find actual values for: maximum end-to-end delay, D MAX minimum end-to-end delay, D MIN Jitter Not possible to request end-to-end jitter value Approximate maximum jitter: D MAX D MIN evaluate D MIN dynamically D MAX? 99 th percentile? Jitter value: transport-level info application-level info 8

QoS parameters for the Internet [] QoS parameters for the Internet [3] Loss Not really a QoS parameter for IP networks How does router honour request? Linked to data rate: hard guarantee? probabilistic? best effort? (Traffic management and congestion control) Packet size Restriction: path MTU May be used by routers: buffer allocation delay evaluation Data rate: how to specify? Data applications are bursty: peak data rate >> mean data rate Specify mean data rate? peak traffic? Specify peak data rate? waste resources? Real-time flows: may be constant bit rate can be variable bit rate Application-level flow: application data unit (ADU) Data rate specification: application-friendly technology neutral Leaky bucket Token bucket Two parameters: B: bucket size [Bytes] L: leak rate [B/s or b/s] Data pours into the bucket and is leaked out B/L is maximum latency at transmission Traffic always constrained to rate L data rate, L B Token bucket Three parameters: b: bucket size [B] r: bucket rate [B/s or b/s] p: peak rate [B/s or b/s] Bucket fills with tokens at rate r, starts full Presence of tokens allow data transmission Burst allowed at rate p data sent < rt + b data peak rate, p tokens, rate r b 9

Interactive, real-time media flows Real-time media flows Audio/video flows: streaming audio/video use buffering at receiver Interactive real-time: only limited receiver buffering delay <00ms jitter <00ms keep loss low Effects of loss: depend on application, media, and user Audio: humans tolerant of bad audio for speech humans like good audio for entertainment Video: humans tolerant of low quality video for business humans like high quality video for entertainment Audio video sync: separate flows? Audio Example audio encoding techniques QoS requirements Delay < 400ms: including jitter Low loss preferable: loss tolerant encodings exist Data rates: speech 64Kb/s good music 8Kb/s Time domain sampling Example packet voice: 64Kb/s PCM encoding 8-bit samples 8000 samples per second 40ms time slices of audio 30 bytes audio per packet 48 bytes overhead (0 bytes IP header) (8 bytes UDP header) (0 bytes RTP header) 73.6Kb/s G.7 PCM (non-linear) 4KHz bandwidth 64Kb/s G.7 SB-ADPCM 48/56/64Kb/s 4-8KHz bandwidth G.78 LD-CELP 4KHz bandwidth 6Kb/s G.79 CS-ACELP 4KHz bandwidth 8Kb/s G.73. MP-MLQ 5.3/6.3Kb/s 4KHz bandwidth GSM RPE/LTP 4KHz 3Kb/s 0

Video Example video encoding techniques QoS requirements Delay < 400ms: including jitter same as audio inter-flow sync Loss must be low Data rate depends on: frame size colour depth frame rate encoding Frequency domain: discrete cosine transform (DCT) Example - packet video: ### MPEG upto.5mb/s MPEG upto 0Mb/s (HDTV quality) MPEG4 5-64Kb/s (mobile, PSTN) Mb/s (TV quality) MPEG7, MPEG H.6 and H.63 n 64Kb/s, n 30 Summary IPv4 and current Internet: not designed for QoS support Need to add support for ISN: service definitions signalling update routers Need to describe traffic: QoS parameters Audio and video have different requirements