Design Philosophy of Scheduler Design a very general and flexible scheduler at transport layer that can –work at different locations in the network –provide.

Slides:



Advertisements
Similar presentations
Quality of Service CS 457 Presentation Xue Gu Nov 15, 2001.
Advertisements

Resource Management §A resource can be a logical, such as a shared file, or physical, such as a CPU (a node of the distributed system). One of the functions.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 – QoS.
High Speed Networks and Internets : Multimedia Transportation and Quality of Service Meejeong Lee.
A Flexible Model for Resource Management in Virtual Private Networks Presenter: Huang, Rigao Kang, Yuefang.
WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995.
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.
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.
End-to-End Analysis of Distributed Video-on-Demand Systems Padmavathi Mundur, Robert Simon, and Arun K. Sood IEEE Transactions on Multimedia, February.
CS 268: Lecture 15/16 (Packet Scheduling) Ion Stoica April 8/10, 2002.
Networking Issues in LAN Telephony Brian Yang
Generalized Processing Sharing (GPS) Is work conserving Is a fluid model Service Guarantee –GPS discipline can provide an end-to-end bounded- delay service.
Charge-Sensitive TCP and Rate Control Richard J. La Department of EECS UC Berkeley November 22, 1999.
ACN: IntServ and DiffServ1 Integrated Service (IntServ) versus Differentiated Service (Diffserv) Information taken from Kurose and Ross textbook “ Computer.
Katz, Stoica F04 EECS 122: Introduction to Computer Networks Packet Scheduling and QoS Computer Science Division Department of Electrical Engineering and.
UCB Implementing QoS Jean Walrand EECS. UCB Outline What? Bandwidth, Delay Where? End-to-End, Edge-to-Edge, Edge-to-End, Overlay Mechanisms Access Control.
Chapter 13 Embedded Systems
Fair Scheduling in Web Servers CS 213 Lecture 17 L.N. Bhuyan.
1 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
School of Information Technologies IP Quality of Service NETS3303/3603 Weeks
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 3. QoS.
Bandwidth Allocation in a Self-Managing Multimedia File Server Vijay Sundaram and Prashant Shenoy Department of Computer Science University of Massachusetts.
Efficient agent-based selection of DiffServ SLAs over MPLS networks Thanasis G. Papaioannou a,b, Stelios Sartzetakis a, and George D. Stamoulis a,b presented.
1 Proportional differentiations provisioning Packet Scheduling & Buffer Management Yang Chen LANDER CSE Department SUNY at Buffalo.
3/2/2001Hanoch Levy, CS, TAU1 What Quality of Service is About Hanoch Levy Feb 2003.
7/15/2015HY220: Ιάκωβος Μαυροειδής1 HY220 Schedulers.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
Packet Scheduling From Ion Stoica. 2 Packet Scheduling  Decide when and what packet to send on output link -Usually implemented at output interface 1.
A Generalized Processor Sharing Approach to Flow Control in Integrated Services Networks: The Single-Node Case Abhay K. Parekh, Member, IEEE, and Robert.
QOS مظفر بگ محمدی دانشگاه ایلام. 2 Why a New Service Model? Best effort clearly insufficient –Some applications need more assurances from the network.
21. Apr INF-3190: Multimedia Protocols Quality-of-Service.
Distributed Multimedia March 19, Distributed Multimedia What is Distributed Multimedia?  Large quantities of distributed data  Typically streamed.
Network Aware Resource Allocation in Distributed Clouds.
“Intra-Network Routing Scheme using Mobile Agents” by Ajay L. Thakur.
Building Differentiated Services Using the Assured Forwarding PHB Group Juha Heinänen Telia Finland Inc.
On QoS Guarantees with Reward Optimization for Servicing Multiple Priority Class in Wireless Networks YaoChing Peng Eunyoung Chang.
CONGESTION CONTROL and RESOURCE ALLOCATION. Definition Resource Allocation : Process by which network elements try to meet the competing demands that.
EmNet: Satisfying The Individual User Through Empathic Home Networks J. Scott Miller, John R. Lange & Peter A. Dinda Department of Electrical Engineering.
1 Heterogeneity in Multi-Hop Wireless Networks Nitin H. Vaidya University of Illinois at Urbana-Champaign © 2003 Vaidya.
Wolfgang EffelsbergUniversity of Mannheim1 Differentiated Services for the Internet Wolfgang Effelsberg University of Mannheim September 2001.
Incentive-Oriented Downlink Scheduling for Wireless Networks with Real-Time and Non-Real-Time Flows I-Hong Hou, Jing Zhu, and Rath Vannithamby.
Covilhã, 30 June Atílio Gameiro Page 1 The information in this document is provided as is and no guarantee or warranty is given that the information is.
A Cyclic-Executive-Based QoS Guarantee over USB Chih-Yuan Huang,Li-Pin Chang, and Tei-Wei Kuo Department of Computer Science and Information Engineering.
TCP Trunking: Design, Implementation and Performance H.T. Kung and S. Y. Wang.
EE 122: Lecture 15 (Quality of Service) Ion Stoica October 25, 2001.
High-Speed Policy-Based Packet Forwarding Using Efficient Multi-dimensional Range Matching Lakshman and Stiliadis ACM SIGCOMM 98.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Real-Time Networks – WAN Packet Scheduling.
Scheduling Determines which packet gets the resource. Enforces resource allocation to each flows. To be “Fair”, scheduling must: –Keep track of how many.
Resource Allocation in Network Virtualization Jie Wu Computer and Information Sciences Temple University.
Explicit Allocation of Best-Effort Service Goal: Allocate different rates to different users during congestion Can charge different prices to different.
1 Fair Queuing Hamed Khanmirza Principles of Network University of Tehran.
© 2006 Cisco Systems, Inc. All rights reserved. 3.2: Implementing QoS.
10. Mai 20061INF-3190: Multimedia Protocols Quality-of-Service Foreleser: Carsten Griwodz
Scheduling for QoS Management. Engineering Internet QoS2 Outline  What is Queue Management and Scheduling?  Goals of scheduling  Fairness (Conservation.
1 Flow-Aware Networking Introduction Concepts, graphics, etc. from Guide to Flow-Aware Networking: Quality-of-Service Architectures and Techniques for.
Instructor Materials Chapter 6: Quality of Service
Sriram Lakshmanan Zhenyun Zhuang
Link Sharing or CBQ Link sharing controls the distribution of bandwidth on “local” links Each class receives a guaranteed share during congestion Aggregate.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Quality of Service Connecting Networks.
Quality of Service For Traffic Aggregates
Provision of Multimedia Services in based Networks
Hierarchical Scheduling Algorithms
Scheduling Algorithms in Broad-Band Wireless Networks
EE 122: Quality of Service and Resource Allocation
Networked Real-Time Systems: Routing and Scheduling
EECS 122: Introduction to Computer Networks Packet Scheduling and QoS
کنترل جریان امیدرضا معروضی.
Presentation transcript:

Design Philosophy of Scheduler Design a very general and flexible scheduler at transport layer that can –work at different locations in the network –provide mechanisms for implementing a wide range of traffic classification and bandwidth management policies. –Encourages traffic aggregation, hence increases bandwidth utilization. –Have a structured implementation and programming interfaces.

Client 1 Server 1 ISP 1 Backbone Network Client 2 Server 2 ISP 2 ISP 3 ISP 4 Original Model – Scheduler at the End-Systems Connection Relationships

Corporate Network T1/T3 ISP Backbone Network Corporate Intranet Client Rate Control Device Access Link

ISP Network and Server Farms Home Clients Backbone Network POP ISP Network Layer4/7 Switch Server Farm

Inter-Domain Scenario Backbone Domain A Client Domain C Domain B Edge Device Access Link Fat Pipe

Examples of User Requirements A user requests some rates for each of his ftp connections. A user requests that his connection be guaranteed a delay bound d and a probability 1- . A manager requests that connections from his department be given a combined bandwidth of  . Based on the company's mission, the administrator specifies that database traffic be given a bandwidth  2 and realtime video traffic be given a bandwidth. He also specifies that realtime video be given a delay guarantee of d with probability 1- . The administrator decides that all users should be given equal bandwidth.

H-PFQ ( Bennett and Zhang 96 ) Link Agency A Agency C Agency B 10% 40%50% real- time ftptelnet 10% 30% real- time ftptelnet 5%2%3% IPDEC- net 20% conn. 1 conn. n 1% ftptelnet 0%5%15% real- time...

A CBQ Implementation Example Ftp class has a minimum bandwidth reservation over appropriate time scale. Can be viewed as priority scheduler with link sharing constraints. Link Agency A Agency B 80% 20% real- time ftp inter- active real- time ftp inter- active 3, 30%2, 25%1, 25%3, 10%2, 5%1, 5%

Our Scheduler Type I Type II Type III  11  12  13  21  22 r 41 r 42 r 31 r 32 r 51 r 52 r 53 Type II- Infinity 1, d 1 2, d 2 1, d 3 2, d

An Instance Link Real- time Elastic Buf. video ftp 33%67% Inter- active 1, d 1 2, d 2 3

Goal of Scheduling Satisfies requirements (vaguely) from individual connections, together with admission control. Satisfies the requirements from individual classes, which are aggregation of a set of connections with some common characteristics. Distributes extra bandwidth prudently. Participates in flow control and regulates excess traffic. Achieve flow isolation and fairness. Always aims at high bandwidth utilization. Optimize operator’s objectives: bandwidth utilization, revenue, or combined user’s satisfactions, subject to constraints.

Goal of Scheduling – Cont. The items in the list have overlap. Need to understand these objectives better. One approach is to define a precedence relation among the objectives (Shenker et al, 93). It is hopefule to design mechanisms that can achieve any suitable arrangement of objectives. Ways to achieve higher utilization –Aggregation of realtime traffic –Tradeoff between realtime and elastic connections.

Key Features of H-PFQ Goals: –Provides realtime traffic delay bound (loose) –Distribute excess bandwidth according to the tree hierarchy (link sharing) What does the tree representation mean –An edge means parent-children relationship of classes; –a missing edge means disjoint classes; –children of an class is a partition of the class. Weighted fair-queueing on each level of the tree.

Weakness of H-PFQ Bandwidth defined only on the shortest timescale; cannot trade-off realtime traffic and elastic traffic. All requirements are handled by bandwidth allocation and hence it discourages aggregation. Unnatural to emulate more than two priority levels. It is problematic for time-varying link capacity, where delay cannot be guranteed, but multiple prioirty levels still makes sense. Limitation of tree representation: assumes classes are disjoint.

CBQ ( Floyd and Jacobson 95) Goals: –Satisfies realtime traffic –Provides link-sharing services for classes Each class receives its allocated bandwidth over appropriate time interval Prudent distribution of excess bandwidth (It is for this purpose the tree hierarchy is defined.) Not an implementation, but a guideline –The tree is represents bandwidth-sharing requirements.

CBQ Realtime Services Realtime class takes priority when the traffic is bursty and lightly loaded. (note: the bandwidth are measured on different time scales) 80% videoftp 20% 60% video1video2ftp1ftp2 2, 5%2, 15%1, 40%1, 20% 80% videoftp 2 1 ftp1ftp2 33%67%

CBQ Realtime Service – Cont. 1 Link sharing becomes effective when a backlogged lower-priority classes do not get the bandwidth assigned over their timescale. Guard against overloading by realtime traffic due to admission control error or misbehavior. Give up notion of hard delay guarantee. Allow some realtime applications to adapt bandwidth fluctuation.

CBQ Realtime Service – Cont. 2 With more low-priority classes, it becomes harder to provide strict priority to the high- priority class. It becomes more like processor sharing. If two different priority levels have the same timescales, it becomes processor sharing.

Weakness of CBQ Since bandwidth are measured on different time intervals, weight assignment makes no sense. They do not have to add up to 1. Assumes classes are disjoint. Link audiomailftptelnetvideo Link Agency A Agency C Agency B 20%50%10%20%0%10%40%50%

Weakness of CBQ - Cont The following makes no sense. Has to use the previous classification scheme. What if the classes cannot be represented by a tree? Link Agency A Agency C Video 10%40%50%

Vagueness in User Requirements Bandwidth: minimum, maximum and average bandwidth and their relevant timescales. Traffic Classes: including short-interactive flow, bulk transfer, realtime stream, and buffered stream Delay: average and maximum delay, and probabilistic bound Transfer Size: special handling of short flows Bandwidth Adaptability: the application control the data generating rate, and can render the received data at different level of quality.

Goals of Scheduler Design Want to support the following services –Bandwidth guarantee at the shortest time scale –Various probabilistic delay-guarantees –Bandwidth guarantee on longer time scales –Priority class when bandwidth is uncertain. –Best effort services Want a structured representation of the above. Want more general notion of connection classes Want a representation that leads directly to implementation. Timescales are explicit in the representation.

Scheduler Definition Define three classes –Type I: bandwidth guaranteed on shortest time scale. Each class is associated with a number  i, which is the rate assignment for the class. –Type II: delay guarantee is characterized by a tuple (d i, p i, r i ), indicating Pr(D > d i ) < p i, where D is the queueing delay. Note that d i can be infinity. The optional r i stands for the average rate of this class, and is used for admission control. –Type III: best-effort class, bandwidth guaranteed on longer time scale. Each is associated with a pair (m i,r i ), where the m i is the minimum rate and r i is the average rate.

Rules for Scheduler Hierarchy Type I class can have Type I, II, or III as children. Type II class has no children, except that Type II-Infinity may have Type III or Type II-Infinity as children. Type III class can have Type III or Type II-Infinity as children. All children of a class must themselves be the same type. Notice that Type I can only have Type I as parent. Type II can only have Type I as parent, except for Type II-Infinity. Type III can have Type I, III, or Type II-Infinity as parent. Type II-Infinity can have type I, III, or Type II-Infinity as parent.

Our Scheduler Type I Type II Type III  11  12  13  21  22 r 41 r 42 r 31 r 32 r 51 r 52 r 53 Type II- Infinity 1, d 1 2, d 2 1, d 3 2, d

Time-Varying Pipe r 21 r 22 r 23

Key Features For all children of a Type I or III class, bandwidth is defined on comparable timescale. Priority classes are added. The representation is actually a general scheduler (in CBQ terminology), not a link- sharing representation ( link-sharing requirement should be kept separately, not necessarily in tree structure ).

A Scheduler Implementation The immediate children of a class are scheduled as follows –Type I classes are scheduled by WFQ. –A Type II classes are numbered by 1,2,…,n, which stand for their scheduling priority. For instance, a class with a lower delay bound takes priority over one with a higher delay bound. When two Type II classes have the same delay bound, the one with smaller p_i value takes priority over the one with larger p_i value. Type II- Infinity classes are numbered a priori. –Type III classes are scheduled according to WFQ among themselves.

Admission Control and Usage Accounting To guarantee delay, admission control is necessary for ordinary Type II classes. To guarantee minimum rate, admission control is necessary for Type III classes. Admission control is aided by usage accounting. Additional connection classes can be defined outside the scheduler.

Overall Architecture Scheduler Measurement Classifier Usage Accounting Admission Control / Policing Pricing Kernel User Scheduler Adjustment Class Management