首页> 外文会议>Real-Time Systems Symposium, 1996., 17th IEEE >A proportional share resource allocation algorithm for real-time, time-shared systems
【24h】

A proportional share resource allocation algorithm for real-time, time-shared systems

机译:实时,时分系统的按比例分配资源分配算法

获取原文

摘要

We propose and analyze a proportional share resource allocation algorithm for realizing real-time performance in time-shared operating systems. Processes are assigned a weight which determines a share (percentage) of the resource they are to receive. The resource is then allocated in discrete-sized time quanta in such a manner that each process makes progress at a precise, uniform rate. Proportional share allocation algorithms are of interest because: they provide a natural means of seamlessly integrating real and non-real-time processing; they are easy to implement; they provide a simple and effective means of precisely controlling the real-time performance of a process; and they provide a natural means of policing so that processes that use more of a resource than they request have no ill-effect on well-behaved processes. We analyze our algorithm in the context of an idealized system in which a resource is assumed to be granted in arbitrarily small intervals of time and show that our algorithm guarantees that the difference between the service time that a process should receive and the service time it actually receives is optimally bounded by the size of a time quantum. In addition, the algorithm provides support for dynamic operations, such as processes joining or leaving the competition, and for both fractional and non-uniform time quanta. As a proof of concept we have implemented a prototype of a CPU scheduler under FreeBSD. The experimental results shows that our implementation performs within the theoretical bounds and hence supports real-time execution in a general purpose operating system.
机译:我们提出并分析了按比例分配资源的分配算法,以在分时操作系统中实现实时性能。为进程分配一个权重,该权重确定要接收的资源的份额(百分比)。然后以离散大小的时间量分配资源,以使每个过程都以精确,统一的速率进行。比例份额分配算法之所以令人关注,是因为:它们提供了一种无缝集成实时和非实时处理的自然方法;它们易于实现;它们提供了一种简单有效的方法来精确控制流程的实时性能。并且它们提供了一种自然的策略手段,从而使使用过多资源的进程不会对行为良好的进程产生不良影响。我们在理想化系统的背景下分析我们的算法,在该系统中,假定以任意小的时间间隔授予资源,并且表明我们的算法保证了进程应接收的服务时间与实际服务时间之间的差异。接收最好由时间量的大小限制。此外,该算法还支持动态操作(例如加入或退出竞争的流程)以及分数和非均匀时间量子。作为概念验证,我们在FreeBSD下实现了CPU调度程序的原型。实验结果表明,我们的实现在理论范围内执行,因此支持通用操作系统中的实时执行。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号