Real-time apps and Quality of Service



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

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

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

Quality of Service (QoS) EECS 122: Introduction to Computer Networks Resource Management and QoS. What s the Problem?

CS 268: Lecture 13. QoS: DiffServ and IntServ

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

18: Enhanced Quality of Service

Internet Quality of Service

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

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

MULTIMEDIA NETWORKING

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

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

How To Provide Qos Based Routing In The Internet

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

Distributed Systems 3. Network Quality of Service (QoS)

6.5 Quality of Service

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

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

QoS in IP networks. Computer Science Department University of Crete HY536 - Network Technology Lab II IETF Integrated Services (IntServ)

Quality of Service (QoS)) in IP networks

DOCSIS 1.1 Cable Modem Termination Systems

QoS : Computer Networking. Motivation. Overview. L-7 QoS. Internet currently provides one single class of best-effort service

Analysis of IP Network for different Quality of Service

6.6 Scheduling and Policing Mechanisms

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

Multimedia Requirements. Multimedia and Networks. Quality of Service

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

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

Integrated Service (IntServ) versus Differentiated Service (Diffserv)

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

Investigation and Comparison of MPLS QoS Solution and Differentiated Services QoS Solutions

IMPLEMENTING CISCO QUALITY OF SERVICE V2.5 (QOS)

Differentiated Services

A Review on Quality of Service Architectures for Internet Network Service Provider (INSP)

Indepth Voice over IP and SIP Networking Course

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

Optimizing Converged Cisco Networks (ONT)

Network Management Quality of Service I

Motivation. QoS Guarantees. Internet service classes. Certain applications require minimum level of network performance:

EXPERIMENTAL STUDY FOR QUALITY OF SERVICE IN VOICE OVER IP

Lecture 33. Streaming Media. Streaming Media. Real-Time. Streaming Stored Multimedia. Streaming Stored Multimedia

Management of Telecommunication Networks. Prof. Dr. Aleksandar Tsenov

Mixer/Translator VOIP/SIP. Translator. Mixer

How To Solve A Network Communication Problem

Quality of Service on the Internet: Evaluation of the IntServ Architecture on the Linux Operative System 1

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

Requirements of Voice in an IP Internetwork

Network management and QoS provisioning - QoS in the Internet

Improving Quality of Service

IP-Telephony Quality of Service (QoS)

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

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

Faculty of Engineering Computer Engineering Department Islamic University of Gaza Network Chapter# 19 INTERNETWORK OPERATION

Quality of Service for VoIP

Figure 1: Network Topology

Quality of Service Mechanisms and Challenges for IP Networks

VoIP Quality of Service - Basic Theory

4 Internet QoS Management

CS 78 Computer Networks. Internet Protocol (IP) our focus. The Network Layer. Interplay between routing and forwarding

IP Quality of Service: Theory and best practices. Vikrant S. Kaulgud

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

Overview : Computer Networking. Components of Integrated Services. Service Interfaces RSVP. Differentiated services

King Fahd University of Petroleum & Minerals Computer Engineering g Dept

02-QOS-ADVANCED-DIFFSRV

Overview of QoS in Packet-based IP and MPLS Networks. Paresh Shah Utpal Mukhopadhyaya Arun Sathiamurthi

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

Quality of Service for IP Videoconferencing Engineering White Paper

CCNP: Optimizing Converged Networks

Per-Flow Queuing Allot's Approach to Bandwidth Management

Voice over IP: RTP/RTCP The transport layer

QoS for real-time IP traffic

VOIP TRAFFIC SHAPING ANALYSES IN METROPOLITAN AREA NETWORKS. Rossitza Goleva, Mariya Goleva, Dimitar Atamian, Tashko Nikolov, Kostadin Golev

QoS in VoIP. Rahul Singhai Parijat Garg

VOICE OVER IP AND NETWORK CONVERGENCE

10CS64: COMPUTER NETWORKS - II

Internet services pricing under usagebased cost allocation: Congestion dependence

QoS issues in Voice over IP

Highlighting a Direction

12 Quality of Service (QoS)

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

Does reality matter?: QoS & ISPs

Announcements. Midterms. Mt #1 Tuesday March 6 Mt #2 Tuesday April 15 Final project design due April 11. Chapters 1 & 2 Chapter 5 (to 5.

SPEAKEASY QUALITY OF SERVICE: VQ TECHNOLOGY

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

A Policy-Based Admission Control Scheme for Voice over IP Networks

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

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

Performance Analysis of Integrated Service over Differentiated Service for Next Generation Internet

Network Simulation Traffic, Paths and Impairment

Smart Queue Scheduling for QoS Spring 2001 Final Report

A Proposal to Improve Network Throughput Using a QoS Building Blocks Approach at Central University of Venezuela

Transcription:

Real-time apps and Quality of Service Focus What transports do applications need? What network mechanisms provide which kinds of quality assurances? Topics Real-time versus Elastic applications Adapting to variable delay Token buckets as bandwidth descriptors Scheduling and buffer management Fair Queuing, Intserv / Diffserv Application Presentation Session Transport Network Data Link Physical Lqos.1

Internet Best Effort Service Our network model so far: IP at routers: a shared, first come first serve (drop tail) queue TCP at hosts: probes for available bandwidth, causing loss The mechanisms at routers and hosts determine the kind of service applications will receive from the network TCP causes loss and variable delay, and Internet bandwidth varies! Q: What kinds of service do different applications need? The Web is built on top of just the best-effort service Want better mechanisms to support demanding applications Lqos.2

An Audio Example Playback is a real-time service in the sense that the audio must be received by a deadline to be useful Microphone Sampler, A D converter Internet Buffer, D A Speaker Variable bandwidth and delay (jitter) Real-time apps need assurances from the network Q: What assurances does playback require? Lqos.3

Network Support for Playback Bandwidth There must be enough on average But we can tolerate to short term fluctuations Delay Ideally it would be fixed But we can tolerate some variation (jitter) Loss Ideally there would be none But we can tolerate some losses Lqos.4

Example: Delay and Jitter 3 90% 97% 98% 99% Packets (%) 2 1 50 100 Delay (milliseconds) 150 200 Lqos.5

Tolerating Jitter with Buffering Sequence number Packet generation Network delay Buffer Packet arrival Playback Time Buffer before playout so that most late samples will have arrived Lqos.6

Taxonomy of Applications Applications Real time Elastic T olerant Intolerant Interactive Interactive bulk Asynchronous Adaptive Nonadaptive Rate - adaptive Nonadaptive Delay - adaptive Rate - adaptive Lqos.7

Specifying Bandwidth Needs Problem: Many applications have variable bandwidth demands Bandwidth (MBps) 2 1 Flow A Flow B 1 2 3 4 Time (seconds) Same average, but very different needs over time. One number. So how do we describe bandwidth to the network? Lqos.8

Token Buckets Common, simple descriptor Use tokens to send bits Fill rate R tokens/sec Average bandwidth is R bps Maximum burst is B bits Bucket size B tokens Sending drains tokens Lqos.9

Network Roadmap Various Mechanisms Simple to build, Weak assurances Complex to build, Strong assurances FIFO with Drop Tail FIFO with RED Weighted Fair Queuing Differentiated Services Integrated Services Classic Best Effort Congestion Avoidance Per Flow Fairness Aggregate Guarantees Per Flow Guarantees Lqos.10

What s in a Router? From routers or hosts Router (routing, IP forwarding) To routers or hosts By convention, draw input ports on left, output on right. (But in reality a single physical port handles both directions.) Lqos.11

Model of a Router Input Ports Switch Output Ports Data Link and PHY Queue Switching Fabric Queue Data Link and PHY Data Link and PHY Queue Queue Data Link and PHY Forwarding this side Routing Processor Scheduling and Buffering this side Lqos.12

Scheduling and Buffer Management Two different functions implemented at the queue A scheduling discipline This is the order in which we send queued packets Examples: FIFO or priority-based A buffer management policy This decides which packets get dropped or queued Examples: Drop tail or random drop Lqos.13

Fair Queuing (FQ) FIFO is not guaranteed (or likely) to be fair Flows jostle each other and hosts must play by the rules Routers don t discriminate traffic from different sources Fair Queuing is an alternative scheduling algorithm Maintain one queue per traffic source (flow) and send packets from each queue in turn Actually, not quite, since packets are different sizes Provides each flow with its fair share of the bandwidth Lqos.14

Fair Queuing Flow 1 Flow 2 Round-robin service Flow 3 Flow 4 Lqos.15

Fair Queuing Want to share bandwidth At the bit level, but in reality must send whole packets Approximate with finish times for each packet finish (F) = arrive + length*rate; rate depends on # of flows Send in order of finish times, except don t preempt (stop) transmission if a new packet arrives that should go first Flow 1 Flow 2 Output F = 8 F = 10 F = 5 More generally, assign weights to queues (Weighted FQ, WFQ) Lqos.16

Full support for QOS Guarantees 1. Flowspecs. Formulate application needs Need descriptor, e.g. token bucket, to ask for guarantee 2. Admission Control. Decide whether to support a new guarantee Network must be able to control load to provide guarantees 3. Signaling. Reserve network resources at routers Analogous to connection setup/teardown, but at routers 4. Packet Scheduling. Use different scheduling and drop mechanisms to implement the guarantees e.g., set up a new queue and weight with WFQ at routers Lqos.17

IETF Integrated Services Fine-grained (per flow) guarantees Guaranteed service (bandwidth and bounded delay) Controlled load (bandwidth but variable delay) RSVP used to reserve resources at routers Receiver-based signaling that handles failures WFQ used to implement guarantees Router classifies packets into a flow as they arrive Packets are scheduled using the flow s resources Lqos.18

Resource Reservation Protocol (RSVP) Sender 1 PATH Sender 2 PATH R R RESV (merged) R RESV R Receiver A R RESV Receiver B Lqos.19

RSVP Issues RSVP is receiver-based to support multicast apps Only want to reserve resources at a router if they are sufficient along the entire path What if there are link failures and the route changes? What if there are sender/receiver failures? Lqos.20

IETF Differentiated Services A more coarse-grained approach to QOS Packets are marked as belonging to a small set of services, e.g, premium or best-effort, using the TOS bits in the IP header This marking is policed at administrative boundaries Your ISP marks 10Mbps (say) of your traffic as premium depending on your service level agreement (SLAs) SLAs change infrequently; much less dynamic than Intserv Routers understand only the different service classes Might separate classes with WFQ, but not separate flows Lqos.21

Two-Tiered Architecture Mark at Edge routers (per flow state, complex) Core routers stay simple (no per-flow state, few classes) Lqos.22

QOS in the Internet today Is in its infancy Routers have many knobs (performance issues though) Buy economic incentives stifle innovation/deployment Customers may get SLAs, e.g., bandwidth, uptime Mostly a provisioning issue for ISPs For well-provisioned, congestion is at the edges, e.g., DSL Network mostly decoupled from hosts Hosts don t mark packets for QOS But network edge devices may classify, e.g., VoIP vs P2P Point solution at edge, or ISP network can then differentiate Lqos.23