Time-function scheduling: a general approach to controllable resource

L. Fong, M. Squillante
{"title":"Time-function scheduling: a general approach to controllable resource","authors":"L. Fong, M. Squillante","doi":"10.1145/224056.225832","DOIUrl":null,"url":null,"abstract":"A large number of diverse scheduling objectives have been proposed and used in various operating system designs, including absolute/relative throughput and response time measures, predict able (i. e., low variance) performance, proportional resource allocation, avoiding indefinite postponement, and satisfying real-time constraints. Many of these objectives are in conflict, and thus most scheduling algorithms have been designed to meet only a subset of these goals. In addition to supporting multiple diverse scheduling objectives, a principal design challenge is to provide effective control over resource allocation to achieve the desired performance requirements for these simultaneous objectives. Unfortunately, most scheduling strategies do not support flexible paramet erization of their algorithms to satisfy the varying performance requirements of different environments. Over the past several years we have been exploring the use of time-based functions to provide effective and flexible control over resource allocation to achieve the above scheduling objectives and performance requirements. This paper describes a general approach to resource management called time-finction sck.eduhng (TFS), which represents a generalization of our previous research activities. TFS is based on the concept of dynamic priorities that change according to general functions of the time each job has spent waiting for the resource of interest, although functions of measures other than waiting time can be used. A large and diverse set of scheduling objectives and performance requirements is achieved by employing time-functions with properties that match these requirements. Moreover, various mechanisms can be used to dynamically adjust these time-functions in response to changes in the system workload so that the desired objectives are continuously satisfied. These properties are achieved by exploiting the strong theoretical foundation of our approach, which is in stark contrast to the ad hoc and poorly understood methods employed in most existing resource allocation technologies. Permission to make digital/hard copy of part or all of thk work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage, the copyright notice, the title of the publication and its date appear, and notice is given that ~pying is by permission of ACM, Inc. To copy otherwise, to republish, to post on servers, or to redistribute to lists, requires prior speeific permission and/or a fee. SIGOPS ’95 12/95 00, USA 01995 ACM 0-89791-71 5-4/95/0012...$3.50 Resource We have developed a prototype implementation of a relatively simple form of TFS. We use this experimental platform to compare the control over resource allocation provided by TFS with that obtained under the standard UNIX decayusage scheduling algorithm and the recently proposed lottery scheduling algorithm [2] for various workloads representative of scientific and commercial computing environments. Our results demonstrate the ability of TFS to effectively and efficiently provide a level of resource allocation control that is not possible with most scheduling policies. In the few instances where some control is provided, the ability to achieve different performance requirements can be quite difficult (if not impossible), the range of control is often very limited, and the control mechanisms are poorly understood in general. Our numerous experiments with decay-usage scheduling confirm these observations. Lottery scheduling is one of the few methods appearing in the research literature with objectives somewhat similar to TFS in that lottery supports control over the relative execution rates of computations. Our experimental results demonstrate that TFS achieves the same proportional execution rate goals while significantly reducing the waiting time variance, in some cases by as much as several orders of magnitude. We further demonstrate that TFS provides very fast and stable convergence to these resource allocation goals and minimal variability in response, due to the more deterministic control properties of TFS. There has been very little work on scheduling to minimize variance while also satisfying other performance requirements, which is particularly important in commercial transaction processing environments. These performance benefits are obtained with a simple, straightforward implementation of TFS that exhibits overheads comparable to lottery scheduling. We refer the interested reader to [I] for a full-length version of this paper.","PeriodicalId":168455,"journal":{"name":"Proceedings of the fifteenth ACM symposium on Operating systems principles","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1995-12-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"24","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the fifteenth ACM symposium on Operating systems principles","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/224056.225832","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 24

Abstract

A large number of diverse scheduling objectives have been proposed and used in various operating system designs, including absolute/relative throughput and response time measures, predict able (i. e., low variance) performance, proportional resource allocation, avoiding indefinite postponement, and satisfying real-time constraints. Many of these objectives are in conflict, and thus most scheduling algorithms have been designed to meet only a subset of these goals. In addition to supporting multiple diverse scheduling objectives, a principal design challenge is to provide effective control over resource allocation to achieve the desired performance requirements for these simultaneous objectives. Unfortunately, most scheduling strategies do not support flexible paramet erization of their algorithms to satisfy the varying performance requirements of different environments. Over the past several years we have been exploring the use of time-based functions to provide effective and flexible control over resource allocation to achieve the above scheduling objectives and performance requirements. This paper describes a general approach to resource management called time-finction sck.eduhng (TFS), which represents a generalization of our previous research activities. TFS is based on the concept of dynamic priorities that change according to general functions of the time each job has spent waiting for the resource of interest, although functions of measures other than waiting time can be used. A large and diverse set of scheduling objectives and performance requirements is achieved by employing time-functions with properties that match these requirements. Moreover, various mechanisms can be used to dynamically adjust these time-functions in response to changes in the system workload so that the desired objectives are continuously satisfied. These properties are achieved by exploiting the strong theoretical foundation of our approach, which is in stark contrast to the ad hoc and poorly understood methods employed in most existing resource allocation technologies. Permission to make digital/hard copy of part or all of thk work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage, the copyright notice, the title of the publication and its date appear, and notice is given that ~pying is by permission of ACM, Inc. To copy otherwise, to republish, to post on servers, or to redistribute to lists, requires prior speeific permission and/or a fee. SIGOPS ’95 12/95 00, USA 01995 ACM 0-89791-71 5-4/95/0012...$3.50 Resource We have developed a prototype implementation of a relatively simple form of TFS. We use this experimental platform to compare the control over resource allocation provided by TFS with that obtained under the standard UNIX decayusage scheduling algorithm and the recently proposed lottery scheduling algorithm [2] for various workloads representative of scientific and commercial computing environments. Our results demonstrate the ability of TFS to effectively and efficiently provide a level of resource allocation control that is not possible with most scheduling policies. In the few instances where some control is provided, the ability to achieve different performance requirements can be quite difficult (if not impossible), the range of control is often very limited, and the control mechanisms are poorly understood in general. Our numerous experiments with decay-usage scheduling confirm these observations. Lottery scheduling is one of the few methods appearing in the research literature with objectives somewhat similar to TFS in that lottery supports control over the relative execution rates of computations. Our experimental results demonstrate that TFS achieves the same proportional execution rate goals while significantly reducing the waiting time variance, in some cases by as much as several orders of magnitude. We further demonstrate that TFS provides very fast and stable convergence to these resource allocation goals and minimal variability in response, due to the more deterministic control properties of TFS. There has been very little work on scheduling to minimize variance while also satisfying other performance requirements, which is particularly important in commercial transaction processing environments. These performance benefits are obtained with a simple, straightforward implementation of TFS that exhibits overheads comparable to lottery scheduling. We refer the interested reader to [I] for a full-length version of this paper.
时间函数调度:控制资源的一种通用方法
在各种操作系统设计中,已经提出并使用了大量不同的调度目标,包括绝对/相对吞吐量和响应时间度量、可预测(即低方差)性能、比例资源分配、避免无限期延迟和满足实时约束。这些目标中有许多是相互冲突的,因此大多数调度算法被设计为只满足这些目标的一个子集。除了支持多个不同的调度目标之外,一个主要的设计挑战是提供对资源分配的有效控制,以实现这些同步目标的预期性能需求。不幸的是,大多数调度策略不支持灵活的算法参数化,以满足不同环境的不同性能需求。过去数年,我们一直在探索使用以时间为基础的功能,为资源分配提供有效和灵活的控制,以达到上述调度目标和性能要求。本文描述了一种称为时间函数sck. eduhning (TFS)的一般资源管理方法,它代表了我们以前的研究活动的概括。TFS基于动态优先级的概念,该概念根据每个作业等待感兴趣的资源所花费的时间的一般函数而变化,尽管可以使用等待时间以外的度量函数。通过使用具有与这些需求匹配的属性的时间函数,可以实现大量不同的调度目标和性能需求。此外,可以使用各种机制来动态调整这些时间函数,以响应系统工作负载的变化,从而持续满足期望的目标。这些特性是通过利用我们方法的强大理论基础来实现的,这与大多数现有资源分配技术中使用的临时和难以理解的方法形成鲜明对比。允许制作部分或全部作品的数字/硬拷贝供个人或课堂使用,但不收取任何费用,前提是副本的制作或分发不是为了盈利或商业利益,版权声明、出版物标题和发布日期必须出现,并且要注明是由ACM, Inc.许可的。以其他方式复制、重新发布、在服务器上发布或重新分发到列表,需要事先获得特定许可和/或付费。我们已经开发了一个相对简单形式的TFS的原型实现。我们利用这个实验平台,将TFS提供的对资源分配的控制与标准UNIX decayusage调度算法和最近提出的彩票调度算法[2]下的控制进行比较,以代表科学和商业计算环境的各种工作负载。我们的结果表明,TFS能够有效和高效地提供大多数调度策略无法实现的资源分配控制级别。在提供一些控制的少数情况下,实现不同性能需求的能力可能相当困难(如果不是不可能的话),控制的范围通常非常有限,并且控制机制通常很难理解。我们对衰减使用调度的大量实验证实了这些观察结果。彩票调度是研究文献中为数不多的几种方法之一,其目标与TFS有些相似,因为彩票支持对计算的相对执行速率进行控制。我们的实验结果表明,TFS在显著减少等待时间方差的同时,达到了相同的比例执行率目标,在某些情况下甚至减少了几个数量级。我们进一步证明,由于TFS更具确定性的控制特性,TFS提供了非常快速和稳定的收敛到这些资源分配目标和最小的响应可变性。在最小化差异的同时满足其他性能需求的调度工作很少,这在商业事务处理环境中尤为重要。这些性能优势是通过简单、直接的TFS实现获得的,其开销与彩票调度相当。我们建议感兴趣的读者参阅[I]以获取本文的完整版本。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信