优先级老化作为进程调度策略。有什么优点和缺点?
我一直在对优先级调度算法进行一些研究,尽管我发现优先级老化是一个非常基本(并且看似合理)的策略,但我几乎找不到有关它的信息。有人可以让我知道实现算法的问题和优点吗?谢谢!
I have been doing some research on priority scheduling algorithms, and although I find Priority Aging to be a very basic (and seemingly sound) strategy, I can barely find information about it. Could someone please let me know the issues and advantages of implementing an algorithm? Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
看来优先级老化会根据任务运行的时间和/或任务消耗的资源量来更改任务的优先级(通常较低)。
IBM 对 适用于 Linux、Unix 和 Windows 的 DB2 版本 9.7 中的优先级老化。
优先级老化的最大优点来自IBM的解释:
最大的缺点是优先级老化比先进先出队列更难实现,并且可能不会提供任何响应时间改进。
It appears that priority aging changes the priority of a task (usually lower) depending on how long the task has been running and / or how many resources the task consumes.
IBM has an explanation of the priority aging in DB2 version 9.7 for Linux, Unix, and Windows.
The biggest advantage of priority aging comes from the IBM explanation:
The biggest disadvantage is that priority aging is harder to implement than a first-in, first-out queue, and may not provide any response time improvement.
优先级调度的优点:
优先级调度的缺点:
Advantages of Priority Scheduling:
Disadvantages of Priority Scheduling:
根据老化过程的工作方式,最坏情况的行为可能与简单队列一样糟糕。
Depending on how the aging process works, the worst case behavior can be just as bad as a simple queue.