CS 268: Lecture 13. QoS: DiffServ and IntServ



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

18: Enhanced Quality of Service

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

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

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

Real-time apps and Quality of Service

Internet Quality of Service

Integrated Service (IntServ) versus Differentiated Service (Diffserv)

How To Provide Qos Based Routing In The Internet

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

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

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

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

Differentiated Services

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 in the Internet. QoS Parameters. Keeping the QoS. Traffic Shaping: Leaky Bucket Algorithm

6.5 Quality of Service

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

MULTIMEDIA NETWORKING

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

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

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

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

Mixer/Translator VOIP/SIP. Translator. Mixer

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

4 Internet QoS Management

Distributed Systems 3. Network Quality of Service (QoS)

Analysis of IP Network for different Quality of Service

Protocols with QoS Support

Multimedia Requirements. Multimedia and Networks. Quality of Service

Network management and QoS provisioning - QoS in the Internet

02-QOS-ADVANCED-DIFFSRV

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

Quality of Service (QoS)) in IP networks

QoS Strategy in DiffServ aware MPLS environment

Quality of Service for VoIP

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

King Fahd University of Petroleum & Minerals Computer Engineering g Dept

IP-Telephony Quality of Service (QoS)

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

Quality of Service for IP Videoconferencing Engineering White Paper

Quality of Service Mechanisms and Challenges for IP Networks

SPEAKEASY QUALITY OF SERVICE: VQ TECHNOLOGY

Figure 1: Network Topology

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

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

12 Quality of Service (QoS)

CS268 Exam Solutions. 1) End-to-End (20 pts)

6.6 Scheduling and Policing Mechanisms

Management of Telecommunication Networks. Prof. Dr. Aleksandar Tsenov

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

Quality of Service (QoS) on Netgear switches

IMPLEMENTING CISCO QUALITY OF SERVICE V2.5 (QOS)

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

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

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

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

QUALITY OF SERVICE INTRODUCTION TO QUALITY OF SERVICE CONCEPTS AND PROTOCOLS

ERserver. iseries. Quality of service

Differentiated Services:

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

Telecommunication Services Engineering (TSE) Lab. Chapter III 4G Long Term Evolution (LTE) and Evolved Packet Core (EPC)

Introduction to Differentiated Services (DiffServ) and HP-UX IPQoS

DOCSIS 1.1 Cable Modem Termination Systems

Internet QoS: Past, Present, and Future

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

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

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

Addition of QoS Services to an MPLS-enabled Network

QoS in VoIP. Rahul Singhai Parijat Garg

Overview. QoS, Traffic Engineering and Control- Plane Signaling in the Internet. Telematics group University of Göttingen, Germany. Dr.

EXPERIMENTAL STUDY FOR QUALITY OF SERVICE IN VOICE OVER IP

Improving Quality of Service

A Prototype Implementation of the Two-Tier Architecture for Differentiated Services

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

QoSpy an approach for QoS monitoring in DiffServ Networks.

How To Solve A Network Communication Problem

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

QoS in multi-service IP networks

Configuring QoS. Finding Feature Information. Prerequisites for QoS

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

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

Does reality matter?: QoS & ISPs

VoIP network planning guide

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

The Conversion Technology Experts. Quality of Service (QoS) in High-Priority Applications

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

A Novel QoS Framework Based on Admission Control and Self-Adaptive Bandwidth Reconfiguration

Transcription:

CS 268: Lecture 13 QoS: DiffServ and IntServ Ion Stoica Computer Science Division Department of Electrical Engineering and Computer Sciences University of California, Berkeley Berkeley, CA 94720-1776 1 Quality of Service Traditional Internet gives single class of best-effort service - Even though ToS bits were included in the original IP header Treats all packets the same - All customers - All applications Should Internet give better quality service to some packets? - Why? - Why not? 2 Page 1

Three Relevant Factors Application performance Bandwidth required to provide performance Complexity/cost of required mechanisms 3 Providing Better Service Routing or Forwarding Scheduling or Dropping Relative or Absolute 4 Page 2

Relative QoS Priority scheduling - Favored packets get lower delay and lower drop rate Priority dropping - All sent packets get same average delay Why bother with priority dropping? 5 Differentiated Services (DiffServ) Goal: offer different levels of service - Organized around domains - Edge and core routers Edge routers - Sort packets into classes (based on variety of factors) - Police/shape traffic - Set bits (DSCP) in packet header Core routers - Handle packet (PHB) based on DSCP 6 Page 3

DiffServ Architecture DS-1 DS-2 Ingress Egress Ingress Egress Edge router Core router 7 Traffic Policing/Shaping Token bucket (r,b) Police: if token is available, packet is considered in - Otherwise considered out Shape: packet is delayed until token is available 8 Page 4

Token Bucket Parameters - r average rate, i.e., rate at which tokens fill the bucket - b bucket depth - R maximum link capacity or peak rate (optional parameter) A bit is transmitted only when there is an available token r bps bits Maximum # of bits sent b bits b*r/(r-r) slope R slope r regulator <= R bps time 9 Traffic Enforcement: Example 3Kb r = 100 Kbps; b = 3 Kb; R = 500 Kbps (a) (b) 2.2Kb T = 0 : 1Kb packet arrives 2.4Kb (c) 3Kb T = 2ms : packet transmitted b = 3Kb 1Kb + 2ms*100Kbps = 2.2Kb (d) (e) 0.6Kb T = 4ms : 3Kb packet arrives T = 10ms : packet needs to wait until enough tokens are in the bucket! T = 16ms : packet transmitted 10 Page 5

Source Traffic Characterization: Arrival Curve Arrival curve maximum amount of bits transmitted during an interval of time t Use token bucket to bound the arrival curve bps bits Arrival curve time t 11 Arrival Curve: Example Arrival curve maximum amount of bits transmitted during an interval of time t Use token bucket to bound the arrival curve bits (R=2,b=1,r=1) Arrival curve bps 4 3 2 2 1 1 0 1 2 3 4 5 time 1 2 3 4 5 t 12 Page 6

QoS Guarantees: Per-hop Reservation End-host: specify - the arrival rate characterized by token-bucket with parameters (b,r,r) - the maximum maximum admissible delay D, no losses Router: allocate bandwidth r a and buffer space B a such that - no packet is dropped - no packet experiences a delay larger than D slope r a bits slope r Arrival curve b*r/(r-r) R B a D 13 Implementing Drop Priority RED in/out (RIO) Separate dropping curves for in and out traffic - Out curve measures all packets - In curve measures only in packets Dropping probability 1 OUT IN Average queue length 14 Page 7

Sender and Receiver Versions Sender-based version: - Sender (or token bucket next to sender) sets in/out bits - Routers service with priority Receiver-based version: use ECN - Put incoming packets through token bucket - If packet is in, cancel any ECN bits - Receiver only told about congestion for out packets 15 Combining Drop and Delay Priority Delay priority traffic gets high forwarding priority Drop priority traffic uses RIO DelayP? yes high forwarding priority no DropP? yes no RIO low forwarding priority 16 Page 8

Why Does Giving Priority Help? Making service for one class of traffic better means that service for another class of traffic must get worse Why does that help? 17 From Relative to Absolute Service Priority mechanisms can only deliver absolute assurances if total load is regulated Service Level Agreements (SLAs) specify: - Amount user (organization, etc.) can send - Level of service delivered to that traffic Premium Service (DiffServ) offers low (unspecified) delay and no drops - Acceptance of proposed SLAs managed by Bandwidth Broker - Only over long time scales 18 Page 9

Providing Assurances SLAs are typically defined without restriction on destination Can t provision network efficiently, but may not matter Traffic profile Ingress 19 Inter-Domain Premium DiffServ Achieve end-to-end bandwidth guarantee But is this done for all paths? 2 3 1 sender 9 BB 7 BB 5 BB 8 profile 6 profile 4 profile receiver 20 Page 10

From DiffServ to IntServ Can easily provide some traffic better service than others - Making absolute assurances requires controlling load DiffServ worst-case provisioning very inefficient - Based on aggregate offered load, not for a specific path What about fine-grain assurances about QoS? - Per-flow, not per traffic class Requires admission control for each flow - E.g., reservations 21 Major Philosophical Change Per-flow admission control is drastic change to the Internet - But best-effort still available (used for most traffic) We will first discuss whether this is a good idea - Going back to basics about application performance, etc. We will then talk about how one might do this - Cursory overview, because details are in the dustbin of history 22 Page 11

Reservations or Best-Effort Basic question: - Should we admit all flows (BE), or - Refuse some to preserve good service for current flows (R) Precedents: - The telephone network uses admission control - The current Internet does not Which one is right? Huge ideological battle!! How can we decide? - Which provides better application performance? 23 Modeling Application Performance Not a simple function of delay/jitter/loss Depends on user perception - e.g., picture quality, etc. Depends on adaptive application behavior - Adjust sending rate - Adjust coding (to mask errors) - Adjust playback point (later) For a given application, can describe performance as a function of available bandwidth 24 Page 12

Classes of Application Traditional data applications: elastic - Tolerant of delay - Tolerant of loss Streaming media applications: real-time - Less tolerant of delay - Less tolerant of loss - Often of the playback variety 25 Playback Applications Video/audio stream being sent Played back at receiver Receiver picks time to play back content - playback point Playback point: - Moves: distortion - Late: delay - Misses packets: drops 26 Page 13

The Overprovisioning Debate Some claim bandwidth is plentiful everywhere - Cheap - Or needed for fail-over But that s within core of ISPs Bandwidth is scarce: - At edge - Between providers Intserv would help pay for bandwidth in those places 27 IntServ IntServ = Integrated Services Internet Goal: support wider variety of services in single architecture Effort largely led by PARC, MIT, USC/ISI 28 Page 14

Key IntServ Design Decisions Reservations are made by endpoints - Network is not making guesses about application requirements IntServ is multicast-oriented - Assumed that large broadcasts would be a driver of both IntServ and multicast - Reservations made by receivers Soft-state: state in routers always refreshed by endpoints Service guarantees are end-to-end on a per-flow basis 29 Integrated Services Internet Flow is QoS abstraction Each flow has a fixed or stable path Routers along the path maintain state for the flow State is used to deliver appropriate service 30 Page 15

IntServ Mechanisms Reservation protocol: transmits service request to network - TSpec: traffic description - RSpec: service description Admission control: determines whether to accept request Packet scheduling: ensures router meets service rqmts Routing: pin routes, look for resource-rich routes 31 IntServ Services Kinds of service assurances: - Guaranteed (never fails unless major failure) - Predictive (will almost never fail) Corresponding admission control: - Guaranteed: worst-case No guessing about traffic - Predictive: measurement-based Gamble on aggregate behavior changing slowly 32 Page 16

Integrated Services Example Sender Receiver 33 Integrated Services Example Allocate resources - perform per-flow admission control Sender Receiver 34 Page 17

Integrated Services Example Install per-flow state Sender Receiver 35 Integrated Services Example Install per flow state Sender Receiver 36 Page 18

Integrated Services Example: Data Path Per-flow classification Sender Receiver 37 Integrated Services Example: Data Path Per-flow buffer management Sender Receiver 38 Page 19

Integrated Services Example Per-flow scheduling Sender Receiver 39 How Things Fit Together Routing Messages Routing RSVP Admission Control Control Plane RSVP messages Data In Forwarding Table Route Lookup Per Flow QoS Table Classifier Scheduler Data Plane Data Out 40 Page 20

RSVP Reservation Protocol Performs signaling to set up reservation state for a session A session is a simplex data flow sent to a unicast or a multicast address, characterized by - <IP dest, protocol number, port number> Multiple senders and receivers can be in same session 41 The Big Picture Network Sender PATH Msg Receiver 42 Page 21

The Big Picture (2) Network Sender PATH Msg Receiver RESV Msg 43 RSVP Basic Operations Sender: sends PATH message via the data delivery path - Set up the path state each router including the address of previous hop Receiver sends RESV message on the reverse path - Specifies the reservation style, QoS desired (RSpec) - Set up the reservation state at each router Things to notice - Receiver initiated reservation - Decouple routing from reservation 44 Page 22

Route Pinning Problem: asymmetric routes - You may reserve resources on R S3 S5 S4 S1 S, but data travels on S S1 S2 S3 R! Solution: use PATH to remember direct path from S to R, i.e., perform route pinning S S2 R S1 S3 IP routing PATH RESV S4 S5 45 PATH and RESV messages PATH also specifies - Source traffic characteristics Use token bucket RESV specifies - Service requirements - Source traffic characteristics (from PATH) - Filter specification, i.e., what senders can use reservation - Based on these routers perform reservation 46 Page 23

Reservation Style Motivation: achieve more efficient resource Observation: in a video conferencing when there are M senders, only a few are active simultaneously - Multiple senders can share the same reservation Various reservation styles specify different rules for sharing among senders Key distinction: - Reserved resources (bandwidth) - Which packets use those resources 47 Reservation Styles: Filters Wildcard filter: all session packets share resources - Good for small number of simultaneously active senders Fixed filter: no sharing among senders, sender explicitly identified in reservation - Sources cannot be modified over time - Allows reserved resources to be targeted to particular paths Dynamic filter: resource shared by senders that are (explicitly) specified - Sources can be modified over time - Switching between speakers at a conference 48 Page 24

What Did We Miss? Make aggregation central to design - In core, don t want to keep track of each flow - Don t want to process each RESV message Economics: user/provider and provider/provider - We talked about it (at great length) but didn t realize how inflexible the providers would be Too complicated: filter styles a waste of time Multicast focus? 49 Page 25