15-744: Computer Networking L-22 QOS - IntServ. L -22; 4-9-01© Srinivasan Seshan, 20012 QOS & IntServ QOS IntServ Architecture Assigned reading [She95]

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.
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.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 20 – March 25, 2010.
Real-Time Protocol (RTP) r Provides standard packet format for real-time application r Typically runs over UDP r Specifies header fields below r Payload.
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.
A Case for Relative Differentiated Services and the Proportional Differentiation Model Constantinos Dovrolis Parameswaran Ramanathan University of Wisconsin-Madison.
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.
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.
School of Information Technologies IP Quality of Service NETS3303/3603 Weeks
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.
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.
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]
Quality of Service. Overview Why QoS? When QoS? One model: Integrated services Contrast to Differentiated Services (more modern; more practical; not covered)
Integrated Services Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot December 2010 December 2010.
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.
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.
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.
Advance Computer Networking L-5 TCP & Routers Acknowledgments: Lecture slides are from the graduate level Computer Networks course thought by Srinivasan.
Wolfgang EffelsbergUniversity of Mannheim1 Differentiated Services for the Internet Wolfgang Effelsberg University of Mannheim September 2001.
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.
© Jörg Liebeherr, Quality-of-Service Architectures for the Internet Integrated Services (IntServ)
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
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.
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.
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.
Internet Quality of Service
Advanced Computer Networks
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
QoS Guarantees introduction call admission traffic specification
Congestion Control, Quality of Service, & Internetworking
CIS679: Two Planes and Int-Serv Model
University of Houston Quality of Service Datacom II Lecture 3
Presentation transcript:

15-744: Computer Networking L-22 QOS - IntServ

L -22; © Srinivasan Seshan, QOS & IntServ QOS IntServ Architecture Assigned reading [She95] Fundamental Design Issues for the Future Internet [CSZ92] Supporting Real-Time Applications in an Integrated Services Packet Network: Architecture and Mechanisms

L -22; © Srinivasan Seshan, Overview Why QOS? How do we build QOS?

L -22; © Srinivasan Seshan, Motivation Internet currently provides on single class of “best-effort” service No admission control and no assurances about delivery Existing applications are elastic Tolerate delays and losses Can adapt to congestion Future “real-time” applications may be inelastic Should we modify these applications to be more adaptive or should we modify the Internet to support inelastic behavior

L -22; © Srinivasan Seshan, Inelastic Applications Some applications require minimum level of network performance Some less elastic applications are not able to adapt to changes in BW and delay BW below which video and audio are not intelligible Internet telephones, teleconferencing with high delay ( ms) impair human interaction

L -22; © Srinivasan Seshan, Why a New Service Model? What is the basic objective of network design? Maximize total bandwidth? Minimize latency? True goal is to maximize user satisfaction – the total utility or efficacy given to users If all applications were elastic, best effort would maximize utility What does utility vs. bandwidth look like? Must be non-decreasing function but shape may be arbitrary Only a few shapes occur in practice

L -22; © Srinivasan Seshan, Utility Curve Shapes BW U U U Stay to the right and you are fine for all curves ElasticHard real-time Delay-adaptive

L -22; © Srinivasan Seshan, Why a New Service Model? Given the shape of different utility curves – clearly equal allocation of bandwidth does not maximize total utility In fact, desirable rate for some flow may be 0 Overload  removal of some flow (giving it 0 share) may improve total utility Is not overloaded == over provisioned? NO! a network can provide lousy service and still not be overloaded

L -22; © Srinivasan Seshan, How to Choose Service – Implicit Network could examine packets and implicitly determine service class No changes to end hosts/applications Fixed set of applications supported at any time Network must be able to identify application Can’t support applications in different uses/modes easily Violates layering/modularity Some applications are inherently implicit Aggregated link services  QOS provided to group of individuals or domain

L -22; © Srinivasan Seshan, How to Choose Service – Explicit Applications could explicitly request service level Why would an application request lower service? Pricing Informal social conventions Problem exists in best-effort as well  congestion control Applications must know network service choices Difficult to change over time All parts of network must support this  places greater burden on portability of IP

L -22; © Srinivasan Seshan, Admission Control Admission control  deciding when the addition of new people would result in reduction of utility Basically avoids overload Assume that all flows have same utility curve For what types of utility curves does admission control make sense? Simple example of all flows getting (Bandwidth/Number of Flows)

L -22; © Srinivasan Seshan, 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 Never overloaded  no admission control necessary This is how the Internet works! If U is convex  inelastic applications V(number of flows) is no longer monotonically increasing Need admission control to maximize total utility

L -22; © Srinivasan Seshan, Admission Control Caveats Admission control can only turn away new requests  sometimes it may be have been better to terminate an existing flow U(0) != 0  users tend to be very unhappy with no service – perhaps U should be discontinuous here Alternative  overprovision the network Problem: high variability in usage patterns “Leading-edge” users make it costly to overprovision Having admission control seems to be a better alternative

L -22; © Srinivasan Seshan, Overview Why QOS? How do we build QOS?

L -22; © Srinivasan Seshan, Components of Integrated Services Type of commitment What does the network promise? Service interface How does the application describe what it wants? Packet scheduling How does the network meet promises? Establishing the guarantee How is the promise communicated to/from the network How is admission of new applications controlled?

L -22; © Srinivasan Seshan, Playback Applications Sample signal  packetize  transmit  buffer  playback Fits most multimedia applications Lower total delay is often desirable (e.g. phone call) Network performance concerns Jitter – variation in end-to-end delay Delay = fixed + variable = (propagation + packetization) + queuing Playback point – delay introduced by buffer to hide network jitter Doesn’t matter when packet arrives as long as it is before playback point Network guarantees would make it easier to set playback point Applications can tolerate some loss

L -22; © Srinivasan Seshan, Applications Variations Rigid & adaptive applications Rigid – set fixed playback point (a priori bound) Adaptive – adapt playback point (de facto bound) Tolerant & intolerant applications Tolerance to brief interruptions in service 4 combinations

L -22; © Srinivasan Seshan, Adaptive Applications Gamble that network conditions will be the same now as in the past Are prepared to deal with errors in their estimate Will in general have an earlier playback point than rigid applications A priori bound > de facto bound Experience has shown that they can be built (e.g., vat, various adaptive video apps)

L -22; © Srinivasan Seshan, Applications Variations Only two classes of applications Intolerant and rigid Tolerant and adaptive Other combinations make little sense Intolerant and adaptive Cannot adapt without interruption Tolerant and rigid Missed opportunity to improve delay Should vanish with better adaptive software becoming available

L -22; © Srinivasan Seshan, 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 Applications gamble, why not the network? 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

L -22; © Srinivasan Seshan, Guaranteed Traffic Scheduling 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

L -22; © Srinivasan Seshan, Token Bucket Filter Described by 2 parameters: Token rate r: rate of tokens placed in the bucket Bucket depth b: capacity of the bucket Operation: Tokens are placed in bucket at rate r 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

L -22; © Srinivasan Seshan, Token Bucket Operation Tokens Packet Overflow Tokens Packet Enough tokens  packet goes through, tokens removed Not enough tokens  wait for tokens to accumulate

L -22; © Srinivasan Seshan, 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

L -22; © Srinivasan Seshan, Token Bucket Specs BW Time Flow A Flow B Flow A: r = 1 MBps, B=1 byte Flow B: r = 1 MBps, B=1MB

L -22; © Srinivasan Seshan, 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

L -22; © Srinivasan Seshan, 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 even if the switch is shared with unshaped flows. 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

L -22; © Srinivasan Seshan, Guaranteed Traffic Service interface Specifies rate to network (but not bucket size! Why?) If delay not good, ask for higher rate

L -22; © Srinivasan Seshan, Predicted Service Isolation Guarantees service for well-behaved clients Isolates from misbehaving sources Sharing Mixing of different sources in a way beneficial to WFQ Great isolation but no sharing Burst by one flow may result in it having large delay FIFO Great sharing but no isolation Burst by one flow is causes a small increase in delays for all flows

L -22; © Srinivasan Seshan, 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 queue based on order of average delay not actual delay

L -22; © Srinivasan Seshan, FIFO+ Simulation Simulation shows: Slight increase in delay and jitter for short paths Slight decrease in mean delay Significant decrease in jitter However, more complex queue management Packets are now inserted in sorted order instead of at tail of queue

L -22; © Srinivasan Seshan, Unified Scheduling Assume 3 types of traffic: guaranteed, predictive, best-effort Scheduling: use WFQ in routers Each guaranteed flow gets its own queue All predicted service flows and best effort aggregates in single separate queue Predictive traffic classes Multiple FIFO+ queues Worst case delay for classes separated by order of magnitude When high priority needs extra bandwidth – steals it from lower class Best effort traffic acts as lowest priority class

L -22; © Srinivasan Seshan, Predicted Traffic Flowspec Tspec: describes the flow’s traffic characteristics Rspec: describes the service requested from the network Service interface Specifies (r, b) token bucket parameters for Tspec Specifies delay D and loss rate L for Rspec Network assigns priority class Policing at edges to drop or tag packets Needed to provide isolation – why is this not done for guaranteed traffic?

L -22; © Srinivasan Seshan, Admission Control Don’t give all bandwidth to real-time traffic 90% real-time, 10% best effort Good to have some best effort for predicted traffic class to steal from Very much dependent on how large fluctuations in network traffic and delay are Should measure this dynamically instead of having built-in assumptions

L -22; © Srinivasan Seshan, IETF Internet Service Classes Guaranteed service Firm bounds on e2e delays and bandwidth Controlled load “A QoS closely approximating the QoS that same flow would receive from an unloaded network element, but uses capacity (admission) control to assure that this service is received even when the network element is overloaded” Best effort

L -22; © Srinivasan Seshan, Next Lecture: RSVP & DiffServ RSVP DiffServ architecture Assigned reading [CF98] Explicit Allocation of Best-Effort Packet Delivery Service [Z+93] RSVP: A New Resource Reservation Protocol

L -22; © Srinivasan Seshan, Parekh Bound on Delay Across Net D i = (bucket size/weighted rate allocated) + [(nhops - 1) * MaxPacketLen / weighted rate allocation] +  m=1 to hop i (max packet length / outbound bw at hop) 1st term: delay when running at full speed 2nd term: packetization effects 3rd term: added delay due to packet approx of FQ (goes away as data rate increases)