Quality of Service (QoS)

Slides:



Advertisements
Similar presentations
QoS Strategy in DiffServ aware MPLS environment Teerapat Sanguankotchakorn, D.Eng. Telecommunications Program, School of Advanced Technologies Asian Institute.
Advertisements

Quality of Service CS 457 Presentation Xue Gu Nov 15, 2001.
Spring 2003CS 4611 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
Tiziana Ferrari Differentiated Services Test: Report1 Differentiated Service Test REPORT TF-TANT Tiziana Ferrari Frankfurt, 1 Oct.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 – QoS.
Traffic Shaping Why traffic shaping? Isochronous shaping
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 20 – March 25, 2010.
1 Providing Quality of Service in the Internet Based on Slides from Ross and Kurose.
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.
CPSC Topics in Multimedia Networking A Mechanism for Equitable Bandwidth Allocation under QoS and Budget Constraints D. Sivakumar IBM Almaden Research.
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
A Case for Relative Differentiated Services and the Proportional Differentiation Model Constantinos Dovrolis Parameswaran Ramanathan University of Wisconsin-Madison.
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.
Special Session PDCS’2000 Interworking of Diffserv, RSVP and MPLS for achieving QoS in the Internet Junaid Ahmed Zubairi Department of Mathematics and.
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
DiffServ QoS in internet
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 11 (Differentiated Services) Ion Stoica March 6, 2001.
Spring 2002CS 4611 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
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.
Tiziana FerrariQuality of Service for Remote Control in the High Energy Physics Experiments CHEP, 07 Feb Quality of Service for Remote Control in.
© 2006 Cisco Systems, Inc. All rights reserved. Module 4: Implement the DiffServ QoS Model Lesson 4.1: Introducing Classification and Marking.
Optimizing Converged Cisco Networks (ONT)
Ch 7. Multimedia Networking Myungchul Kim
QoS in MPLS SMU CSE 8344.
Computer Networking Quality-of-Service (QoS) Dr Sandra I. Woolley.
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.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 23 - Multimedia Network Protocols (Layer 3) Klara Nahrstedt Spring 2011.
Tiziana Ferrari Quality of Service Support in Packet Networks1 Quality of Service Support in Packet Networks Tiziana Ferrari Italian.
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.
Top-Down Network Design Chapter Thirteen Optimizing Your Network Design Oppenheimer.
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.
Quality of Service in IP Networks Presented by: John Rick Sharing the Knowledge Behind the Network.
Wolfgang EffelsbergUniversity of Mannheim1 Differentiated Services for the Internet Wolfgang Effelsberg University of Mannheim September 2001.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 10 – Quality of Service (QoS)
ACL & QoS.
Multimedia Wireless Networks: Technologies, Standards, and QoS Chapter 3. QoS Mechanisms TTM8100 Slides edited by Steinar Andresen.
Bjorn Landfeldt, The University of Sydney 1 NETS3303 Networked Systems.
Mr. Mark Welton.  Quality of Service is deployed to prevent data from saturating a link to the point that other data cannot gain access to it  QoS allows.
Ch 6. Multimedia Networking Myungchul Kim
Differentiated Services IntServ is too complex –More focus on services than deployment –Functionality similar to ATM, but at the IP layer –Per flow QoS.
© 2006 Cisco Systems, Inc. All rights reserved. 3.2: Implementing QoS.
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.
Mar-16 1 Cairo University Faculty of Engineering Electronics &Communication dpt. 4th year Linux-based Implementation Of a Router (B.Sc Graduation project)
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.
Multicast and Quality of Service Internet Technologies and Applications.
Chapter 30 Quality of Service Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Internet Quality of Service
Rami Neiman & Yaron Perry
Instructor Materials Chapter 6: Quality of Service
Congestion Control, Quality of Service, and Internetworking
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Quality of Service Connecting Networks.
EE 122: Lecture 18 (Differentiated Services)
Chapter 16. Internetwork Operation
EE 122: Differentiated Services
CIS679: Two Planes and Int-Serv Model
Presentation transcript:

Quality of Service (QoS) One definition: Network capability to provide a non-default service to a subset of the aggregate traffic (could be better than default, could be worse than default) Dominant service class in use today: “best effort”

Use of QoS to deal with network congestion issues Can’t you just increase the bandwidth and eliminate need for QoS? Adding bandwidth doesn’t resolve jitter or provide traffic prioritization

Major paper in 1992 SIGCOMM Proceedings: first serious description of service classes – describes two mechanisms: Token bucket filter: enforcing treatment for a particular flow Weighted fair queuing: devices bandwidth across queues of traffic based on weights, ensuring that each traffic flow gets a fair share

Layer 2 Class of Service (CoS) IEEE 802.1p standard for prioritization (“Traffic Class Expediting”) Use of 3-bit “user priority field within the 802.1Q tag 802.1p capable NICs, switches or routers can tag packets; transit switches or routers implement the priority through prioritized queuing

802.1Q tag frame format TPID = 8100 When a frame has EtherType code of 8100, we know there’s an 802.1Q tag Priority: 3 bits for priority as per 802.1p CFI: Ethernet or Token Ring (0 for Ethernet) VID: VLAN ID – 12 bits: 4094 VLANs (0 and 4095 reserved)

802.1p Service Classes The 8 classes/levels of priority available from the 3 bits are assigned as follows: 000 (0) - Routine 001 (1) - Priority 010 (2) - Immediate 011 (3) - Flash 100 (4) - Flash Override 101 (5) - Critical 110 (6) - Internetwork Control 111 (7) - Network Control Some switches have four queues per port; some have eight Weighted Round Robin usually used to service queues (alternative: strict queuing)

Layer 3 CoS/ToS: IP Precedence Type of Service field in IP header When used, IP Precedence has traditionally used first three bits of TOS field for 8 possible value Guess how the 8 possible precedence values have been defined?

Limitations of IP Precedence IP-Precedence scheme allows only specification of relative priority of a packet; no provisions to specify different drop precedence for packets of a certain priority. Example: you may want to specify both HTTP and Telnet as high-priority. However, if congestion occurs, you want Telnet packets to be dropped, before HTTP (or vice versa). 3 bits restrict the number of possible priority classes to eight. The Network Control and Internetwork Control classes are usually reserved for router-generated packets, necessary for the health of the network. This cuts down usable classes for production traffic to 6. IP-Precedence is not always implemented consistently by network vendors today.

Internet/IETF QoS Efforts 1994 – IETF began work on an Integrated Services (IntServ) architecture: Flow = stream of packets with common Source Address, Destination Address and port number Requires router to maintain state information on each flow; router determines what flows get what resources based on available capacity

IntServ components Traffic classes Traffic control best effort controlled load (‘best-effort like’ w/o congestion) guaranteed service (real-time with delay bounds) Traffic control admission control packet classifier packet scheduler

IntServ components (cont.) Setup protocol: RSVP “Path” msg from source to destination collects information along the path; the destination gauges what the network can support, then generates a “Resv” msg If routers along the path have sufficient capacity, then resources back to the receiver are reserved for that flow; otherwise, RSVP error messages are generated and returned to the receiver Reservation state is maintained until the RSVP “Path” and “Resv” messages stop coming

IntServ/RSVP problems Scalability (processing of every individual flow on core Internet routers) Lack of policy control mechanisms

What is the service? There are two camps: “Better best effort” — ISPs want finer control of relative bandwidth allocation, particularly under heavy load (Implementation in terms of drop- preference or weighted- round- robin). “Virtual leased line” — Users want an end- to- end absolute bandwidth allocation, independent of other traffic (Implementation in terms of priority queuing and strict policing). The IETF is more vocal on the former but there is demand for both.

What are the target applications? Bad question. In 1978, the answer was remote job entry. In 1988, email/ ftp. In 1999, web. This too will change. IP/ TCP/ UDP/ IGMP/ OSPF/ BGP work for any application. Differentiated services must too. What are the requirements of today’s applications?

Scaling A differentiated services mechanism must work at the scale of the Internet (e. g., millions of networks) and at the full range of speeds of the Internet (e. g., Gb/ s links). The Internet is growing at 20% per month. To get that kind of scaling the design must: push all the state to the edges, and force all per- conversation work (e. g., shaping, policing) to the edges.

Scaling (cont.) Edge- only state suggests that special/ normal service indication must be carried in the packet. Administrative diversity and high speed forwarding both argue for very simple semantics on that indication. E. g., a few bits of special/ normal. No state in center means it sees only aggregates (potential fairness problems).

Differentiated Services (DiffServ) See http://www.ietf.org/html.charters/diffserv-charter.html Instead of maintaining individual flows on all routers, flows are aggregated into an aggregate flow that receives “treatment” (per class or per service state) Service classes are identified, packet is marked as belonging to a particular service, sent on its way; routers in path examine header to determine treatment

Necessary DiffServ functions Admission control: ability of network to refuse customers when demand exceeds capacity Packet scheduling: method for treating different customers’ data differently as needed Traffic classification: ability to sort streams into “substreams” that receive different treatments Policies and rules for allocating the network’s resources

DiffServ from the router’s perspective define packet treatment classes allocate an adquate amount of resources for each class sort all incoming packets into their corresponding classes

DiffServ components DS-field: uses 6 bits in the TOS field in IPv4/traffic class field in IPv6; denotes service the packet should receive (6 bits referred to as the DSCP: DiffServ Code Point) PHB (per-hop behavior): defines the service at each hop; may be relative (compared to other PHBs) or absolute (in bandwidth or delay terms) BA (behavior aggregate): group of packets with the same DSCP (PHB is applied to each BA)

Note error in above: 101-Immediate should be 010-Immediate

Proposed DiffServ services Expedited Forwarding - “virtual leased line”; low delay, loss and jitter; provides a peak rate/ceiling (DSCP: 101110) Assured Forwarding - emulates a lightly loaded network (“drop me last”); provides a “floor” rate Default - usual “best effort” service (DSCP: 000000)

DiffServ AF Codepoint Table Drop Probability Class #1 Class #2 Class #3 Class #4 Low Drop Probability (AF11) 001010 (AF21) 010010 (AF31) 011010 (AF41) 100010 Med Drop Probability (AF12) 001100 (AF22) 010100 (AF32) 011100 (AF42) 100100 High Drop Probability (AF13) 001110 (AF23) 010110 (AF33) 011110 (AF43) 100110

Possible DiffServ Class Provisioning Traffic Class DSCP IP Routing CS6 Interactive Voice EF Interactive Video AF41 Streaming Video CS4 Telephony Signaling CS3 Transactional/Interactive AF21 Network Management CS2 Bulk Data AF11 Scavenger CS1 Best Effort

Fun Issues and Questions How will 802.1p, DiffServ and RSVP interoperate? Not enough to just identify “audio/video” packets (relative to others) and let them thru first. May have more “audio/video” packets than bandwidth available (LOTS of people running audio/video apps). Who decides WHOSE audio/video packets? How do we manage user expectations? How do users view QoS? How do they invoke it? How do they know that they have it?

Fun Issues and Questions (cont.) What to do with incoming traffic? What do we do with flows currently in progress when a higher priority flow requests access? Do we allow preemption? What about the problem of multiple sources sending data to a single destination, which then ends up oversubscribed?

Fun Issues and Questions (cont.) How do we prevent starvation of “best-effort” traffic? How do you manage QoS policies? How do we decide who gets what? Are DiffServ PHBs like a hall pass in school to go to the bathroom? If so, who decides who has to go the worst? Does it come back to pricing?

Qbone Testbed work: Two models: http://qbone.internet2.edu Premium: the goal of offering as close to a virtual leased line service model as is possible over IP Scavenger: allows for marking traffic for potentially degraded treatment at congested downstream interfaces Note: “Due to a medium-large set of intractable deployment problems, the Internet2 QBone Premium Service initiative has been suspended indefinitely. Internet2 QoS design and deployment efforts are now focused on ‘non-elevated’ forms of QoS like QBone Scavenger Service that require no policing, no reservations, and no admission control.”