© Jörg Liebeherr, 1998-2002 1 Quality-of-Service Architectures for the Internet.

Slides:



Advertisements
Similar presentations
Quality of Service CS 457 Presentation Xue Gu Nov 15, 2001.
Advertisements

Spring 2003CS 4611 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
Spring 2000CS 4611 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 – QoS.
Xiaowei Yang CS 356: Computer Network Architectures Lecture 19: Integrated Services and Differentiated Services Xiaowei Yang
QoS: IntServ and DiffServ Supplemental Slides Aditya Akella 02/26/2007.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 20 – March 25, 2010.
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
Copyright: RSVP The ReSerVation Protocol by Sujay koduri.
15-441: Computer Networking Lecture 18: QoS Thanks to David Anderson and Srini Seshan.
ACN: IntServ and DiffServ1 Integrated Service (IntServ) versus Differentiated Service (Diffserv) Information taken from Kurose and Ross textbook “ Computer.
QoS Protocols & Architectures by Harizakis Costas.
CS Summer 2003 Lecture 8. CS Summer 2003 Populating LFIB with LDP Assigned/Learned Labels Changes in the LFIB may be triggered routing or.
CS 268: Differentiated Services Ion Stoica February 25, 2003.
CSE 401N Multimedia Networking-2 Lecture-19. Improving QOS in IP Networks Thus far: “making the best of best effort” Future: next generation Internet.
1 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
15-744: Computer Networking
Multicast Communication
School of Information Technologies IP Quality of Service NETS3303/3603 Weeks
Internet QoS Syed Faisal Hasan, PhD (Research Scholar Information Trust Institute) Visiting Lecturer ECE CS/ECE 438: Communication Networks.
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 3. QoS.
CS 268: Lecture 10 (Integrated Services) Ion Stoica March 4, 2002.
CS 268: Lecture 11 (Differentiated Services) Ion Stoica March 6, 2001.
Spring 2002CS 4611 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
Internet Quality of Service. Quality of Service (QoS) The best-effort model, in which the network tries to deliver data from source to destination but.
24-1 Chapter 24. Congestion Control and Quality of Service part Quality of Service 23.6 Techniques to Improve QoS 23.7 Integrated Services 23.8.
QoS Guarantees  introduction  call admission  traffic specification  link-level scheduling  call setup protocol  required reading: text, ,
Integrated Services (RFC 1633) r Architecture for providing QoS guarantees to individual application sessions r Call setup: a session requiring QoS guarantees.
IntServ / DiffServ Integrated Services (IntServ)
CSE679: QoS Infrastructure to Support Multimedia Communications r Principles r Policing r Scheduling r RSVP r Integrated and Differentiated Services.
A Two-bit Differentiated Services Architecture K. Nichols, V. Jacobson, L. Zhang presented by Wendy Edwards.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 23 - Multimedia Network Protocols (Layer 3) Klara Nahrstedt Spring 2011.
QoS Architectures for Connectionless Networks
CSE QoS in IP. CSE Improving QOS in IP Networks Thus far: “making the best of best effort”
IP QoS for 3G. A Possible Solution The main focus of this network QoS mechanism is to provide one, real time, service in addition to the normal best effort.
Quality of Service (QoS)
QOS مظفر بگ محمدی دانشگاه ایلام. 2 Why a New Service Model? Best effort clearly insufficient –Some applications need more assurances from the network.
CSC 336 Data Communications and Networking Lecture 8d: Congestion Control : RSVP Dr. Cheer-Sun Yang Spring 2001.
Class-based QoS  Internet QoS model requires per session state at each router  1000s s of flows  per session RSVP is complex => reluctance.
1 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services MPLS.
CIS679: DiffServ Model r Review of Last Lecture r 2-bit DiffServ architecture.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 20 – March 25, 2010.
Differentiated Services for the Internet Selma Yilmaz.
© Jörg Liebeherr, Quality-of-Service Architectures for the Internet Integrated Services (IntServ)
Network Support for QoS – DiffServ and IntServ Hongli Luo CEIT, IPFW.
Bjorn Landfeldt, The University of Sydney 1 NETS3303 Networked Systems.
Providing QoS in IP Networks Future: next generation Internet with QoS guarantees m Differentiated Services: differential guarantees m Integrated Services:
CS640: Introduction to Computer Networks Aditya Akella Lecture 21 – QoS.
EE 122: Lecture 15 (Quality of Service) Ion Stoica October 25, 2001.
Advance Computer Networking L-7 QoS. QoS IntServ DiffServ Assigned reading [ [She95] Fundamental Design Issues for the Future Internet [CSZ92] Supporting.
1 Lecture, November 27, 2002 TCP Other Internet Protocols; Internet Traffic Scalability of Virtual Circuit Networks QoS.
Ch 6. Multimedia Networking Myungchul Kim
An End-to-End Service Architecture r Provide assured service, premium service, and best effort service (RFC 2638) Assured service: provide reliable service.
Differentiated Services Two Approaches for Providing QoS on the Internet u “Freeway model” -- integrated services Internet (intserv) – Build a dedicated.
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time, Interactive Multimedia: Internet.
EE 122: Integrated Services Ion Stoica November 13, 2002.
Univ. of TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
An End-to-End Service Architecture r Provide assured service, premium service, and best effort service (RFC 2638) Assured service: provide reliable service.
Integrated Services & RSVP Types of pplications Basic approach in IntServ Key components Service models.
Quality of Service Frameworks Hamed Khanmirza Principles of Network University of Tehran.
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
Chapter 30 Quality of Service Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
10. Mai 20061INF-3190: Multimedia Protocols Quality-of-Service Foreleser: Carsten Griwodz
Taxonomy of network applications
Advanced Computer Networks
EE 122: Lecture 18 (Differentiated Services)
EE 122: Differentiated Services
CIS679: Two Planes and Int-Serv Model
Quality-of-Service ECE1545.
University of Houston Quality of Service Datacom II Lecture 3
Presentation transcript:

© Jörg Liebeherr, Quality-of-Service Architectures for the Internet

© Jörg Liebeherr, Quality of Service What is Quality-of-Service? QoS refers to traffic control mechanisms that seek to either differentiate performance based on application or network- operator requirements, or provide predictable or guaranteed performance to applications, sessions, or traffic aggregates. Why is this an issue? The default service in many packet networks is to give all applications the same service, and not consider any service requirements to the network This is called a best-effort service.

© Jörg Liebeherr, Quality of Service Who needs Quality-of-Service? –Video and audio conferencing  bounded delay and loss rate –Video and audio streaming  bounded packet loss rate –Time-critical applications (real-time control)  bounded delays –“valuable applications”  better service than less valuable applications How are Quality-of-Service requirements specified? QoS requirements can be specified as –Delay –Delay Variation (Jitter) –Throughput –Error Rate

© Jörg Liebeherr, Components of a QoS Network 1.At routers: Packet Classification, Packet Scheduling 2.At network entrance: Traffic conditioning 3.At routers or somewhere in the network: Admission Control 4.Between hosts and routers: Signaling Sender ReceiverRouters Admission control Traffic conditioning

© Jörg Liebeherr, Classification and Scheduling Routers need to be able to 1.classify arriving packets according to QoS requirements  Packet Classification 2.Transmit packets in order to meet QoS  Packet Scheduling

© Jörg Liebeherr, Traffic Conditioning Traffic conditioning mechanisms at the network boundary need to enforce that traffic from a flow does not exceed specification  Policing Drop traffic that violates specification  Shaping Buffer traffic that violates specification  Marking Mark packets with a lower priority or as best effort, if the traffic specification is violated

© Jörg Liebeherr, Traffic Conditioning The most popular traffic conditioning algorithm is the leaky bucket Token pool (Bucket) has depth b r token/sec are added (no tokens are added if there are b tokens) Network A shaper buffers packets until a token becomes available A policer drops a packet if no token is available Each packet removes a token from the pool. If pool is empty, packet cannot enter

© Jörg Liebeherr, Admission Control Admission Control is a function that decides if the network has enough resources –Admit new flow if enough resources are available –Reject the flow otherwise Sender ReceiverRouters Traffic conditioning I need100 ms delay for 1 Mbps traffic Admit Reserve capacity Admission control

© Jörg Liebeherr, Example: End-to-end delay must be less than a delay bound D Calculate smallest possible delay bound at each node: d* 1, d* 2, d* 3 and reserve resources At receiver: –If D < d* 1 + d* 2 + d* 3, reject flow, send reject message to sender and release resources –If D > d* 1 + d* 2 + d* 3, accept flow, commit resource reservation and notify sender Distributed Admission Control 12 3 D < d 1 +d 2 +d 3  Reject S R D D,d 1 D,d 1,d 2 D,d 1,d 2,d 3 Reject D > d 1 +d 2 +d 3  Accept Accept

© Jörg Liebeherr, Signaling Protocol is used to reserve and release resources and to do admission control Signaling 12 3 S R Reserve 1 Mbps

© Jörg Liebeherr, Granularity of QoS Per-flow guarantees –Require per-flow reservations in the network –Require per-flow classification at routers

© Jörg Liebeherr, Granularity of QoS Per-class guarantees –Bundle traffic flows with similar service requirements into “classes” –No per-flow reservations –Per-class guarantees do not immediately translate into per-flow guarantees

© Jörg Liebeherr, QoS Service Architectures for the Internet Two QoS architectures have been defined for Internet. –Integrated Services (IntServ) Proposed in 1994 Per-flow Quality of Service Resource reservation/admission control Can support delay guarantees –Differentiated Services (DiffServ) Proposed in 1998 Class-based QoS Resource reservation not always needed

© Jörg Liebeherr, Integrated Services IntServ specifies two types of services: Guaranteed Service –Guaranteed bandwidth –End-to-end delay bounds –No loss due to buffer overflows Controlled Load Service –Provides a service that is equivalent to a best effort service in a lightly loaded network Low loss Low delay No absolute guarantees

© Jörg Liebeherr, Integrated Services 1.At network entrance: Policing and Shaping 2.Somewhere in the network: Admission Control 3.At switches: Classification, Scheduling 4.Between hosts and routers: Signaling FlowSpec (TSpec,RSpec) Distributed Weighted Fair Queuing or other rate-based algorithm RSVP in IntServ

© Jörg Liebeherr, Resource ReSerVation Protocol (RSVP) RSVP is a signaling protocol that enables senders, receivers, and routers of unicast or multicast sessions to communicate with each other for setting up state to support a service –Receiver-driven Resource reservation is initiated by receivers –Unicast and multicast sessions –Soft-state: state information of RSVP must be periodically refreshed Separate mechanisms required for authorization, authentication, and charging

© Jörg Liebeherr, RSVP Functional Diagram ApplicationRSVPD Admissions Control Packet Classifier Packet Scheduler Policy Control DATADATA DATA RSVPD Policy Control Admissions Control Packet Classifier DATA Routing Process HostRouter Source: Gordon Chaffee, UC Berkeley Packet Scheduler

© Jörg Liebeherr, Resource Reservation Senders advertise using PATH message Receivers reserve using RESV message –Flowspec + filterspec + policy data –Travels upstream in reverse direction of Path message Merging of reservations Sender/receiver notified of changes Source: Gordon Chaffee, UC Berkeley

© Jörg Liebeherr, RSVP UDP Reservation (1) R4 R5 R3R2 R1 Host A Host B PATH 2 2. The Host A RSVP daemon generates a PATH message that is sent to the next hop RSVP router, R1, in the direction of the session address, PATH 3 3. The PATH message follows the next hop path through R5 and R4 until it gets to Host B. Each router on the path creates soft session state with the reservation parameters. 1. An application on Host A creates a session, /4078, by communicating with the RSVP daemon on Host A. 1 Source: Gordon Chaffee, UC Berkeley

© Jörg Liebeherr, RSVP UDP Reservation (2) R4 R5 R3R2 R1 Host A Host B PATH RESV 5 5. The Host B RSVP daemon generates a RESV message that is sent to the next hop RSVP router, R4, in the direction of the source address, RESV 6 6. The RESV message continues to follow the next hop path through R5 and R1 until it gets to Host A. Each router on the path makes a resource reservation. 4. An application on Host B communicates with the local RSVP daemon and asks for a reservation in session /4078. The daemon checks for and finds existing session state. 4 Source: Gordon Chaffee, UC Berkeley

© Jörg Liebeherr, RSVP Flowspecs Peak Data Rate [p] Minimum Policed Unit [m] Maximum Policed Unit [M] Token Bucket Rate [r]... Token Bucket Size [b] Sender TSpec, Controlled Load Flowspec Peak Data Rate [p] Minimum Policed Unit [m] Maximum Policed Unit [M] Token Bucket Rate [r]... Token Bucket Size [b] Guaranteed Flowspec Rate [R] Slack Term [S] Source: Gordon Chaffee, UC Berkeley

© Jörg Liebeherr, Reservation Merging Receiver #1 Receiver #2 Receiver #3 Reservations merge as they travel up tree. R6 R3 R1 R4 R7 (1) 50Kbs (2) 50Kbs (3) 50Kbs (4) 100 Kbs (5) 100 Kbs (6) 100 Kbs (7) 100 Kbs (8) 60Kbs (9) 60Kbs Source: Gordon Chaffee, UC Berkeley

© Jörg Liebeherr, Summary of IntServ –Advantages: Strong guarantees (bounded delays) –Disadvantages: Requires that all routers implement IntServ Scalability concerns since routers must maintain state information Charging and authentication of reservations must be solved Interdomain issues are difficult to resolve

© Jörg Liebeherr, DiffServ Motivation: –The Integrated Services (IntServ) model is not scalable since it requires per-flow state in each nodeGoal: Push complexity to the network edge and keep network core simple Avoid per-flow state within the network as much as possible

© Jörg Liebeherr, Differentiated Service Mechanisms Definitions :Definitions : –Mechanisms that allow providers to allocate different levels of service to different users of the Internet –broad view: –broad view: Any mechanism that treats different users differently, including signaling (RSVP), per-session scheduling, etc. –Internet context: –Internet context: Simple and lightweight mechanisms that do not depend entirely on per-flow reservation

© Jörg Liebeherr, Components of Differentiated Services Service profile (1) Service profile between user and network defines commitment of the network to the user policed at the network entrance (2)Aggregate traffic from each user is policed at the network entrance according to profile Node behavior: (3) Node behavior: network nodes implement a variety of forwarding, scheduling, buffer management techniques Bits in packet header (4)Bits in packet header trigger action at nodes

© Jörg Liebeherr, Common to Most Proposed Services Traffic marking (in-profile, out-profile) and enforcement is done only at network boundaries Inside the network: Only differentiate a few service classes, based on marking of the packets

© Jörg Liebeherr, Policing, shaping, or marking based on profile Policing, shaping, or marking based on profile Operational Model Host Meters ISP 2 Host ISP 1 Source negotiates a traffic profile Source negotiates a traffic profile network boundary Nodes perform scheduling and buffer management based on marking of packets (“per-hop behavior”) Nodes perform scheduling and buffer management based on marking of packets (“per-hop behavior”) network boundary Policing, shaping, or marking based on profile

© Jörg Liebeherr, Aspects of a Differentiated Service Semantics of the service: (1) Semantics of the service: Which service is given to in-profile traffic of a user? Spatial Granularity: (2)Spatial Granularity: Is the profile applied to a single destination, a subset of destinations, or all destinations? Assurance Level: (3) Assurance Level: What is the level of certainty that an in-profile packet will be delivered?

© Jörg Liebeherr, DiffServ Services Two services defined: Assured Forwarding (AF)Assured Forwarding (AF) –customers sign service agreements with ISPs –Edge routers mark packets as being “in” or “out” of profile –core routers run RIO: RED with in/out –Distinguishes different classes: Expedited Forwarding(EF)Expedited Forwarding(EF) –Hard guarantee on the delay and delay variations

© Jörg Liebeherr, Assured Forwarding - 1 User defines traffic profile (token bucket) Profile meter at network entrance tag packets as in-profile or out-profile Service guarantee:In-profile packets are unlikely to be droppedService guarantee: In-profile packets are unlikely to be dropped Out-profile packets have higher drop preference at routers Profile meter “in” “out”

© Jörg Liebeherr, Assured Forwarding - 2 Mechanisms Mechanisms Needed : –Dropping Mechanisms at routers –Mechanism for tagging packets (“Meters”) –Method to classify packets Host Meters ISP 2 Host ISP 1 drop

© Jörg Liebeherr, Assured Forwarding - 3 RIO Routers have different dropping mechanism: RIO = RED with `in’ and `out’ Routers do not perform separate queueing RED (Random Early Detection): When the avgerage queue size exceeds a threshold drop each packet with a certain probability (P drop ) P(drop) 1 Min_inMax_in P max_in P(drop) 1 Min_out Max_out P max_out Avg. queue

© Jörg Liebeherr, Expedited Forwarding - 1 EF traffic must be served at a configured rate of R or faster, independent of the load Service is equivalent to a “virtual leased line” Routers have two priority levels (premium and best effort) Admission Control via Bandwidth Brokers Spaced to peak rate R P-bit marking

© Jörg Liebeherr, Expedited Forwarding Admission Control “Bandwidth Brokers” perform admission control at ingress router Only the ingress router differentiates flows Host Packet Marking ISP 1 Packet Marking ISP 2 dest Host Bandwidth broker Bandwidth broker

© Jörg Liebeherr, Summary of DiffServ –Advantages: No per-flow processing in network core Per-flow processing only at the network edge Simpler to implement than IntServ No signaling protocol –Disadvantages: AF has weaker service guarantees EF service raises same issues with charging and authentication as IntServ services

© Jörg Liebeherr, Leaf Router: Input (Leaf router = the router closest to the source)

© Jörg Liebeherr, Border Router: Input (Border router = ingress router of a network)

© Jörg Liebeherr, Router: Output