We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Modified over 5 years ago
15-744: Computer NetworkingL-19 RSVP & DiffServ
RSVP & DiffServ RSVP DiffServ architecture Assigned reading[CF98] Explicit Allocation of Best-Effort Packet Delivery Service © Srinivasan Seshan, 2002 L -19;
Overview RSVP Differentiated services © Srinivasan Seshan, 2002L -19;
Components of Integrated ServicesType 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? © Srinivasan Seshan, 2002 L -19;
Role of RSVP Rides on top of unicast/multicast routing protocolsCarries resource requests all the way through the network At each hop consults admission control and sets up reservation. Informs requester if failure © Srinivasan Seshan, 2002 L -19;
Reservation Protocol: RSVPUpper layer protocols and applications IP service interface IP ICMP IGMP RSVP Link layer service interface Link layer modules © Srinivasan Seshan, 2002 L -19;
RSVP Goals Used on connectionless networks Support for multicastShould not replicate routing functionality Should co-exist with route changes Support for multicast Different receivers have different capabilities and want different QOS Changes in group membership should not be expensive Reservations should be aggregate – I.e. each receiver in group should not have to reserve Should be able to switch allocated resource to different senders Modular design – should be generic “signalling” protocol Result Receiver-oriented Soft-state © Srinivasan Seshan, 2002 L -19;
Basic Message Types PATH message RESV message CONFIRMATION messageGenerated only upon request Unicast to receiver when RESV reaches node with established state TEARDOWN message ERROR message (if PATH or RESV fails) © Srinivasan Seshan, 2002 L -19;
RSVP Service Model Make reservations for simplex data streamsReceiver decides whether to make reservation Control msgs in IP datagrams (proto #46) PATH/RESV sent periodically to refresh soft state One pass: Failed requests return error messages - receiver must try again No e2e ack for success © Srinivasan Seshan, 2002 L -19;
PATH Messages PATH messages carry sender’s TspecToken bucket parameters Filtered or not-filtered If F-Flag is set, store sender and flowspec Otherwise, just add new link to tree Routers note the direction PATH messages arrived and set up reverse path to sender Receivers send RESV messages that follow reverse path and setup reservations If reservation cannot be made, user gets an error © Srinivasan Seshan, 2002 L -19;
RESV Messages Forwarded via reverse path of PATHQueuing delay and bandwidth requirements Source traffic characteristics (from PATH) Filter specification Which transmissions can use the reserved resources Reservation style Router performs admission control and reserves resources © Srinivasan Seshan, 2002 L -19;
Router Handling of RESV MessagesIf new request rejected, send error message If admitted: Install packet filter into forwarding dbase Pass flow parameters to scheduler Activate packet policing if needed Forward RESV msg upstream © Srinivasan Seshan, 2002 L -19;
Reservation Styles How filters are used Three stylesWildcard/No filter – does not specify a particular sender for group Fixed filter – sender explicitly specified for a reservation Dynamic filter – valid senders may be changed over time Receiver chooses but sender can force no-filter by setting F-Flag © Srinivasan Seshan, 2002 L -19;
PATH and RESV Messages R R R R Sender 1 PATH Sender 2 RESV (merged)Receiver 1 R RESV Receiver 2 © Srinivasan Seshan, 2002 L -19;
Changing Reservation Receiver-oriented approach and soft state make it easy to modify reservation Modification sent with periodic refresh © Srinivasan Seshan, 2002 L -19;
Routing Changes Routing protocol makes routing changesIn absence of route or membership changes, periodic PATH and RESV msgs refresh established reservation state When change, new PATH msgs follow new path, new RESV msgs set reservation Non-refreshed state times out automatically © Srinivasan Seshan, 2002 L -19;
Packet Classifying and SchedulingEach arriving packet must be: Classified: associated with the application reservation Fields: source + destination address, protocol number, source + destination port Scheduled: managed in the queue so that it receives the requested service Implementation not specified in the service model, left up to the implementation © Srinivasan Seshan, 2002 L -19;
RSVP and Multicast Reservations from multiple receivers for a single sender are merged together at branching points Reservations for multiple senders may not be added up: Audio conference, not many talk at same time Only subset of speakers (filters) Mixers and translators © Srinivasan Seshan, 2002 L -19;
Overview RSVP Differentiated services © Srinivasan Seshan, 2002L -19;
DiffServ Analogy: Airline service, first class, coach, various restrictions on coach as a function of payment Best-effort expected to make up bulk of traffic, but revenue from first class important to economic base (will pay for more plentiful bandwidth overall) Not motivated by real-time! Motivated by economics and assurances © Srinivasan Seshan, 2002 L -19;
Basic Architecture Agreements/service provided within a domainService Level Agreement (SLA) with ISP Edge routers do traffic conditioning Perform per aggregate shaping and policing Mark packets with a small number of bits; each bit encoding represents a class or subclass Core routers Process packets based on packet marking and defined per hop behavior More scalable than IntServ No per flow state or signaling © Srinivasan Seshan, 2002 L -19;
Per-hop Behaviors (PHBs)Define behavior of individual routers rather than end-to-end services – there may be many more services than behaviors Multiple behaviors – need more than one bit in the header Six bits from IP TOS field are taken for Diffserv code points (DSCP) © Srinivasan Seshan, 2002 L -19;
Per-hop Behaviors (PHBs)Two PHBs defined so far Expedited forwarding aka premium service (type P) Possible service: providing a virtual wire Admitted based on peak rate Unused premium goes to best effort Assured forwarding (type A) Possible service: strong assurance for traffic within profile & allow source to exceed profile Based on expected capacity usage profiles Traffic unlikely to be dropped if user maintains profile Out-of-profile traffic marked © Srinivasan Seshan, 2002 L -19;
Expedited Forwarding PHBUser sends within profile & network commits to delivery with requested profile Signaling, admission control may get more elaborate in future Rate limiting of EF packets at edges only, using token bucket to shape transmission Simple forwarding: classify packet in one of two queues, use priority EF packets are forwarded with minimal delay and loss (up to the capacity of the router) © Srinivasan Seshan, 2002 L -19;
Expedited Forwarding Traffic FlowCompany A Packets in premium flows have bit set Premium packet flow restricted to R bytes/sec internal router ISP host edge router first hop router edge router Unmarked packet flow © Srinivasan Seshan, 2002 L -19;
Assured Forwarding PHBUser and network agree to some traffic profile Edges mark packets up to allowed rate as “in-profile” or low drop precedence Other packets are marked with one of 2 higher drop precedence values A congested DS node tries to protect packets with a lower drop precedence value from being lost by preferably discarding packets with a higher drop precedence value Implemented using RED with In/Out bit © Srinivasan Seshan, 2002 L -19;
Red with In or Out (RIO) Similar to RED, but with two separate probability curves Has two classes, “In” and “Out” (of profile) “Out” class has lower Minthresh, so packets are dropped from this class first Based on queue length of all packets As avg queue length increases, “in” packets are also dropped Based on queue length of only “in” packets © Srinivasan Seshan, 2002 L -19;
RIO Drop ProbabilitiesP (drop in) P (drop out) P max_out P max_in min_in max_in min_out max_out avg_in avg_total © Srinivasan Seshan, 2002 L -19;
Edge Router Input FunctionalityTraffic Conditioner 1 Flow 1 Traffic Conditioner N Flow N Arriving packet Forwarding engine Packet classifier Best effort classify packets based on packet header © Srinivasan Seshan, 2002 L -19;
Traffic Conditioning Set EF bit Set AF “in” bit Packet Packet Wait forDrop on overflow Wait for token Set EF bit Packet output Packet input No token Packet input Test if token token Set AF “in” bit Packet output © Srinivasan Seshan, 2002 L -19;
Output Forwarding 2 queues: EF packets on higher priority queueLower priority queue implements RED “In or Out” scheme (RIO) © Srinivasan Seshan, 2002 L -19;
Router Output ProcessingEF What DSCP? High-priority Q Packets out AF If “in” set incr in_cnt Low-priority Q If “in” set decr in_cnt RIO queue management © Srinivasan Seshan, 2002 L -19;
Edge Router Policing AF “in” set Forwarding Arriving engine packetToken available? no Clear “in” bit AF “in” set Forwarding engine Arriving packet Is packet marked? Not marked EF set Token available? no Drop packet © Srinivasan Seshan, 2002 L -19;
Comparison Best-Efforts Diffserv Intserv Service Service ScopeConnectivity No isolation No guarantees Per aggregation isolation Per aggregation guarantee Per flow isolation Per flow guarantee Service Scope End-to-end Domain End-to-end Complexity No set-up Long term setup Per flow setup Scalability Highly scalable (nodes maintain only routing state) Scalable (edge routers maintains per aggregate state; core routers per class state) Not scalable (each router maintains per flow state) © Srinivasan Seshan, 2002 L -19;
Next Lecture: Application NetworkingHTTP Adaptive applications Assigned reading [BSR99] An Integrated Congestion Management Architecture for Internet Hosts [CT90] Architectural Consideration for a New Generation of Protocols © Srinivasan Seshan, 2002 L -19;
Quality of Service CS 457 Presentation Xue Gu Nov 15, 2001.
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.
Integrated Services and Differentiated Services. Limitations of IP Architecture in Supporting Resource Management IP provides only best effort service.
ACN: IntServ and DiffServ1 Integrated Service (IntServ) versus Differentiated Service (Diffserv) Information taken from Kurose and Ross textbook “ Computer.
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.
1 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
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.
© 2020 SlidePlayer.com Inc. All rights reserved.