Skip to content

Commit

Permalink
docs: update linux-cpu-schedulers
Browse files Browse the repository at this point in the history
  • Loading branch information
RiverOnVenus committed Jan 22, 2024
1 parent 17ec439 commit 83e4f95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _posts/2022-11-09-linux-cpu-schedulers.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ comments: true

>Photo by <a href="https://unsplash.com/@luchox23?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText" target="_blank">Luis Gonzalez</a> on <a href="https://unsplash.com/s/photos/ryzen?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText" target="_blank">Unsplash</a>
*最后更新时间:Tue Nov 6 10:39:58 PM CST 2023*
*最后更新时间:Mon Jan 22 09:38:11 PM CST 2024*

对于各种 CPU 调度器,很多人的看法和得到的反馈不一样。有的人想要“压榨” CPU 的性能,将其发挥到极致,他们通常会因为某个调度器带来的一点点性能提升而高兴;有的人真实的感受到了在高负载环境下系统的响应能力提升;有的人对此嗤之以鼻;有的人无所谓这点性能或响应能力;有的人在不同调度器上得到了负优化。

下面这些是我目前了解到的 CPU 调度器。BFS 和 MuQSS 曾经都是由 Con Kolivas 开发维护,但两者现在都处于无人维护的状态。Baby, CacULE 和 TT 都是由 Hamad Al Marri 开发维护,其中 Baby 是让 CPU 调度器爱好者学习用的,在 CK 宣布[放弃维护 MuQSS](https://ck-hack.blogspot.com/2021/08/514-and-future-of-muqss-and-ck-once.html){:target="blank"} (截止到 5.12) 后,Hamad 也随后放弃维护 CacULE (截止到 5.14), Peter Jung 接手 CacULE (5.15 - 6.1)的维护工作 (6.1 后他也不再维护 CacULE),两个月后 Hamad 发布了新的 CPU 调度器——TT, 由于精力有限,他只维护 TT 的 LTS 版本 。Bore 是在 CFS 上进行一些修改,由 mu(Masahito Suzuki) 开发维护。BMQ 和 PDS 现在都属于 Project C, 由 Alfred Chen 开发维护。EEVDF 由 Intel Linux 工程师 Peter Zijlstra 开发维护。

从 Linux 6.6 开始,EEVDF 合并到主线取代了 CFS, BMQ/PDS/TT 还未 rebase.
**从 Linux 6.6 开始,EEVDF 合并到主线取代了 CFS**, ~~BMQ/PDS/~~TT 还未 rebase.

- [Baby](https://github.com/hamadmarri/Baby-CPU-Scheduler){:target="blank"} - A very basic and lightweight yet very performant CPU scheduler. Can be used for learning purposes as a base ground CPU scheduler on Linux.
- [BFS](https://www.phoronix.com/scan.php?page=search&q=Brain+Fuck+Scheduler){:target="blank"} - BFS (Brain Fuck Scheduler) is a process scheduler designed for the linux kernel as an alternative to the Completely Fair Scheduler.
Expand Down

0 comments on commit 83e4f95

Please sign in to comment.