内核调度器中的CFS和FIFO
我是 Linux 内核新手。
我正在阅读这篇内容丰富的文章,其中提到 Linux 内核 2.6 正在使用完全公平调度 (CFS),但另一篇相关文章显示运行队列是 FIFO。显然有一些事情没有引起我的注意。它是什么?
http://www.ibm.com/developerworks/linux/ Library/l-completely-fair-scheduler/
和
http://www.ibm.com/developerworks/linux/library/l-scheduler/
I am new to Linux Kernel.
I am reading this informative article that says Linux kernel 2.6 is using Completly Fair Scheduling (CFS) but another related article is showing that run-queues are FIFO. Obviously there is something that has missed my attention. What is it ?
http://www.ibm.com/developerworks/linux/library/l-completely-fair-scheduler/
and
http://www.ibm.com/developerworks/linux/library/l-scheduler/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您阅读了链接到的第一篇文章吗?它就在副标题“自 2.6.23 起提供对 CPU 的公平访问”中说。
也就是说,在 2.6.23 版本中,旧的 O(1) 调度程序被 CFS 调度程序取代。
Did you read the 1st article you linked to? It says right there in the subheading "Providing fair access to CPUs since 2.6.23".
That is, the old O(1) scheduler was replaced by the CFS scheduler in the 2.6.23 release.