Unformatted text preview:

CS 268: Lecture 12 QoS: DiffServ and IntServ More “Why” Than “What”Quality of ServiceThree Relevant FactorsProviding Better ServiceRelative QoSDifferentiated Services (DiffServ)DiffServ ArchitectureTraffic Policing/ShapingImplementing Drop PrioritySender and Receiver VersionsCombining Drop and Delay PriorityWhy Does Giving Priority Help?From Relative to Absolute ServiceProviding AssurancesInter-Domain Premium DiffServFrom DiffServ to IntServMajor Philosophical ChangeReservations or Best-EffortModeling Application PerformanceClasses of ApplicationPlayback ApplicationsClasses of ApplicationsElastic ApplicationsRigid Real-Time ApplicationsAdaptive Real-Time ApplicationsBack to QuestionThought ExperimentMathematical FormulationResultsConclusionSlide 31What Have We Ignored?Reservations vs Best-EffortVariable LoadWhy Shouldn’t This Kill IntServ?The Overprovisioning DebateIntServKey IntServ Design DecisionsIntegrated Services InternetIntServ MechanismsIntServ ServicesIntegrated Services ExampleSlide 43Slide 44Slide 45Integrated Services Example: Data PathSlide 47Slide 48How Things Fit TogetherRSVP Reservation ProtocolThe Big PictureThe Big Picture (2)RSVP Basic OperationsRoute PinningPATH and RESV messagesReservation StyleReservation Styles: FiltersWhat Did We Miss?1CS 268: Lecture 12QoS: DiffServ and IntServMore “Why” Than “What”Scott Shenker and Ion StoicaComputer Science DivisionDepartment of Electrical Engineering and Computer SciencesUniversity of California, BerkeleyBerkeley, CA 94720-17762Quality of ServiceTraditional Internet gives single class of best-effort service-Even though ToS bits were included in the original IP headerTreats all packets the same-All customers-All applicationsShould Internet give better quality service to some packets?-Why?-Why not?3Three Relevant FactorsApplication performanceBandwidth required to provide performanceComplexity/cost of required mechanisms4Providing Better ServiceRouting or ForwardingScheduling or DroppingRelative or Absolute5Relative QoSPriority scheduling-Favored packets get lower delay and lower drop ratePriority dropping-All sent packets get same average delayWhy bother with priority dropping?6Differentiated Services (DiffServ)Goal: offer different levels of service-Organized around domains-Edge and core routersEdge routers-Sort packets into classes (based on variety of factors)-Police/shape traffic-Set bits (DSCP) in packet headerCore routers -Handle packet (PHB) based on DSCP7DiffServ ArchitectureIngressEgressEgressIngressEgressEgressDS-1DS-2Edge routerCore router8Traffic Policing/ShapingToken bucket (r,b) [everyone know this?]Police: if token is available, packet is considered “in”-Otherwise considered “out”Shape: packet is delayed until token is available9Implementing Drop PriorityRED in/out (RIO)Separate dropping curves for in and out traffic-Out curve measures all packets-In curve measures only in packets OUT INAverage queue length 1Droppingprobability10Sender and Receiver VersionsSender-based version: -Sender (or token bucket next to sender) sets in/out bits-Routers service with priorityReceiver-based version: use ECN-Put incoming packets through token bucket-If packet is “in”, cancel any ECN bits-Receiver only told about congestion for “out” packets11Combining Drop and Delay PriorityDelay priority traffic gets high forwarding priorityDrop priority traffic uses RIODelayP?DropP? RIOyesnoyesnohigh forwarding prioritylow forwarding priority12Why Does Giving Priority Help?Making service for one class of traffic better means that service for another class of traffic must get worseWhy does that help?13From Relative to Absolute ServicePriority mechanisms can only deliver absolute assurances if total load is regulatedService Level Agreements (SLAs) specify:-Amount user (organization, etc.) can send-Level of service delivered to that trafficPremium Service (DiffServ) offers low (unspecified) delay and no drops-Acceptance of proposed SLAs managed by “Bandwidth Broker”-Only over long time scales14Providing AssurancesSLAs are typically defined without restriction on destinationCan’t provision network efficiently, but may not matter IngressTraffic profile15Inter-Domain Premium DiffServAchieve end-to-end bandwidth guaranteeBut is this done for all paths?BBBBBBBBBBBB123579senderreceiver8profile6profile4profile16From DiffServ to IntServCan easily provide some traffic better service than others-Making absolute assurances requires controlling loadDiffServ worst-case provisioning very inefficient -Based on aggregate offered load, not for a specific pathWhat about fine-grain assurances about QoS?-Per-flow, not per traffic classRequires admission control for each flow-E.g., reservations17Major Philosophical ChangePer-flow admission control is drastic change to the Internet-But best-effort still available (used for most traffic)We will first discuss whether this is a good idea-Going back to basics about application performance, etc.We will then talk about how one might do this-Cursory overview, because details are in the dustbin of history18Reservations or Best-EffortBasic question: -Should we admit all flows (BE), or -Refuse some to preserve good service for current flows (R)Precedents:-The telephone network uses admission control-The current Internet does notWhich one is right? Huge ideological battle!!How can we decide?-Which provides better application performance?19Modeling Application PerformanceNot a simple function of delay/jitter/lossDepends on user perception-e.g., picture quality, etc.Depends on adaptive application behavior-Adjust sending rate-Adjust coding (to mask errors)-Adjust “playback point” (later)For a given application, can describe performance as a function of available bandwidth20Classes of ApplicationTraditional data applications: “elastic”-Tolerant of delay-Tolerant of lossStreaming media applications: “real-time”-Less tolerant of delay-Less tolerant of loss-Often of the “playback” variety21Playback ApplicationsVideo/audio stream being sent“Played back” at receiverReceiver picks time to play back content-“playback point”Playback point:-Moves: distortion-Late: delay-Misses packets: “drops”22Classes of ApplicationsElastic:-Tolerant of delays and lossesReal-time:-Rigid (can’t tolerate


View Full Document

Berkeley COMPSCI 268 - QoS: DiffServ and IntServ

Documents in this Course
Lecture 8

Lecture 8

33 pages

L-17 P2P

L-17 P2P

50 pages

Multicast

Multicast

54 pages

Load more
Download QoS: DiffServ and IntServ
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view QoS: DiffServ and IntServ and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view QoS: DiffServ and IntServ 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?