EECS 122: Introduction to Computer Networks Resource Management and QoS. Quality of Service (QoS)

Similar documents
Computer Network Fundamentals Fall Week 12 QoS Andreas Terzis

CS 268: Integrated Services

Page 1. Quality of Service. CS 268: Lecture 13. QoS: DiffServ and IntServ. Three Relevant Factors. Providing Better Service.

Lecture 24: Scheduling and QoS

CSE 123b Communications Software

Real-Time Applications. Delay-adaptive: applications that can adjust their playback point (delay or advance over time).

Congestion Control and Resource Allocation

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

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

Institute of Computer Technology - Vienna University of Technology. L73 - IP QoS Integrated Services Model. Integrated Services Model

Quality of Service in the Internet

Design Intentions. IP QoS IntServ. Agenda. Design Intentions. L73 - IP QoS Integrated Services Model. L73 - IP QoS Integrated Services Model

RSVP and the Integrated Services Architecture for the Internet

IntServ and RSVP. Overview. IntServ Fundamentals. Tarik Cicic University of Oslo December 2001

TDDD82 Secure Mobile Systems Lecture 6: Quality of Service

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

Quality of Service in the Internet

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

Improving QOS in IP Networks. Principles for QOS Guarantees

QoS Guarantees. Motivation. . link-level level scheduling. Certain applications require minimum level of network performance: Ch 6 in Ross/Kurose

Quality of Service II

Lecture 13. Quality of Service II CM0256

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

Overview. Lecture 22 Queue Management and Quality of Service (QoS) Queuing Disciplines. Typical Internet Queuing. FIFO + Drop tail Problems

Mohammad Hossein Manshaei 1393

RSVP 1. Resource Control and Reservation

Resource Control and Reservation

Internet Services & Protocols. Quality of Service Architecture

Quality of Service (QoS)

Lecture 14: Performance Architecture

Advanced Computer Networks

CSE 461 Quality of Service. David Wetherall

Real-Time Protocol (RTP)

Quality of Service (QoS)

Quality of Service Monitoring and Delivery Part 01. ICT Technical Update Module

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

Announcements. Quality of Service (QoS) Goals of Today s Lecture. Scheduling. Link Scheduling: FIFO. Link Scheduling: Strict Priority

Presentation Outline. Evolution of QoS Architectures. Quality of Service Monitoring and Delivery Part 01. ICT Technical Update Module

VoIP Protocols and QoS

ETSF10 Internet Protocols Transport Layer Protocols

Congestion Control & Resource Allocation. Issues in Resource Allocation Queuing Discipline TCP Congestion Control

QoS in IPv6. Madrid Global IPv6 Summit 2002 March Alberto López Toledo.

EPL606. Quality of Service and Traffic Classification

Problems with IntServ. EECS 122: Introduction to Computer Networks Differentiated Services (DiffServ) DiffServ (cont d)

Telecommunication Services Engineering Lab. Roch H. Glitho

Part1: Lecture 4 QoS

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

QUALITY of SERVICE. Introduction

Network Support for Multimedia

Chapter 6: Congestion Control and Resource Allocation

Differentiated Services

RSVP Petri Jäppilä Nokia Telecommunications P.O Box Nokia Group, Finland

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

Multimedia Networking

Internet Quality of Service: an Overview

Integrated Services - Overview

Master Course Computer Networks IN2097

Tutorial 9 : TCP and congestion control part I

Queue Overflow. Dropping Packets. Tail Drop. Queues will always sometimes overflow. But Cause more variation in delay (jitter)

Master Course Computer Networks IN2097

Quality of Service Basics

CS 356: Computer Network Architectures. Lecture 24: IP Multicast and QoS [PD] Chapter 4.2, 6.5. Xiaowei Yang

Differentiated Services

Lecture Outline. Bag of Tricks

Multicast and Quality of Service. Internet Technologies and Applications

Quality of Service (QoS)

Common network/protocol functions

QoS Services with Dynamic Packet State

ITBF WAN Quality of Service (QoS)

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

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

2. Integrated Services

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

Integrated and Differentiated Services. Christos Papadopoulos. CSU CS557, Fall 2017

UNIT IV TRANSPORT LAYER

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

"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.

Traffic Management and. QoS Issues for Large High-Speed Networks

EECS 122: Introduction to Computer Networks Switch and Router Architectures. Today s Lecture

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP

Telematics 2. Chapter 3 Quality of Service in the Internet. (Acknowledgement: These slides have been compiled from Kurose & Ross, and other sources)

Quality of Service (QoS)

Networking Quality of service

Protocols for Multimedia on the Internet

Congestion Control & Resource Allocation

Protocols. End-to-end connectivity (host-to-host) Process-to-Process connectivity Reliable communication

Quality of Service In Data Networks

Multiplexing. Common network/protocol functions. Multiplexing: Sharing resource(s) among users of the resource.

Internet QoS : A Big Picture

CAS CS 556. What to expect? Background? Abraham Matta. Advanced Computer Networks. Increase understanding of fundamentals and design tradeoffs

Principles. IP QoS DiffServ. Agenda. Principles. L74 - IP QoS Differentiated Services Model. L74 - IP QoS Differentiated Services Model

Announcements. Quality of Service (QoS) Goals of Today s Lecture. Scheduling. Link Scheduling: Strict Priority. Link Scheduling: FIFO

The Evolution of Quality-of-Service on the Internet. The Evolution of Quality-of-Service. on the Internet

EE 122: Differentiated Services

Quality of Service (QoS)

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

Week 7: Traffic Models and QoS

2D1490 p MPLS, RSVP, etc. Olof Hagsand KTHNOC/NADA

Lesson 14: QoS in IP Networks: IntServ and DiffServ

Transcription:

EECS 122: Introduction to Computer Networks Resource Management and QoS Computer Science Division Department of Electrical Engineering and Computer Sciences University of California, Berkeley Berkeley, CA 94720-1776 Quality of Service (QoS) The Internet s most contentious subject - Inside vs. Outside the Network (see P&D, pp. 519-520) The Internet s most embarrassing failure - Many papers and proposals, but almost nothing accomplished 2 1

Today s Lecture What could be, not what is - Today s Internet does not have, nor soon will have, a reasonable QoS solution Focus on what one could accomplish with simple (and not-so-simple) mechanisms - Understand the basic concepts Current deployed mechanisms not discussed - Ugly hodge-podge of hacks 3 What s the Problem? Internet gives all flows the same best effort service - No promises about when or whether packets will be delivered Not all traffic is created equal - Different owners, different application requirements - Some applications require service assurances How can we give traffic different quality of service? - Thus begins the problem of QoS 4 2

Three Basic Problems Control how a link is shared: - Link sharing (discussed by Ion last lecture) Give some flows assured service - Integrated service (and perhaps differentiated service) Give some traffic preferential service - Differentiated service 5 A Different Taxonomy Giving better service can differ along three dimensions: - Relative versus absolute - Dropping versus delay - Flows versus aggregates Each choice requires different mechanisms - Intra-Router: Scheduling and dropping decisions - Inter-Router: Signaling protocols 6 3

Three Basic Questions How does a router service this packet? - Scheduling (various forms of priority and FQ) - Dropping (fancy versions of RED) How does the router know what to do with this packet? - Bits in packet header or explicit signaling How do we control the level of traffic? - Service level agreements (SLAs) or admission control 7 Back to Three Basic Problems Link sharing (last lecture): not covered today Integrated Services Differentiated Services Nice web site describing DiffServ and IntServ in succinct language: http://www.rhyshaden.com/qos.htm 8 4

Integrated Services Attempt to integrate service for real-time applications into the Internet Known as IntServ Total, massive, and humiliating failure - 1000s of papers - IETF standards - and STILL no deployment... 9 Key Properties All assurances on a per-flow basis Traffic can be turned away Note: - Co-exists with best-effort service - Similar mechanisms proposed for ATM (Asynchronous Transfer Mode) but QoS central in ATM, best-effort an afterthought Best-effort central in Internet, QoS an afterthought 10 5

Example: Video 11 Circuit-Switched Networks Each packet experiences exactly the same delay Packet data is displayed as soon as it arrives Signal at receiving end is faithful representation 12 6

Internet Individual packets experience different delays Can t treat network as a wire Application must adapt to network service 13 Router Effect on Delay Delay variation or Jitter 14 7

Router Effects on Traffic 15 Network Effects on Traffic * +, -. /, 0 12 / 3 0 4 2. 0 5 4 6 17 3 4 4 1+ 3 8 -. /, 0 12 / 3 0 4 2. 0 5 4 9!" # $ % &!% ' % ' %!# " ( ) 16 8

Network Effects on Traffic * +, -. /, 0 12 / 3 0 4 2. 0 5 4 6 17 3 4 4 1+ 3 8 -. /, 0 12 / 3 0 4 2. 0 5 4 9 17 Network Effects on Traffic 18 9

Network Effect on Delay Delay variation or Jitter 19 Choices Play back data upon arrival - Distorted signal Buffer data for a while (playback buffer) - Extra delay, less distortion Tradeoff depends on application (and use) - Noninteractive: absorb delay, eliminate all distortion - Interactive: absorb only a little delay, eliminate some distortion 20 10

Playback Buffer Play back data a fixed time interval after it was sent Playback Delay 21 Playback Point!" # & " ( ' 22 11

Adaptation Can move playback point as delays vary Moving playback point: - Increases distortion - But allows lower delays 23 Application Taxonomy (Oversimplified and Fanciful) Elastic versus real-time - Traditional data apps are elastic - Streaming media are real-time RT intolerant versus RT tolerant - Intolerant applications need all data Tolerant nonadaptive versus tolerant adaptive - Not clear why any tolerant app couldn t adapt Rate-adaptive versus delay-adaptive (or both) 24 12

Key Points Some apps don t need to know maximal delay, just need it to be controlled - Tolerant, delay-adaptive applications will move playback point to reduce delay - Can absorb occasional outliers Some apps need to know maximal delay - Can t tolerate loss or distortion - Need to fix playback point and so need a priori knowledge of delay bound - Bound is typically much worse than actual delays 25 Two Service Classes Controlled Load - Keep delays under control, but no bound Guaranteed Service - Explicit delay bound 26 13

Process Flow requests service from network - Service request specification (RSpec) Controlled load: nothing Guaranteed: service rate (can calculate delay) - Traffic specification (TSpec) (next slide) Routers decide if they can support request - Admission control If so, traffic is classified and scheduled at routers based on per-flow information 27 Problem How do you describe bursty traffic? Network needs some description of traffic But video source is bursty (due to coding) - Can t predict in advance the exact behavior Describe envelope of traffic: rate and burstiness Bits sent between times s and t: A(s,t) σ + ρ(t-s) ρ : average rate σ : burstiness 28 14

TSpec: The Token Bucket ρ : average rate σ : burstiness ρ σ! " # $ % & ' (! ) % $! # ( Bits sent between times s and t: A(s,t) σ + ρ(t-s) * +, -., / 0 1 2 3 29 Required Elements 4 Reservation Protocol - How service request gets from host to network 4 Admission control algorithm - How network decides if it can accept flow 4 Packet scheduling algorithms (covered last lecture) - So routers can deliver service 30 15

Control Plane vs. Data Plane 4 Control plane: - How information gets to routers 4 Data plane: - What routers do with that information to data packets Control Data 31 Control Plane: Resource Reservation Sender Receiver 32 16

Control Plane: Resource Reservation Sender Sender sends Tspec Receiver 33 Control Plane: Resource Reservation Sender Path established Receiver 34 17

Control Plane: Resource Reservation Sender Receiver The receiver signals reservation request 35 Control Plane: Admission Control Sender Per-flow state Receiver 36 18

Control Plane: Admission Control Sender Per-flow state on all routers in path Receiver 37 Data Plane Sender Receiver Per-flow classification on each router 38 19

Data Plane Sender Receiver Per-flow classification on each router 39 Data Plane Sender Per-flow scheduling on each router Receiver 40 20

Resource Reservation Protocol: RSVP 4 Establishes end-to-end reservations over a datagram network 4 Designed for multicast (which will be covered later) 4 Sources: send TSpec 4 Receivers: respond with RSpec Network 4 Network: responds to reservation requests 41 PATH and RESV Messages 4 Sender sends PATH messages - TSPEC: use token bucket - Set up the path state on each router including the address of previous hop (route pinning) - Collect path information (for guaranteed service) 4 Receiver sends RESV message on the reverse path - Specify RSpec and TSpec - Sets up the reservation state at each router 42 21

The Big Picture Network Sender PATH Msg Receiver 43 The Big Picture Network Sender PATH Msg Receiver RESV Msg 44 22

Soft State 4 Per session state has a timer associated with it - Path state, reservation state 4 State deleted when timer expires 4 Sender/Receiver periodically refreshes the state, resends PATH/RESV messages, resets timer 4 Advantages: - No need to clean up dangling state after failure - Can tolerate lost signaling packets - Easy to adapt to route changes 45 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 46 23

Admission Control 4 Parameter-based: worst cast analysis - Guaranteed service - Low utilization 4 Measurement-based: measure current traffic - Controlled load service - Higher utilization 4 Remember that best-effort service co-exists - No need for IntServ traffic to achieve high utilization 47 IntServ Node Architecture Routing Messages Routing RSVP Admission Control Control Plane RSVP messages Forwarding Table Per Flow QoS Table Data Plane Data In Route Lookup Classifier Scheduler Data Out 48 24