Jump to first page DiffServ Overview University of British Columbia Cpsc 527 Advanced Computer Communications Lecture 7b DiffServ Overview Instructor:

Slides:



Advertisements
Similar presentations
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 – QoS.
Advertisements

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.
High Speed Networks and Internets : Multimedia Transportation and Quality of Service Meejeong Lee.
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.
Integrated and Differentiated Services
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
Scheduling CS 215 W Keshav Chpt 9 Problem: given N packet streams contending for the same channel, how to schedule pkt transmissions?
Networking Issues in LAN Telephony Brian Yang
ACN: IntServ and DiffServ1 Integrated Service (IntServ) versus Differentiated Service (Diffserv) Information taken from Kurose and Ross textbook “ Computer.
CS 268: Differentiated Services Ion Stoica February 25, 2003.
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.
Chapter 8: Internet Operation Business Data Communications, 5e.
ACN: Congestion Control1 Congestion Control and Resource Allocation.
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
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.
An Architecture for Differentiated Services
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.
Mobile IP: Quality-of-Service Reference: “Domain based approach for QoS provisioning in mobile IP”; Ki-Il Kim; Sang-Ha Kim; Proc. IEEE Global Telecommunications.
Tiziana FerrariQuality of Service for Remote Control in the High Energy Physics Experiments CHEP, 07 Feb Quality of Service for Remote Control in.
Chapter 17 Integrated and Differentiated Services 1 Integrated and Differentiated Services COMP5416 Chapter 17.
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.
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”
Quality of Service (QoS)
QOS مظفر بگ محمدی دانشگاه ایلام. 2 Why a New Service Model? Best effort clearly insufficient –Some applications need more assurances from the network.
CSC 336 Data Communications and Networking Lecture 8d: Congestion Control : RSVP Dr. Cheer-Sun Yang Spring 2001.
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 Internet Quality of Service (QoS) By Behzad Akbari Spring 2011 These slides are based on the slides of J. Kurose (UMASS)
Class-based QoS  Internet QoS model requires per session state at each router  1000s s of flows  per session RSVP is complex => reluctance.
Beyond Best-Effort Service Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot November 2010 November.
Multimedia networking: outline 7.1 multimedia networking applications 7.2 streaming stored video 7.3 voice-over-IP 7.4 protocols for real-time conversational.
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.
Providing QoS in IP Networks Future: next generation Internet with QoS guarantees m Differentiated Services: differential guarantees m Integrated Services:
CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.
Multimedia and QoS#1 Quality of Service Support. Multimedia and QoS#2 QOS in IP Networks r IETF groups are working on proposals to provide QOS control.
EE 122: Lecture 15 (Quality of Service) Ion Stoica October 25, 2001.
Ch 6. Multimedia Networking Myungchul Kim
An End-to-End Service Architecture r Provide assured service, premium service, and best effort service (RFC 2638) Assured service: provide reliable service.
Differentiated Services IntServ is too complex –More focus on services than deployment –Functionality similar to ATM, but at the IP layer –Per flow QoS.
Integrated Services & Differentiated Services
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.
An End-to-End Service Architecture r Provide assured service, premium service, and best effort service (RFC 2638) Assured service: provide reliable service.
Providing QoS in IP Networks
Mar-16 1 Cairo University Faculty of Engineering Electronics &Communication dpt. 4th year Linux-based Implementation Of a Router (B.Sc Graduation project)
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
11. Integrated and Differentiated Services Network Performance and Quality of Service.
Chapter 30 Quality of Service Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Instructor Materials Chapter 6: Quality of Service
QoS & Queuing Theory CS352.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Quality of Service Connecting Networks.
Quality of Service in the Internet
EE 122: Lecture 18 (Differentiated Services)
Chapter 16. Internetwork Operation
EE 122: Differentiated Services
CIS679: Two Planes and Int-Serv Model
Real-Time Protocol (RTP)
Real-Time Protocol (RTP)
Presentation transcript:

Jump to first page DiffServ Overview University of British Columbia Cpsc 527 Advanced Computer Communications Lecture 7b DiffServ Overview Instructor: Dr. Son T. Vuong The World Connected

Spring 2010 – Dr. Son VuongCpsc Outline n Overview of QoS and DiffServ n Our research on DiffServ u A Class of Protocols u Dynamic (Fair) Distribution DiffServ n Conclusions

Spring 2010 – Dr. Son VuongCpsc What is the Service on Internet n A "Service" defines some significant characteristics of packet transmission in one direction across a set of one or more paths within a network. n These characteristics may be specified in quantitative or statistical terms of: u throughput, delay, jitter, loss.

Spring 2010 – Dr. Son VuongCpsc Current Problems with the Internet n Best-effort service has strained its current infrastructure capabilities. n A challenge is to design routers that can provide service differentiation for various types of traffic. n Two solutions proposed in IETF: u Integrated service (IntServ): individual flows with specific QoS requirements, e.g. RSVP flows u Differentiated services (DiffServ): aggregate of flows and per-hop behavior.

Spring 2010 – Dr. Son VuongCpsc What is QoS and why we need it? n QoS has many different measures: u Delay, delay variance (jitter), rate u Fairness, flow isolation u Reliability, e.g. drop rate n QoS is needed in packet networks to support multimedia applications: IP Telephony, mobile web-access, Video teleconferencing, net-PC applications, Grid services, etc.

Spring 2010 – Dr. Son VuongCpsc Application QoS requirements n Different applications=different QoS requirements. u Delay-sensitive real-time applications: Voice, Interactive Video. u Delay-tolerant real-time applications: Streaming Video. u Elastic applications that tolerate a wide range of delay variations: FTP, Telnet and .

Spring 2010 – Dr. Son VuongCpsc How to Provide QoS in a Best-Effort Internet? n More bandwidth does not solve the problem it only moves it to the core of the network: u IP router technology has a limit to its computational capabilities. u Also, fairness is not solved when bandwidth is increased. n Solution: packet scheduling and resource reservation.

Spring 2010 – Dr. Son VuongCpsc Improving QOS in IP Networks n IETF groups are working on proposals to provide better QOS control in IP networks, i.e., going beyond best effort to provide some assurance for QOS n Work in Progress includes RSVP, Differentiated Services, and Integrated Services n Simple model for sharing and congestion studies:

Spring 2010 – Dr. Son VuongCpsc Principles for QOS Guarantees n Consider a phone application at 1Mbps and an FTP application sharing a 1.5 Mbps link. u bursts of FTP can congest the router and cause audio packets to be dropped. u want to give priority to audio over FTP n PRINCIPLE 1: Marking of packets is needed for router to distinguish between different classes; and new router policy to treat packets accordingly

Spring 2010 – Dr. Son VuongCpsc Principles for QOS Guarantees (more) n Applications misbehave (audio sends packets at a rate higher than 1Mbps assumed above); n PRINCIPLE 2: provide protection (isolation) for one class from other classes n Require Policing Mechanisms to ensure sources adhere to bandwidth requirements; Marking and Policing need to be done at the edges:

Spring 2010 – Dr. Son VuongCpsc Principles for QOS Guarantees (more) n Alternative to Marking and Policing: allocate a set portion of bandwidth to each application flow; can lead to inefficient use of bandwidth if one of the flows does not use its allocation n PRINCIPLE 3: While providing isolation, it is desirable to use resources as efficiently as possible

Spring 2010 – Dr. Son VuongCpsc Principles for QOS Guarantees (more) n Cannot support traffic beyond link capacity n PRINCIPLE 4: Need a Call Admission Process; application flow declares its needs, network may block call if it cannot satisfy the needs

Spring 2010 – Dr. Son VuongCpsc Summary

Spring 2010 – Dr. Son VuongCpsc Scheduling And Policing Mechanisms n Scheduling: choosing the next packet for transmission on a link can be done following a number of policies; n FIFO: in order of arrival to the queue; packets that arrive to a full buffer are either discarded, or a discard policy is used to determine which packet to discard among the arrival and those already queued

Spring 2010 – Dr. Son VuongCpsc Scheduling Policies n Priority Queuing: classes have different priorities; class may depend on explicit marking or other header info, eg IP source or destination, TCP Port numbers, etc. n Transmit a packet from the highest priority class with a non-empty queue n Preemptive and non-preemptive versions

Spring 2010 – Dr. Son VuongCpsc Scheduling Policies (more) n Round Robin: scan class queues serving one from each class that has a non-empty queue

Spring 2010 – Dr. Son VuongCpsc Scheduling Policies (more) n Weighted Fair Queuing: is a generalized Round Robin in which an attempt is made to provide a class with a differentiated amount of service over a given period of time

Spring 2010 – Dr. Son VuongCpsc Policing Mechanisms n Three criteria: u (Long term) Average Rate (100 packets per sec or 6000 packets per min??), crucial aspect is the interval length u Peak Rate: e.g., 6000 p p minute Avg and 1500 p p sec Peak u (Max.) Burst Size: Max. number of packets sent consecutively, ie over a short period of time

Spring 2010 – Dr. Son VuongCpsc Policing Mechanisms Token Bucket: limit input to specified Burst Size and Average Rate. n bucket can hold b tokens n tokens generated at rate r token/sec unless bucket full n over interval of length t: number of packets admitted less than or equal to (r t + b).

Spring 2010 – Dr. Son VuongCpsc Policing Mechanisms (more) n token bucket, WFQ combine to provide guaranteed upper bound on delay, i.e., QoS guarantee! WFQ token rate, r bucket size, b per-flow rate, R D = b/R max arriving traffic

Spring 2010 – Dr. Son VuongCpsc What Is Scheduling and Why Do We Need It? n In real networks, a large number of flows may require different guarantees from the network. n Scheduling determines the next eligible packet, among all the arriving packets, to be sent out in order to satisfy the required guarantees. n Attributes of a good scheduler: u Rate and delay guarantees. u Fairness. u Utilization. u Simplicity.

Spring 2010 – Dr. Son VuongCpsc Scheduling (revisited) n Scheduling: per-flow or aggregated flows. n Per-flow (IntServ): u Provides exact delay and fairness guarantees. u Requires maintaining state information for all active sessions on a link. n Aggregation (DiffServ): u Delay and fairness are not as easy to guarantee. u No (or minimal amount of) states need to be maintained.

Spring 2010 – Dr. Son VuongCpsc Types of Schedulers n Rate-controlled: Delay / jitter Earliest Due Date (D-EDD and J-EDD). n Non-rate-controlled: Generalized Processor Sharing (GPS) and Weighted Fair Queueing (WFQ).

Spring 2010 – Dr. Son VuongCpsc How GPS Works n Every session has its own queue and share. n Weighted Round Robin (WRR) service order with an infinitesimal amount serviced from each session. n Empty queues are skipped when their turn arrives.

Spring 2010 – Dr. Son VuongCpsc End-to-End Network Delay n Delay=Host Delay+Access Delay+Network Delay n Even if the network provided the required QoS without the host applications or access networks providing their guarantees then the end-to-end guarantees will not be met.

Spring 2010 – Dr. Son VuongCpsc WFQ vs. GPS

Spring 2010 – Dr. Son VuongCpsc Scheduling Policies (more) n Weighted Fair Queuing: is a generalized Round Robin in which an attempt is made to provide a class with a differentiated amount of service over a given period of time

Spring 2010 – Dr. Son VuongCpsc Proactive Packet Discard n Congestion management by proactive packet discard u Before buffer full u Used on single FIFO queue or multiple queues for elastic traffic u E.g. Random Early Detection (RED)

Spring 2010 – Dr. Son VuongCpsc Random Early Detection (RED) Motivation n Surges fill buffers and cause discards n On TCP this is a signal to enter slow start phase, reducing load u Lost packets need to be resent F Adds to load and delay u Global synchronization F Traffic burst fills queues so packets lost F Many TCP connections enter slow start F Traffic drops so network under utilized F Connections leave slow start at same time causing burst n Bigger buffers do not help n Try to anticipate onset of congestion and tell one connection to slow down

Spring 2010 – Dr. Son VuongCpsc RED Design Goals n Congestion avoidance n Global synchronization avoidance u Current systems inform connections to back off implicitly by dropping packets n Avoidance of bias to bursty traffic u Discard arriving packets will do this n Bound on average queue length u Hence control on average delay

Spring 2010 – Dr. Son VuongCpsc RED Algorithm – Overview Calculate average queue size avg if avg < TH min queue packet else if TH min  avg  Th max calculate probability P a with probability P a discard packet else with probability 1-P a queue packet else if avg  TH max discard packet

Spring 2010 – Dr. Son VuongCpsc RED Buffer

Spring 2010 – Dr. Son VuongCpsc RED Algorithm Detail

Spring 2010 – Dr. Son VuongCpsc Architecture of DiffServ n DiffServ Domain n A Set of per-hop (forwarding) behaviors (PHB). n Packet classification functions. n Traffic conditioning functions including: u metering u marking u shaping u policing

Spring 2010 – Dr. Son VuongCpsc DS Nodes n DS boundary Nodes u Classify the ingress packets. u Perform traffic conditioning according to a traffic conditioning agreement (TCA) n DS Interior Nodes u Perform limited traffic conditioning functions such as DS codepoint re-marking.

Spring 2010 – Dr. Son VuongCpsc DS Definition n : Best - effort behavior n Pool Codepoint space Policy n 1 xxxxx0 Standards Action n 2 xxxx11 EXP/LU n 3 xxxx01 EXP/LU (*) n (*) May be used for future Standards Action allocations as necessary

Spring 2010 – Dr. Son VuongCpsc Example of DiffServ Domains RRRRHHHHHHBB

Spring 2010 – Dr. Son VuongCpsc Per-Hop Behaviors (PHB) n PHB is a description of forwarding behavior of a DS node for a particular DS behavior aggregate. n Via PHBs, a node allocates its resources (buffer, bandwidth, delay, loss) to behavior aggregates. n PHBs are implemented via buffer management and packet scheduling mechanisms. n A PHB is selected at a node by a mapping of the DS codepoint in a received packet.

Spring 2010 – Dr. Son VuongCpsc Traffic Conditioning Specification n The TCS specifies detailed service parameters for each service level : F Service performance parameters such as expected throughput, drop probability, latency. F Traffic profiles which must be adhered to for the requested service to be provided, such as token bucket parameters. F Disposition of traffic submitted in excess of the specified profile. F Marking services provided. F Shaping services provided.

Spring 2010 – Dr. Son VuongCpsc Packet Classifier and Traffic Conditioner n Classifier : select packets in a traffic stream based on packet header. n Meter: measures the temporal properties of the stream of packets selected by a traffic profile. n Marker: sets the DS field of a packet to a particular codepoint, add marked packet to a DS behavior aggregate. n Shaper: shapes the traffic stream to bring it into compliance with a traffic profile. n Dropper: discards some or all packets in a traffic stream to bring it into compliance with a traffic profile.

Spring 2010 – Dr. Son VuongCpsc Service Level Specification (SLS) n In addition to TCS, the SLS specifies more general service : F Availability/Reliability F Encryption services. F Routing constraints. F Authentication mechanisms. F Mechanisms for service monitoring and auditing. F Responsibilities such as location of the equipment and functionality, action if the contract is broken, support capabilities. F Pricing and billing mechanisms.

Spring 2010 – Dr. Son VuongCpsc Profile in Router n Profile ----> behavior of the router n There may be many profiles in the router at any time. n Profile contains : n Name n Attribute (in/out) n Policy Scope n Other information (Address, port, permission, month mask, time of day, direction …)

Spring 2010 – Dr. Son VuongCpsc Example of Profile n Name Entry2 PolicyScope DataTraffic TimeOfDayRange to IncomingTOS 111 SourceAddressRange to Direction Outgoing MaxeRate 5000 OutgoingTOS 101

Spring 2010 – Dr. Son VuongCpsc Examples of Services n Better than Best-Effort (BBE) Service : u This is a qualitative service which promises to carry specific web server traffic at a higher priority than best-effort traffic. n Premium Service : u Customer purchases a peak rate u Packets below that rate carried with no delay u Packets above that rate dropped

Spring 2010 – Dr. Son VuongCpsc Our research on DiffServ n We focus on differentiated service since this aggregate service scales better than the per-flow integrated service. n We focus on developing a class of protocols including the Meter, Marker, Shaper at the Boundary nodes and the per-hop behavior of all interior nodes in a DS Domain. n For performance evaluation, the network simulator NS2 was used.

Spring 2010 – Dr. Son VuongCpsc DiffServ and BestEffort Queues DiffServ queue Best-effort queue 

Spring 2010 – Dr. Son VuongCpsc The simulation of DiffServ and BestEffort for TCP/IP traffic

Spring 2010 – Dr. Son VuongCpsc The Dynamic Distribution DiffServ n The scheme unites DiffServ flows with Dynamic Distribution to the aggregate before sending them to the network. n Dynamic Distribution prevents any aggregate from taking all the bandwidth in a period of time, thus allows every aggregate a chance of passing through the router at all times. n Dynamic Distribution also guarantees Multimedia applications an upper bound on packet delay inside the DiffServ domain without the per-flow requirement.

Spring 2010 – Dr. Son VuongCpsc Multiple Queues in DiffServ Router Figure 1. Multiple-Queues in a Router of the DiffServ Domain DiffServ queues Backlogged packets

Spring 2010 – Dr. Son VuongCpsc The Scheme of Dynamic Distribution Differentiated Service n This scheme simplifies processing at routers in DiffServ domain (cf. the IntServ scheme) while maintaining QoS guarantee for every flow. n At Boundary Nodes, packets are classified by their flows, which may number in thousands at one node or tens of thousand in the whole domain n At Inside Nodes, packets classified by their aggregates, numbered in hundreds at a node.

Spring 2010 – Dr. Son VuongCpsc The Scheme at Boundary Node n Classifier: selects packets in a traffic stream based on DiffServ byte in header. n Meter: The leaky-bucket meter scheme for every flow with its subscribed bandwidth. n Dropper: drops all out-profile packets. n Shaper: Fair-Queue scheme for every DiffServ flow depending on the subscribing bandwidth. n Marker: an aggregate marking scheme n PHB: exact Fair-Queue forwarding scheme.

Spring 2010 – Dr. Son VuongCpsc The Scheme for Interior Nodes n Classifier: selects packets in a traffic stream based on DiffServ byte and places them in appropriate queues. n Shaper: time divided into equal slots, each further divided mini-slots. Each aggregate receives a number of mini slots based on calculation at the beginning of the slot. n PHB: Frame-based forwarding scheme with Dynamic Distribution of resources.

Spring 2010 – Dr. Son VuongCpsc n The proposed Dynamic Distribution DiffServ scheme is flexible, simple and efficient n Guarantees delay bound without the per-flow complexity, suitable for multimedia traffic. n Future work: u Various types of multimedia application traffic such as video teleconferencing u Various performance measures, including delay, throughput and jitter u Multicasting and security DS services Summary