University of Bradford Ethesis

Total Page:16

File Type:pdf, Size:1020Kb

University of Bradford Ethesis Performance Modelling and Analysis of Weighted Fair Queueing for Scheduling in Communication Networks. An investigation into the Development of New Scheduling Algorithms for Weighted Fair Queueing System with Finite Buffer. Item Type Thesis Authors Alsawaai, Amina S.M. Rights <a rel="license" href="http://creativecommons.org/licenses/ by-nc-nd/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by- nc-nd/3.0/88x31.png" /></a><br />The University of Bradford theses are licenced under a <a rel="license" href="http:// creativecommons.org/licenses/by-nc-nd/3.0/">Creative Commons Licence</a>. Download date 26/09/2021 15:01:09 Link to Item http://hdl.handle.net/10454/4877 University of Bradford eThesis This thesis is hosted in Bradford Scholars – The University of Bradford Open Access repository. Visit the repository for full metadata or to contact the repository team © University of Bradford. This work is licenced for reuse under a Creative Commons Licence. Performance Modelling and Analysis of Weighted Fair Queueing for Scheduling in Communication Networks An investigation into the Development of New Scheduling Algorithms for Weighted Fair Queueing System with Finite Buffer Amina Said Mohammed Alsawaai Submitted for the Degree of Doctor of Philosophy Department of Computing School of Computing, Informatics and Media University of Bradford 2010 Abstract Analytical modelling and characterization of Weighted Fair Queueing (WFQ) have re- cently received considerable attention by several researches since WFQ offers the min- imum delay and optimal fairness guarantee. However, all previous work on WFQ has focused on developing approximations of the scheduler with an infinite buffer because of supposed scalability problems in the WFQ computation. The main aims of this thesis are to study WFQ system, by providing an analytical WFQ model which is a theoretical construct based on a form of processor sharing for finite capacity. Furthermore, the solutions for classes with Poisson arrivals and exponential service are derived and verified against global balance solution. This thesis shows that the analytical models proposed can give very good results un- der particular conditions which are very close to WFQ algorithms, where accuracy of the models is verified by simulations of WFQ model. Simulations were performed with QNAP-2 simulator. In addition, the thesis presents several performance studies signify- ing the power of the proposed analytical model in providing an accurate delay bounds to a large number of classes. These results are not able to cover all unsolved issues in the WFQ system. They represent a starting point for the research activities that the Author will conduct in the future. The author believes that the most promising research activities exist in the scheduler method to provide statistical guarantees to multi-class services. The author is convinced that alternative software, for example, on the three class model buffer case, is able to satisfy the large number of buffer because of the software limitation in this thesis. While they can be a good topic for long-term research, the short-medium term will show an increasing interest in the modification of the WFQ models to provide differentiated services. Dedicated to my parents, my husband and my lovely son ... keep inspiring me! 1 Acknowledgements My deep thanks, from beginning to end, goes to God, who created me, helps me and has given me the ability to reach this stage. I would especially like to express my sincere gratitude and appreciation to my project supervisors Prof. Irfan Awan and Dr. Rod Fretwell for their helpful guidance, advice and valuable comments. Without their help, I would not have been able to complete my project. I would also like to extend my deep gratitude to the Computing department who provided me the needed knowledge to undertake this study. I would like also to thank the members of the Computing Department: Miss Rona Wilson and Mrs. Bev Yates. I give loving thanks to my husband, Hussain Ali, my lovely son, Ali, and my mother. It would not have been possible to complete my PhD research without their encouragement and support throughout my personal life and career. My gratitude also goes to all my friends Dr. Iman Alansari, Rasha Osman, Ibtihal Nafea, Rasha Fares, Hamda Al.Shihi and Ruqayya Abdulrahman and colleagues who supported me in my personal life and career. I am greatly indebted to the Ministry of Higher Edu- cation for providing me the opportunity and encouragement to obtain a higher degree in my field. Last, I wish to extend my heartfelt to my father and my family, who encouraged and continued supporting me until the end. i Publications 1. Amina Al-Sawaai, Irfan Awan, Rod Fretwell, "Validation of Analytical Model of WFQ System ", proceedings of 26rd Annual UK Performance Engineering Work- shop (UKPEW2010). July 08-09, Warwick University, UK, pp. 1-8, 2010. 2. Amina Al-Sawaai, Irfan Awan, Rod Fretwell, "Performance of weighted fair queu- ing system with multi-class jobs", proceedings of 24th IEEE International Confer- ence on Advanced Information Networking and Applications, pp. 50-57, 2010. 3. Amina Al-Sawaai, Irfan Awan, Rod Fretwell, "Performance Evaluation of Weighted Fair Queuing System Using Matrix Geometric Method", proceedings of Interna- tional Conferences on Networking (IFIP2009) Lecture Notes in Computer Science, vol. 5550/2009, pp.66-78, 2009. 4. Amina Al-Sawaai, Irfan Awan, Rod Fretwell, "Analysis of the weighted fair queu- ing system with two classes of customers with finite buffer", proceedings of 2009 International Conference on Advanced Information Networking and Applications Workshops, pp. 218-223, 2009. 5. Amina Al-Sawaai, Irfan Awan, Rod Fretwell, Stationary queue length distribution for M/M/1/K queue with preemptive priorities . proceedings of 23rd Annual UK Performance Engineering Workshop (UKPEW2007). July 09-10, Edge Hill Uni- versity, UK, pp. 1-5, 2007. 6. Amina Al-Sawaai, Irfan Awan, Rod Fretwell, Stationary queue length distribution for M/M/1/K queue with non-preemptive priorities. proceedings of 8th Annual Postgraduate Symposium on the Convergence of Telecommunication, Networking and Broadcasting (PG NET 2007). June 28 -29, School of Computing and Mathe- matical Sciences, John Morse University, Liverpool, UK, pp. 15-20, 2007 . ii 7. Amina Al-Sawaai, Irfan Awan, Rod Fretwell, "Stationary queue length distribution for M/M/1/K queue with non-preemptive and preemptive priorities", proceedings of 8th Informatics Workshop for Research Student, 28 June, School of Informatics, University of Bradford, UK, pp. 25-32, 2007. iii List of Symbols K Number of classes λi Arrival rate of class-i µi Service rate of class-i 1 Mean service time of class-i µi N Number of jobs in the system ni Number of jobs in the class-i wi Weight of class-i ~π0 : : : ~πN Steady state probabilities Li Mean queue length of class-i Si Mean response time of class-i λeffectivei The rate of jobs not dropped of class-i Ti Throughput of class-i QN j=2Rj Product rate matrices of N jobs in K class iv List of Abbreviations FIFO First In First Out PS Processor Sharing RR Round Robin WRR Weighted Round Robin GPS Generalized Processor Sharing QoS Quality of Service QBD Quasi Birth Death FQ Fair Queueing SFF Smallest Finish-time First SSF Smallest Start-time First WFQ Weighted Fair Queueing CBWFQ Class Based Weighted Fair Queueing SCFQ Self-Clocking Fair Queueing SFQ Start-time Fair Queueing VC Virtual Clock WF2Q Worst-case Fair Queueing v Contents List of Figuresx List of Tables1 1 Introduction2 1.1 Introduction . .2 1.2 Motivation . .3 1.3 Aims and Objectives . .4 1.4 Research Methodology . .5 1.5 Thesis Organization . .6 2 Literature Review7 2.1 Introduction . .7 2.2 Review of Scheduling Disciplines for Fair Queueing . .8 CONTENTS 2.2.1 Processor-Sharing (PS) . .8 2.2.2 Generalized Processor Sharing (GPS) . .9 2.2.3 Application of GPS in a Packet System . 10 2.2.4 Approximating GPS . 11 2.2.4.1 Weighted Round-Robin (WRR) . 11 2.2.4.2 Weighted Fair Queueing (WFQ) . 13 2.2.4.3 Enhancements to WFQ . 15 2.3 Related Research Work . 17 2.4 Summary . 21 3 Mathematical Model 22 3.1 Introduction . 22 3.2 Simulation Model . 23 3.3 K-Class Queueing Mathematical Model . 23 3.4 Analysis . 24 3.4.1 State Equilibrium Equations . 26 3.5 The Analytical Solution . 27 3.5.1 Computation of the Rate Matrices . 28 3.5.2 Stationary Probabilities . 30 vii CONTENTS 3.6 Application of the Solution Method to Queues with More Complex Ar- rival and Service Process . 33 3.7 Derivations of Performance Metrics . 34 3.7.1 Mean Queue Length . 35 3.7.2 Mean Response Time . 36 3.7.3 Throughput . 37 3.7.4 Job Loss . 38 3.7.5 Jitter . 38 3.8 Summary . 39 4 Numerical Results 40 4.1 Introduction . 40 4.2 Two-class Model . 41 4.2.1 Case 1 ................................ 45 4.2.2 Case 2 ................................ 51 4.2.3 Case 3 ................................ 56 4.2.4 Case 4 ................................ 60 4.2.5 Case 5 ................................ 64 4.3 Three-class Model . 66 4.3.1 Case 1 ................................ 69 viii CONTENTS 4.3.2 Case 2 ................................ 71 4.3.3 Case 3 ................................ 73 4.4 Summary . 74 5 Conclusions and Future Work 75 5.1 Summary . 75 5.2 Future Work . 77 References 79 Appendices 85 Appendix A Two Class Model 86 A.1 Analytical Model Description . 86 A.2 Steady State Probability Calculation of Two-Class Model . 89 Appendix B Three Class Model 91 B.1 Analytical Model Description . 91 B.2 Steady State Probability Calculation for Three-Class Model . 94 ix List of Figures 2.1 Round Robin (Fair Queueing) .
Recommended publications
  • Queue Scheduling Disciplines
    White Paper Supporting Differentiated Service Classes: Queue Scheduling Disciplines Chuck Semeria Marketing Engineer Juniper Networks, Inc. 1194 North Mathilda Avenue Sunnyvale, CA 94089 USA 408 745 2000 or 888 JUNIPER www.juniper.net Part Number:: 200020-001 12/01 Contents Executive Summary . 4 Perspective . 4 First-in, First-out (FIFO) Queuing . 5 FIFO Benefits and Limitations . 6 FIFO Implementations and Applications . 6 Priority Queuing (PQ) . 6 PQ Benefits and Limitations . 7 PQ Implementations and Applications . 8 Fair Queuing (FQ) . 9 FQ Benefits and Limitations . 9 FQ Implementations and Applications . 10 Weighted Fair Queuing (WFQ) . 11 WFQ Algorithm . 11 WFQ Benefits and Limitations . 13 Enhancements to WFQ . 14 WFQ Implementations and Applications . 14 Weighted Round Robin (WRR) or Class-based Queuing (CBQ) . 15 WRR Queuing Algorithm . 15 WRR Queuing Benefits and Limitations . 16 WRR Implementations and Applications . 18 Deficit Weighted Round Robin (DWRR) . 18 DWRR Algorithm . 18 DWRR Pseudo Code . 19 DWRR Example . 20 DWRR Benefits and Limitations . 24 DWRR Implementations and Applications . 25 Conclusion . 25 References . 26 Textbooks . 26 Technical Papers . 26 Seminars . 26 Web Sites . 27 Copyright © 2001, Juniper Networks, Inc. List of Figures Figure 1: First-in, First-out (FIFO) Queuing . 5 Figure 2: Priority Queuing . 7 Figure 3: Fair Queuing (FQ) . 9 Figure 4: Class-based Fair Queuing . 11 Figure 5: A Weighted Bit-by-bit Round-robin Scheduler with a Packet Reassembler . 12 Figure 6: Weighted Fair Queuing (WFQ)—Service According to Packet Finish Time . 13 Figure 7: Weighted Round Robin (WRR) Queuing . 15 Figure 8: WRR Queuing Is Fair with Fixed-length Packets . 17 Figure 9: WRR Queuing is Unfair with Variable-length Packets .
    [Show full text]
  • Scheduling for Fairness: Fair Queueing and CSFQ
    Copyright Hari Balakrishnan, 1998-2005, all rights reserved. Please do not redistribute without permission. LECTURE 8 Scheduling for Fairness: Fair Queueing and CSFQ ! 8.1 Introduction nthe last lecture, we discussed two ways in which routers can help in congestion control: Iby signaling congestion, using either packet drops or marks (e.g., ECN), and by cleverly managing its buffers (e.g., using an active queue management scheme like RED). Today, we turn to the third way in which routers can assist in congestion control: scheduling. Specifically, we will first study a particular form of scheduling, called fair queueing (FQ) that achieves (weighted) fair allocation of bandwidth between flows (or between whatever traffic aggregates one chooses to distinguish between.1 While FQ achieves weighted-fair bandwidth allocations, it requires per-flow queueing and per-flow state in each router in the network. This is often prohibitively expensive. We will also study another scheme, called core-stateless fair queueing (CSFQ), which displays an interesting design where “edge” routers maintain per-flow state whereas “core” routers do not. They use their own non- per-flow state complimented with some information reaching them in packet headers (placed by the edge routers) to implement fair allocations. Strictly speaking, CSFQ is not a scheduling mechanism, but a way to achieve fair bandwidth allocation using differential packet dropping. But because it attempts to emulate fair queueing, it’s best to discuss the scheme in conjuction with fair queueing. The notes for this lecture are based on two papers: 1. A. Demers, S. Keshav, and S. Shenker, “Analysis and Simulation of a Fair Queueing Algorithm”, Internetworking: Research and Experience, Vol.
    [Show full text]
  • Qos in IEEE 802.11-Based Wireless Networks: a Contemporary Survey Aqsa Malik, Junaid Qadir, Basharat Ahmad, Kok-Lim Alvin Yau, Ubaid Ullah
    1 QoS in IEEE 802.11-based Wireless Networks: A Contemporary Survey Aqsa Malik, Junaid Qadir, Basharat Ahmad, Kok-Lim Alvin Yau, Ubaid Ullah. Abstract—Apart from mobile cellular networks, IEEE 802.11- requirements at a lower cost. In IEEE 802.11 WLANs, the based wireless local area networks (WLANs) represent the error and interference prone nature of wireless medium—due most widely deployed wireless networking technology. With the to fading and multipath effects [2]—makes QoS provisioning migration of critical applications onto data networks, and the emergence of multimedia applications such as digital audio/video even more challenging. The combination of best-effort routing, and multimedia games, the success of IEEE 802.11 depends datagram routing, and an unreliable wireless medium, makes critically on its ability to provide quality of service (QoS). A lot the task of QoS provisioning in IEEE 802.11 WLANs very of research has focused on equipping IEEE 802.11 WLANs with challenging. features to support QoS. In this survey, we provide an overview of In this survey, we provide a focused overview of work these techniques. We discuss the QoS features incorporated by the IEEE 802.11 standard at both physical (PHY) and media access done to ensure QoS in the IEEE 802.11 standard. We have control (MAC) layers, as well as other higher-layer proposals. We the following three goals: (i) to provide a self-contained also focus on how the new architectural developments of software- introduction to the QoS features embedded in the IEEE defined networking (SDN) and cloud networking can be used to 802.11 standard; (ii) to provide a layer-wise description and facilitate QoS provisioning in IEEE 802.11-based networks.
    [Show full text]
  • Simulating Strict Priority Queueing, Weighted Round Robin, And
    International Journal on Advances in Networks and Services, vol 10 no 1 & 2, year 2017, http://www.iariajournals.org/networks_and_services/ 1 Simulating Strict Priority Queueing, Weighted Round Robin, and Weighted Fair Queueing with NS-3 Robert Chang and Vahab Pournaghshband Advanced Network and Security Research Laboratory Computer Science Department California State University, Northridge Northridge, California, USA [email protected] [email protected] Abstract—Strict priority queueing, weighted fair queueing, and weighted round robin are amongst the most popular differen- tiated service queueing disciplines widely used in practice to ensure quality of service for specific types of traffic. In this paper, we present the design and implementation of these three methods in Network Simulator 3 (ns-3). ns-3 is a discrete event network simulator designed to simulate the behavior of computer networks and internet systems. Utilizing our implementations will provide users with the opportunity to research new solutions to existing problems that were previously not available to solve with the existing tools. We believe the ease of configuration and use of our modules will make them attractive tools for further research. By comparing the behavior of our modules with expected outcomes derived from the theoretical behavior of each queueing algorithm, we were able to verify the correctness of Figure 1. ns-3’s simulation network architecture [3] our implementation in an extensive set of experiments. These format. ns-3 has an object oriented design, which facilitates implementations can be used by the research community to investigate new properties and applications of differentiated rapid coding and extension. It also includes automatic memory service queueing.
    [Show full text]
  • Packet Scheduling in Wireless Systems by Token Bank Fair Queueing Algorithm
    Packet scheduling in wireless systems by Token Bank Fair Queueing Algorithm by WILLIAM KING WONG B.A.Sc, The University of Western Ontario, 1991 M.A.Sc, The University of Western Ontario, 1993 M.Sc., The University of Western Ontario, 1994 A THESIS SUBMITTED IN PARTIAL FULFILMENT OF THE REQUIREMENTS FOR THE DEGREE OF DOCTOR OF PHILOSOPHY in THE FACULTY OF GRADUATE STUDffiS ( ELECTRICAL AND COMPUTER ENGINEERING ) THE UNIVERSITY OF BRITISH COLUMBIA July 2005 © William King Wong, 2005 ABSTRACT The amalgamation of wireless systems is a vision for the next generation wireless systems where multimedia applications will dominate. One of the challenges for the operators of next generation networks is the delivery of quality-of-service (QoS) to the end users. Wireless scheduling algorithms play a critical and significant role in the user perception of QoS. However, the scarcity of wireless resources and its unstable channel condition present a challenge to providing QoS. To that end, this thesis proposes a novel scheduling algorithm Token Bank Fair Queuing (TBFQ) that is simple to implement and has the soft tolerance characteristic which is suitable under wireless constraints. TBFQ combines both token- based policing mechanism and fair throughput prioritization rule in scheduling packets over packet- switched wireless systems. This results in a simple design and yet achieves better performance and fairness than existing wireless scheduling strategies. The characterization of the algorithm, which leads to its tight bound performance, is conducted through numerical analysis that recursively determines the steady-state probability distribution of the bandwidth allocation process and ultimately the probability distribution of input queue.
    [Show full text]
  • Lottery Scheduling and Dominant Resource Fairness (Lecture 24, Cs262a)
    Lottery Scheduling and Dominant Resource Fairness (Lecture 24, cs262a) Ion Stoica, UC Berkeley November 7, 2016 Today’s Papers Lottery Scheduling: Flexible Proportional-Share Resource Management, Carl Waldspurger and William Weihl, OSDI’94 (www.usenix.org/publications/library/proceedings/osdi/full_papers/waldspurger.pdf) Dominant Resource Fairness: Fair Allocation of Multiple Resource Types Ali Ghodsi, Matei Zaharia, Benjamin Hindman, Andy Konwinski, Scott Shenker, Ion Stoica, NSDI’11 (https://www.cs.berkeley.edu/~alig/papers/drf.pdf) What do we want from a scheduler? Isolation: have some sort of guarantee that misbehaved processes cannot affect me “too much” Efficient resource usage: resource is not idle while there is a process whose demand is not fully satisfied Flexibility: can express some sort of priorities, e.g., strict or time based CPU Single Resource: Fair Sharing 100% 33% n users want to share a resource (e.g. CPU) 50% 33% • Solution: give each 1/n of the shared resource 33% 0% Generalized by max-min fairness 100% 20% • Handles if a user wants less than its fair share 40% 50% • E.g. user 1 wants no more than 20% 40% 0% 100% Generalized by weighted max-min fairness 33% • Give weights to users according to importance 50% • User 1 gets weight 1, user 2 weight 2 66% 0% Why Max-Min Fairness? Weighted Fair Sharing / Proportional Shares • User 1 gets weight 2, user 2 weight 1 Priorities • Give user 1 weight 1000, user 2 weight 1 Revervations • Ensure user 1 gets 10% of a resource • Give user 1 weight 10, sum weights ≤ 100 Deadline-based scheduling • Given a user job’s demand and deadline, compute user’s reservation/ weight Isolation • Users cannot affect others beyond their share Widely Used OS: proportional sharing, lottery, Linux’s cfs, … Networking: wfq, wf2q, sfq, drr, csfq, ..
    [Show full text]
  • Multi-Queue Fair Queuing Mohammad Hedayati, University of Rochester; Kai Shen, Google; Michael L
    Multi-Queue Fair Queuing Mohammad Hedayati, University of Rochester; Kai Shen, Google; Michael L. Scott, University of Rochester; Mike Marty, Google https://www.usenix.org/conference/atc19/presentation/hedayati-queue This paper is included in the Proceedings of the 2019 USENIX Annual Technical Conference. July 10–12, 2019 • Renton, WA, USA ISBN 978-1-939133-03-8 Open access to the Proceedings of the 2019 USENIX Annual Technical Conference is sponsored by USENIX. Multi-Queue Fair Queueing Mohammad Hedayati Kai Shen Michael L. Scott Mike Marty University of Rochester Google University of Rochester Google Abstract ric within a few microseconds. GPUs and machine learning Modern high-speed devices (e.g., network adapters, storage, accelerators may offload computations that run just a few mi- accelerators) use new host interfaces, which expose multiple croseconds at a time [30]. At the same time, the proliferation software queues directly to the device. These multi-queue in- of multicore processors has necessitated architectures tuned terfaces allow mutually distrusting applications to access the for independent I/O across multiple hardware threads [4, 36]. device without any cross-core interaction, enabling through- These technological changes have shifted performance bot- put in the order of millions of IOP/s on multicore systems. tlenecks from hardware resources to the software stacks that Unfortunately, while independent device access is scalable, manage them. In response, it is now common to adopt a multi- it also introduces a new problem: unfairness. Mechanisms queue architecture in which each hardware thread owns a that were used to provide fairness for older devices are no dedicated I/O queue, directly exposed to the device, giving longer tenable in the wake of multi-queue design, and straight- it an independent path over which to send and receive re- forward attempts to re-introduce it would require cross-core quests.
    [Show full text]
  • Weighted Fair Scheduling Algorithm for Qos of Input-Queued Switches
    Weighted Fair Scheduling Algorithm for QoS of Input-Queued Switches Sang-Ho Lee1, Dong-Ryeol Shin2, and Hee Yong Youn2 1 Samsung Electronics, System LSI Division, Korea [email protected] http://nova.skku.ac.kr 2 Sungkyunkwan University, Information and Communication Engineering, Korea {drshin, youn}@ece.skku.ac.kr Abstract. The high speed network usually deals with two main issues. The first is fast switching to get good throughput. At present, the state- of-the-art switches are employing input queued architecture to get high throughput. The second is providing QoS guarantees for a wide range of applications. This is generally considered in output queued switches. For these two requirements, there have been lots of scheduling mechanisms to support both better throughput and QoS guarantees in high speed switching networks. In this paper, we present a scheduling algorithm for providing QoS guarantees and higher throughput in an input queued switch. The proposed algorithm, called Weighted Fair Matching (WFM), which provides QoS guarantees without output queues, i.e., WFM is a flow based algorithm that achieves asymptotically 100% throughput with no speed up while providing QoS. Keywords: scheduling algorithm, input queued switch, QoS 1 Introduction The input queued switch overcomes the scalability problem occurring in the output queued switches. However, it is well known that the input-queued switch with a FIFO queue in each input port suffers the Head-of-Line (HOL) blocking problem which limits the throughput to 58% [1]. Lots of algorithms have been suggested to improve the throughput. In order to overcome the performance reduction due to HOL blocking, most of proposed input queued switches have separate queues called Virtual Output Queue(VOQ) for different output ports at each input port.
    [Show full text]
  • Baochun Li Department of Electrical and Computer Engineering University of Toronto Keshav Chapter 9.4, 9.5.1, 13.3.4
    Episode 5. Scheduling and Traffic Management Part 2 Baochun Li Department of Electrical and Computer Engineering University of Toronto Keshav Chapter 9.4, 9.5.1, 13.3.4 ECE 1771: Quality of Service — Baochun Li, Department of Electrical and Computer Engineering, University of Toronto Outline What is scheduling? Why do we need it? Requirements of a scheduling discipline Fundamental choices Scheduling best effort connections Scheduling guaranteed-service connections Baochun Li, Department of Electrical and Computer Engineering, University of Toronto Scheduling best effort connections Main requirement is fairness Achievable using Generalized Processor Sharing (GPS) Visit each non-empty queue in turn Serve infnitesimal from each queue in a fnite time interval Why is this max-min fair? How can we give weights to connections? Baochun Li, Department of Electrical and Computer Engineering, University of Toronto More on Generalized Processor Sharing GPS is not implementable! we cannot serve infnitesimals, only packets No packet discipline can be as fair as GPS: but how closely? while a packet is being served, we are unfair to others Defne: work(i, a, b) = # bits transmitted for connection i in time [a,b] Absolute fairness bound for scheduling discipline S max (workGPS(i, a, b) - workS(i, a, b)) Relative fairness bound for scheduling discipline S max (workS(i, a, b) - workS(j, a, b)) Baochun Li, Department of Electrical and Computer Engineering, University of Toronto What is next? We can’t implement GPS So, lets see how to emulate it We want to be as fair as possible But also have an efficient implementation Baochun Li, Department of Electrical and Computer Engineering, University of Toronto Weighted Round Robin Round Robin: Serve a packet from each non-empty queue in turn Unfair if packets are of different length or weights are not equal — Weighted Round Robin Different weights, fxed size packets serve more than one packet per visit, after normalizing to obtain integer weights Different weights, variable size packets normalize weights by mean packet size e.g.
    [Show full text]
  • A Scheduling Algorithm for Integrated Services Packet Switching Networks
    690 IEEEIACM TRANSACTIONS ON NETWORKING. VOL. 5. NO. 5. OCTOBER 1997 Start-Time Fair Queueing: A Scheduling Algorithm for Integrated Services Packet Switching Networks Pawan Goyal, Hmick M. Vin, and Haichen Cheng Abstract-We present a Start-time Fair Qneueing (SFQ) al- 8 Audio Applications: To maintain adequate interactivity gorithm that is computationally efficient and achieves fairness for such applications, scheduling algorithms must provide regardless of variation in a server capacity. We analyze its low average and maximum delay. single server and end-to-end deadline guarantee for variable rate Fluctuation Constrained (FC) and Exponentially Bounded l Wdeo Applications: Variable bit rate (VBR) video Fluctuation (EBF) servers. To support heterogeneous services and sources; which are expected to impose significant multiple protocol families in integrated services networks, we requirements on network resources, have unpredictable present a hierarchical SFQ scheduler and derive ifs performance as well as highly variable bit rate requirement at bounds. Our analysis demonstrates that SFQ is suitable for multiple fime-scales [ll]. These features impose two integrated services networks since itz 1) achieves low average key requirements on network resource management, as well as maximum delay for low-throughput applications (eg., interactive audio, telnet, etc.); 2) provides fairness which is -Due to the difficulty in predicting the bit rate re- desirable for VBR video; 3) provide fairness, regardless of varia- quirement of VBR video sources, video channels may tion in server capacity, for throughput-intensive, flow-controlled utilize more than the reserved bandwidth. As long as data applications; 4) enables hierarchical link sharjng which Is the additional bandwidth used is not at the expense desirable for managing heterogeneity; and 5) is computationalIy efficient.
    [Show full text]
  • CSE 237A Scheduling of Communication
    CSE 237A Scheduling of communication Tajana Simunic Rosing Department of Computer Science and Engineering University of California, San Diego. 1 RlReal-time commun ica tion sc hdliheduling Value of comm unication depends on the time at which the message is delivered to the recipient Metrics Throughput Delay Delay jitter Loss rate Fairness Deadlines can be hard or soft Deterministic vs. statistical guarantees 2 Key Problem Allocation/ sched uling of comm unication Point-to-point link e.g. wire (scheduling at transmitter) Distributed link e. g. wireless (MAC) or bus (arbiter) Entire network (routing) Anywhere there is a shared resource! Different from scheduling to CPUs Often no pppreemption or coarse pre-emption Channels of time-varying quality/capacity 3 Type of Traffic So urces Cons tan t bit rat e: peri odi c t raffi c Fixed-size packets at periodic intervals Analogous to periodic tasks with constant computation time in RM model Variable bit rate: bursty traffic Fixed-size packets at irregular intervals Variable-size packets at regular intervals 4 Key Iss u es Scheduling Admission control PliiPolicing Goals: meet performance and fairness metrics high resource utilization easy to implement small work per data item , scale slowly with # of flows or tasks easy admission control decisions 5 ShdliScheduling for commun ica tion Determine who sends data when: FIFO Priority queuing: preemptive, non-preemptive Round robin Weighted fair queuing EDF Discard mechanism when buffer is f ull Distributed implementation Need multiple access mechanism 6 Problems du e to FIFO qu eu es 1. In order to maximize its chances of ss ee success, a source has an incentive to maximize the rate at which it transmits.
    [Show full text]