Quality of Service. Overview Why QoS? When QoS? One model: Integrated services Contrast to Differentiated Services (more modern; more practical; not covered)

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.
1 CONGESTION CONTROL. 2 Congestion Control When one part of the subnet (e.g. one or more routers in an area) becomes overloaded, congestion results. Because.
TELE202 Lecture 8 Congestion control 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »X.25 »Source: chapter 10 ¥This Lecture »Congestion control »Source:
Integrated and Differentiated Services Christos Papadopoulos CS551 – Fall 2002 (
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 – QoS.
Traffic Shaping Why traffic shaping? Isochronous shaping
Xiaowei Yang CS 356: Computer Network Architectures Lecture 19: Integrated Services and Differentiated Services Xiaowei Yang
15-744: Computer Networking L-18 QOS - IntServ. QOS & IntServ QOS IntServ Architecture Assigned reading [She95] Fundamental Design Issues for the Future.
QoS: IntServ and DiffServ Supplemental Slides Aditya Akella 02/26/2007.
Courtesy: Nick McKeown, Stanford 1 Intro to Quality of Service Tahir Azim.
Xiaowei Yang CS 356: Computer Network Architectures Lecture 18: Quality of Service (QoS) Xiaowei Yang
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.
Supporting Real-time Applications in An Integrated Service Packet Network CSZ Sigcomm 92.
15-441: Computer Networking Lecture 18: QoS Thanks to David Anderson and Srini Seshan.
T.Sharon-A.Frank 1 Multimedia on the Internet. 2 T.Sharon-A.Frank Is the Internet Real-Time (MM)?
CSE 401N Multimedia Networking-2 Lecture-19. Improving QOS in IP Networks Thus far: “making the best of best effort” Future: next generation Internet.
15-744: Computer Networking L-18 QOS - IntServ. QOS & IntServ QOS IntServ Architecture Assigned reading [She95] Fundamental Design Issues for the Future.
Fundamental Design Issues for the Internet Shenker95a Slides from Christos Papadopoulos at USC.
1 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
15-744: Computer Networking L-22 QOS - IntServ. L -22; © Srinivasan Seshan, QOS & IntServ QOS IntServ Architecture Assigned reading [She95]
Computer Networking Lecture 20 – Queue Management and QoS.
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.
Spring 2002CS 4611 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
A Simulation Approach for Internet QoS Market Analysis Bruno Pereira Miguel Martins.
CS144, Stanford University Error in Q3-7. CS144, Stanford University Using longest prefix matching, the IP address will match which entry? a /8.
Computer Networking Queue Management and Quality of Service (QOS)
QoS Guarantees  introduction  call admission  traffic specification  link-level scheduling  call setup protocol  required reading: text, ,
15-744: Computer Networking L-7 QoS. QoS IntServ DiffServ Assigned reading [She95] Fundamental Design Issues for the Future Internet Optional [CSZ92]
CIS679: Scheduling, Resource Configuration and Admission Control r Review of Last lecture r Scheduling r Resource configuration r Admission control.
Integrated Services (RFC 1633) r Architecture for providing QoS guarantees to individual application sessions r Call setup: a session requiring QoS guarantees.
CSE679: QoS Infrastructure to Support Multimedia Communications r Principles r Policing r Scheduling r RSVP r Integrated and Differentiated Services.
CSE QoS in IP. CSE Improving QOS in IP Networks Thus far: “making the best of best effort”
Computer Networking Intserv, Diffserv, RSVP.
Quality of Service (QoS)
QOS مظفر بگ محمدی دانشگاه ایلام. 2 Why a New Service Model? Best effort clearly insufficient –Some applications need more assurances from the network.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
Distributed Multimedia March 19, Distributed Multimedia What is Distributed Multimedia?  Large quantities of distributed data  Typically streamed.
K. Salah 1 Beyond Best Effort Technologies Our primarily objective here is to understand more on QoS mechanisms so that you can make informed decision.
1 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services MPLS.
Quality of Service Karrie Karahalios Spring 2007.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 20 – March 25, 2010.
Beyond Best-Effort Service Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot November 2010 November.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 3: Introduction to IP QoS.
Network Support for QoS – DiffServ and IntServ Hongli Luo CEIT, IPFW.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
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.
Ch 6. Multimedia Networking Myungchul Kim
Univ. of TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
Providing QoS in IP Networks
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.
Instructor Materials Chapter 6: Quality of Service
QoS & Queuing Theory CS352.
CS 268: Computer Networking
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Quality of Service Connecting Networks.
Taxonomy of network applications
Advanced Computer Networks
Lecture 22 – Queue Management and Quality of Service
EE 122: Quality of Service and Resource Allocation
Computer Science Division
CIS679: Two Planes and Int-Serv Model
University of Houston Quality of Service Datacom II Lecture 3
Presentation transcript:

Quality of Service

Overview Why QoS? When QoS? One model: Integrated services Contrast to Differentiated Services (more modern; more practical; not covered)

What is QoS? Providing guarantees (or rough bounds) on various network properties: –Available bandwidth for flows –Delay bounds –Low jitter (variation in delay) –Packet loss

Service provider QoS goals Traffic classes for customers for differential pricing (“Gold”, “Silver”, …) –Gets particular Service Level Agreement (SLC) about b/w, delay, etc. –Costs more. SLAs that specify rate guarantees, max rates, priorities, etc. Control who gets to use the network (admission control) (maybe, maybe not)

Why a New Service Model? What is the basic objective of network design? –Maximize total bandwidth? Minimize latency? –Shenker argues: Maximize user satisfaction – the total utility given to users What does utility vs. bandwidth look like? –Must be non-decreasing function –Shape depends on application

“Today”: Elastic apps Internet currently (mostly) provides one single class of “best-effort” service –No assurances about delivery Most existing applications are elastic –Tolerate delays and losses –Can adapt to congestion Some “real-time” applications are inelastic

Inelastic Applications Continuous media applications –Lower and upper limit on acceptable performance. –BW below which video and audio are not intelligible –Internet telephones, teleconferencing with high delay ( ms) impair human interaction Hard real-time applications –Require hard limits on performance –E.g. control applications Claim: These apps are not as elastic or adaptive. Don’t typically react to congestion. This is a bit questionable, but telephony has some of these attributes. Note about jitter: More jitter == more buffering == delay + memory.

Utility curve – Elastic traffic Bandwidth U Elastic Does equal allocation of bandwidth maximize total utility?

Admission Control If U(bandwidth) is concave  elastic applications –Incremental utility is decreasing with increasing bandwidth –Is always advantageous to have more flows with lower bandwidth No need of admission control; This is why the Internet works! BW U Elastic

Utility Curves – Inelastic traffic BW U Hard real-time BW U Delay-adaptive Does equal allocation of bandwidth maximize total utility?

Admission Control If U is convex  inelastic applications –U(number of flows) is no longer monotonically increasing –Need admission control to maximize total utility Admission control  deciding when the addition of new people would result in reduction of utility –Basically avoids overload BW U Delay-adaptive

So? Right answer depends on a lot of factors: –Cost of complexity vs. cost of bandwidth –Can applications become adaptive? Well worth thinking about! –Even if the answer is “best effort is mostly okay” Important features: –Maximizing V doesn’t necessarily maximize Ui In fact, it almost can’t! It takes away from elastic Us to add to inelastic Us –Keep in mind: Only so much you can do if underprovisioned Much depends on the cost of adding b/w vs. the user benefit –Should you add capacity to support traffic? (VoIP? BitTorrent?) –Internet economics are not directly passed on to customer Makes some economic models of reservations hard

Components of Integrated Services 1.Type of commitment What does the network promise? 2.Packet scheduling How does the network meet promises? 3.Service interface How does the application describe what it wants? 4.Establishing the guarantee How is the promise communicated to/from the network How is admission of new applications controlled?

1. Type of commitment What kind of promises/services should network offer? Depends on the characteristics of the applications that will use the network ….

Playback Applications Sample signal  packetize  transmit  buffer  playback –Fits most multimedia applications Performance concern: –Jitter – variation in end-to-end delay Delay = fixed + variable = (propagation + packetization) + queuing Solution: –Playback point – delay introduced by buffer to hide network jitter

Characteristics of Playback Applications –In general lower delay is preferable. –Doesn’t matter when packet arrives as long as it is before playback point –Network guarantees (e.g. bound on jitter) would make it easier to set playback point –Applications can tolerate some loss

Application Variation Rigid & adaptive applications –Rigid – set fixed playback point –Adaptive – adapt playback point Gamble that network conditions will be the same as in the past Are prepared to deal with errors in their estimate Will have an earlier playback point than rigid applications Tolerant & intolerant applications –Tolerance to brief interruptions in service 4 combinations

Applications Variations Really only two classes of applications 1) Intolerant and rigid 2)Tolerant and adaptive Other combinations make little sense 3) Intolerant and adaptive - Cannot adapt without interruption 4)Tolerant and rigid - Missed opportunity to improve delay So what service classes should the network offer?

Type of Commitments Guaranteed service –For intolerant and rigid applications –Fixed guarantee, network meets commitment as long as clients send at match traffic agreement Predicted service –For tolerant and adaptive applications –Two components If conditions do not change, commit to current service If conditions change, take steps to deliver consistent performance (help apps minimize playback delay) Implicit assumption – network does not change much over time Datagram/best effort service

Components of Integrated Services 1.Type of commitment What does the network promise? 2.Packet scheduling How does the network meet promises? 3.Service interface How does the application describe what it wants? 4.Establishing the guarantee How is the promise communicated to/from the network How is admission of new applications controlled?

Scheduling for Guaranteed Traffic –Use token bucket filter to characterize traffic Described by rate r and bucket depth b –Use WFQ at the routers –Parekh’s bound for worst case queuing delay = b/r

Token Bucket Filter Operation: –If bucket fills, tokens are discarded –Sending a packet of size P uses P tokens –If bucket has P tokens, packet sent at max rate, else must wait for tokens to accumulate Tokens enter bucket at rate r Bucket depth b: capacity of bucket

Token Bucket Operation Tokens Packet Overflow Tokens Packet Enough tokens  packet goes through, tokens removed Not enough tokens  wait for tokens to accumulate

Token Bucket Characteristics On the long run, rate is limited to r On the short run, a burst of size b can be sent Amount of traffic entering at interval T is bounded by: –Traffic = b + r*T Information useful to admission algorithm

Token Bucket Specs BW Time Flow A Flow B Flow A: r = 1 MBps, B=1 byte Flow B: r = 1 MBps, B=1MB

Possible Token Bucket Uses Shaping, policing, marking –Delay pkts from entering net (shaping) –Drop pkts that arrive without tokens (policing) –Let all pkts pass through, mark ones without tokens Network drops pkts without tokens in time of congestion

Guarantee Proven by Parekh Given: –Flow i shaped with token bucket and leaky bucket rate control (depth b and rate r) –Network nodes do WFQ Cumulative queuing delay D i suffered by flow i has upper bound –D i < b/r, (where r may be much larger than average rate) –Assumes that  r < link speed at any router –All sources limiting themselves to r will result in no network queuing

Predicted Service Goals: Isolation –Isolates well-behaved from misbehaving sources Sharing –Mixing of different sources in a way beneficial to all Mechanisms: WFQ –Great isolation but no sharing FIFO –Great sharing but no isolation Principle: Mixing with FIFO shares jitter better than WFQ Reality: Complexity…

Predicted Service FIFO jitter increases with the number of hops –Use opportunity for sharing across hops FIFO+ –At each hop: measure average delay for class at that router –For each packet: compute difference of average delay and delay of that packet in queue –Add/subtract difference in packet header –Packet inserted into queues expected arrival time instead of actual More complex queue management! Slightly decreases mean delay and significantly decreases jitter

Key Principles of QoS Explicit vs. Implicit signaling –Explicit has proven very difficult, particularly w/unmetered pricing Economic incentives are critical! ISPs must be able to profit from service differentiation, etc. Part of the reason IntServ didn’t take off, but DiffServ has found some use. Isolation –Fair queueing + token buckets => e2e delays Jitter sharing –Benefits of stat mux. Helps reduce max jitter of one flow by slightly increasing jitter of all flows Admission control –Utility functions QoS vs. provisioning