Solaris系统资源管理器:我想要的只是我的不公平优势(以及为什么你不能拥有它!)
Solaris System Resource Manager: All I Ever Wanted Was My Unfair Advantage (And Why You Can't Have It!)
摘要:
传统的UNIX分时调度器试图通过采用循环式算法来分配CPU时间,从而对所有用户公平。不幸的是,存在一个漏洞,调度程序可以偏向于运行许多短CPU时间进程的贪婪用户。这个漏洞并不是一个缺陷,而是循环调度程序的固有属性,它确保了对与多个交互式用户相关的短CPU需求的响应。新一代的UNIX系统资源管理软件将调度程序限制为对所有用户都是公平的,而不管每个用户可能正在运行的进程的数量。这种“公平份额”调度借鉴了跨用户和组按比例分配资源“份额”的概念,然后动态调整CPU使用率以满足这些份额比例。但是,静态分配这些份额的简单概念掩盖了对性能的潜在影响,这些影响是通过用户响应时间和服务级别目标来衡量的。我们证明了这一点,通过建模几个简单的份额分配方案,并分析相应的性能影响。本文还简要比较了HP、IBM和SUN的商业系统资源管理实现。
英文摘要:
Traditional UNIX time-share schedulers attempt to be fair to all users by employing a round-robin style algorithm for allocating CPU time. Unfortunately, a loophole exists whereby the scheduler can be biased in favor of a greedy user running many short CPU-time processes. This loophole is not a defect but an intrinsic property of the round-robin scheduler that ensures responsiveness to the short CPU demands associated with multiple interactive users. A new generation of UNIX system resource management software constrains the scheduler to be equitable to all users regardless of the number of processes each may be running. This "fair-share" scheduling draws on the concept of pro rating resource "shares" across users and groups and then dynamically adjusting CPU usage to meet those share proportions. The simple notion of statically allocating these shares, however, belies the potential consequences for performance as measured by user response time and service level targets. We demonstrate this point by modeling several simple share allocation scenarios and analyzing the corresponding performance effects. A brief comparison of commercial system resource management implementations from HP, IBM, and SUN is also given.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。