CS 268: Integrated Services

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

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

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

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

Computer Network Fundamentals Fall Week 12 QoS Andreas Terzis

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

(RSVP) Speaker: Dr. Whai-En Chen

Improving QOS in IP Networks. Principles for QOS Guarantees

RSVP 1. Resource Control and Reservation

Resource Control and Reservation

Packet Scheduling and QoS

Mohammad Hossein Manshaei 1393

Quality of Service II

Lecture 13. Quality of Service II CM0256

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

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

Resource Reservation Protocol

Internet Services & Protocols. Quality of Service Architecture

Lecture 24: Scheduling and QoS

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

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

Quality of Service (QoS)

2. Integrated Services

Real-Time Protocol (RTP)

Advanced Computer Networks

Congestion Control and Resource Allocation

CSE 123b Communications Software

QUALITY of SERVICE. Introduction

Multicast and Quality of Service. Internet Technologies and Applications

Quality of Service (QoS)

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

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

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

Common network/protocol functions

Master Course Computer Networks IN2097

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

Master Course Computer Networks IN2097

Multi-Protocol Label Switching

EE 122: Differentiated Services

Principles for QOS Guarantees. Improving QOS in IP Networks

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

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

Lecture Outline. Bag of Tricks

Quality of Service in the Internet

Quality of Service in the Internet

EPL606. Quality of Service and Traffic Classification

VoIP Protocols and QoS

QoS Services with Dynamic Packet State

Integrated Services - Overview

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

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

\Classical" RSVP and IP over ATM. Steven Berson. April 10, Abstract

Network Support for Multimedia

Lesson 14: QoS in IP Networks: IntServ and DiffServ

Protocols for Multimedia on the Internet

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

Part1: Lecture 4 QoS

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

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

Internet Quality of Service: an Overview

Multicast routing Draft

Internet Multicast Routing

Internet QoS 1. Integrated Service 2. Differentiated Service 3. Linux Traffic Control

TDDD82 Secure Mobile Systems Lecture 6: Quality of Service

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

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

Multimedia Networking

Protocols for Multimedia on the Internet

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

Lecture 14: Performance Architecture

CS High Speed Networks. Dr.G.A.Sathish Kumar Professor EC

Internet Service Quality: A Survey and Comparison of the IETF Approaches

Quality of Service (QoS)

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

Dr.S.Ravi 1, A. Ramasubba Reddy 2, Dr.V.Jeyalakshmi 3 2 PG Student- M.Tech. VLSI and Embedded System 1, 3 Professor

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

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

Interaction of RSVP with ATM for the support of shortcut QoS VCs: extension to the multicast case

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

QoS for Real Time Applications over Next Generation Data Networks

Telematics 2 & Performance Evaluation

CSE 123A Computer Networks

Towards Service Differentiation on the Internet

Implementing QoS in IP networks

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

CS 268: IP Multicast Routing

Network Working Group

Ahmed Benallegue RMDCN workshop on the migration to IP/VPN 1/54

Quality of Service (QoS)

Network Layer Enhancements

MultiProtocol Label Switching - MPLS ( RFC 3031 )

Telecommunication Services Engineering Lab. Roch H. Glitho

Networking Quality of service

ip rsvp reservation-host

Fairness, Queue Management, and QoS

Quality of Service (QoS)

Internet Engineering Task Force (IETF) December 2014

Tag Switching. Background. Tag-Switching Architecture. Forwarding Component CHAPTER

Multicast service model Host interface Host-router interactions (IGMP) Multicast Routing Distance Vector Link State. Shared tree.

Transcription:

Limitations of IP Architecture in Supporting Resource Management CS 268: Integrated Services Ion Stoica February 23, 2004 IP provides only best effort service IP does not participate in resource management - Cannot provide service guarantees on a per flow basis - Cannot provide service differentiation among traffic aggregates Early efforts - Tenet group at Berkeley (Ferrari and Verma) - ATM IETF efforts - Integrated services initiative - Differentiated services initiative istoica@cs.berkeley.edu 2 Integrated Services Internet Enhance IP s service model - Old model: single best-effort service class - New model: multiple service classes, including best-effort and QoS classes Protocols/algorithms to support new service model - Old model: no resource management at IP level - New model: explicit resource management at IP level Key architecture difference - Old model: stateless - New model: per flow state maintained at routers used for admission control and scheduling set up by signaling protocol Integrated Services Network Flow or session as QoS abstractions Each flow has a fixed or stable path Routers along the path maintain the state of the flow istoica@cs.berkeley.edu 3 istoica@cs.berkeley.edu 4 Integrated Services Example Integrated Services Example Achieve per-flow bandwidth and delay guarantees - Example: guarantee 1MBps and < 100 ms delay to a flow Allocate resources - perform per-flow admission control istoica@cs.berkeley.edu 5 istoica@cs.berkeley.edu 6 1

Integrated Services Example Integrated Services Example Install per-flow state Install per flow state istoica@cs.berkeley.edu 7 istoica@cs.berkeley.edu 8 Integrated Services Example: Data Path Per-flow classification Integrated Services Example: Data Path Per-flow buffer management istoica@cs.berkeley.edu 9 istoica@cs.berkeley.edu 10 Integrated Services Example How Things Fit Together Per-flow scheduling Routing Messages Routing RSVP Admission Control Control Plane RSVP messages Data In Forwarding Table Route Lookup Classifier Per Flow QoS Table Scheduler Data Plane Data Out istoica@cs.berkeley.edu 11 istoica@cs.berkeley.edu 12 2

Service Classes Hard Real Time: Guaranteed Services Multiple service classes Service: contract between network and communication client - End-to-end service - Other service scopes possible Three common services - Best-effort ( elastic applications) - Hard real-time ( real-time applications) - Soft real-time ( tolerant applications) Service contract - Network to client: guarantee a deterministic upper bound on delay for each packet in a session - Client to network: the session does not send more than it specifies Algorithm support - Admission control based on worst-case analysis - Per flow classification/scheduling at routers istoica@cs.berkeley.edu 13 istoica@cs.berkeley.edu 14 Soft Real Time: Controlled Load Service Role of RSVP in the Architecture Service contract: - Network to client: similar performance as an unloaded best-effort network - Client to network: the session does not send more than it specifies Algorithm Support - Admission control based on measurement of aggregates - Scheduling for aggregate possible Signaling protocol for establishing per flow state Carry resource requests from hosts to routers Collect needed information from routers to hosts At each hop - Consult admission control and policy module - Set up admission state or informs the requester of failure istoica@cs.berkeley.edu 15 16 RSVP Design Features IP Multicast IP Multicast centric design initiated reservation Different reservation styles Soft state inside network Decouple routing from reservation Best-effort MxN delivery of IP datagrams Basic abstraction: IP multicast group - Identified by Class D address: 224.0.0.0-239.255.255.255 - needs only to know the group address, but not the membership - joins/leaves group dynamically Routing and group membership managed distributedly - No single node knows the membership - Tough problem - Various solutions: DVMRP, CBT, PIM istoica@cs.berkeley.edu 17 istoica@cs.berkeley.edu 18 3

RSVP Reservation Model The Big Picture 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 s and s can be in session Network PATH Msg istoica@cs.berkeley.edu 19 20 The Big Picture (2) RSVP Basic Operations Network PATH Msg RESV Msg : sends PATH message via the data delivery path - Set up the path state each router including the address of previous hop sends RESV message on the reverse path - Specifies the reservation style, QoS desired - Set up the reservation state at each router Things to notice - initiated reservation - Decouple routing from reservation - Two types of state: path and reservation 21 istoica@cs.berkeley.edu 22 Route Pinning PATH and RESV messages Problem: asymmetric routes - You may reserve resources on R S5 S4 S, but data travels on S R! Solution: use PATH to remember direct path from S to R, i.e., perform route pinning S IP routing PATH RESV S4 S5 istoica@cs.berkeley.edu 23 R PATH also specifies - Source traffic characteristics Use token bucket - Reservation style specify whether a RESV message will be forwarded to this server RESV specifies - Queueing delay and bandwidth requirements - Source traffic characteristics (from PATH) - Filter specification, i.e., what s can use reservation - Based on these routers perform reservation istoica@cs.berkeley.edu 24 4

Token Bucket and Arrival Curve 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 Arrival curve maximum number of bits transmitted within an interval of time of size t r bps bits Arrival curve How Is the Token Bucket Used? Can be enforced by - End-hosts (e.g., cable modems) - Routers (e.g., ingress routers in a Diffserv domain) Can be used to characterize the traffic sent by an end-host b bits b*r/(r-r) slope R slope r <= R bps regulator time istoica@cs.berkeley.edu 25 istoica@cs.berkeley.edu 26 Source Traffic Characterization Arrival curve maximum amount of bits transmitted during an interval of time t Use token bucket to bound the arrival curve Source Traffic Characterization: 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 bits Arrival curve bps 4 3 2 2 time istoica@cs.berkeley.edu 27 t 1 1 0 1 2 3 4 5 time 1 2 3 4 5 istoica@cs.berkeley.edu 28 t QoS Guarantees: Per-hop Reservation End-to-End Reservation End-host: specify - the arrival rate characterized by token-bucket with parameters (b,r,r) - the maximum maximum admissible delay D Router: allocate bandwidth r a and buffer space B a such that - no packet is dropped - no packet experiences a delay larger than D bits b*r/(r-r) slope r B a D slope r a Arrival curve istoica@cs.berkeley.edu 29 When R gets PATH message it knows - Traffic characteristics (tspec): (r,b,r) - Number of hops R sends back this information + worst-case delay in RESV Each router along path provide a per-hop delay guarantee and forward RESV with updated info - In simplest case routers split the delay S (b,r,r,0,0) PATH RESV (b,r,r) (b,r,r,2,d-d 1 ) (b,r,r,1,d-d 1 -d 2 ) num hops (b,r,r,3) istoica@cs.berkeley.edu 30 R (b,r,r,3,d) worst-case delay 5

Reservation Style Motivation: achieve more efficient resource utilization in multicast (M x N) Observation: in a video conferencing when there are M s, only a few can be active simultaneously - Multiple s can share the same reservation Various reservation styles specify different rules for sharing among s istoica@cs.berkeley.edu 31 Reservation Styles and Filter Spec Reservation style - use filter to specify which can use the reservation Three styles - Wildcard filter: does not specify any ; all packets associated to a destination shares same resources Group in which there are a small number of simultaneously active s - Fixed filter: no sharing among s, explicitly identified for the reservation Sources cannot be modified over time - Dynamic filter: resource shared by s that are (explicitly) specified Sources can be modified over time istoica@cs.berkeley.edu 32 Wildcard Filter Example s:, ; s:,, Each sends B reserves B; listen from one server at a time Wildcard Filter Example reserves B istoica@cs.berkeley.edu 33 istoica@cs.berkeley.edu 34 Advantages Wildcard Filter - Minimal state at routers Routers need to maintain only routing state augmented by reserved bandwidth on outgoing links Disadvantages - May result in inefficient resource utilization Wildcard Filter: Inefficient Resource Utilization Example reserves 3B; wants to listen from all s simultaneously Problem: reserve 3B on (:) although 2B sufficient! (3B,*) (3B,*) (3B,*) istoica@cs.berkeley.edu 35 istoica@cs.berkeley.edu 36 6

Fixed Filter Example s:,,, ; s:,, Routers maintain state for each in the routing table NextHop Sources (, ) (), (, ) + Fixed Filter Example wants to receive B only from + istoica@cs.berkeley.edu 37 istoica@cs.berkeley.edu 38 Dynamic Filter Example Soft State wants to receive 2B from any source (2B,*) + Per session state has a timer associated with it - path state, reservation state State lost when timer expires / periodically refreshes the state Claimed advantages - no need to clean up dangling state after failure - can tolerate lost signaling packets signaling message need not be reliably transmitted - easy to adapt to route changes State can be explicitly deleted by a Teardown message istoica@cs.berkeley.edu 39 istoica@cs.berkeley.edu 40 Tear-down Example leaves the group - no longer sends PATH message - State corresponding to removed Tear-down Example leaves the group - no longer sends PATH message - State corresponding to removed (2B,*) (2B,*) + + istoica@cs.berkeley.edu 41 istoica@cs.berkeley.edu 42 7

Soft State Per session state has a timer associated with it - Path state, reservation state State lost when timer expires / periodically refreshes the state, resends PATH/RESV messages, resets timer Claimed advantages - No need to clean up dangling state after failure - Can tolerate lost signaling packets Signaling message need not be reliably transmitted - Easy to adapt to route changes State can be explicitly deleted by a Teardown message RSVP and Routing RSVP designed to work with variety of routing protocols Minimal routing service - RSVP asks routing how to route a PATH message Route pinning - addresses QoS changes due to avoidable route changes while session in progress QoS routing - RSVP route selection based on QoS parameters - granularity of reservation and routing may differ Explicit routing - Use RSVP to set up routes for reserved traffic istoica@cs.berkeley.edu 43 istoica@cs.berkeley.edu 44 Recap of RSVP Why did IntServ fail? PATH message - template and traffic spec - advertisement - mark route for RESV message - follow data path RESV message - reservation request, including flow and filter spec - reservation style and merging rules - follow reverse data path Other messages - PathTear, ResvTear, PathErr, ResvErr Economic factors - Deployment cost vs Benefit Is reservation, the right approach? - Multicast centric view Is per-flow state maintenance an issue? What about QoS in general? istoica@cs.berkeley.edu 45 istoica@cs.berkeley.edu 46 8