藉由 sched_ext 實作客製化 Linux CPU 排程器

時間
2025年8月09日 15:00 ~ 15:30
講者
EricccTaiwan (周呈陽), 邱柏穎
位置
TR213
漢語入門
System Software

簡介

“I’m also not a believer in the argument that has been used (multiple times) that the BPF scheduler would keep people from participating in scheduler development.” - Linus Torvalds

Linux v6.12 引入的 sched_ext (scx) 允許開發者藉由 eBPF,在使用者空間動態載入或抽換 CPU 排程器。本議程嘗試結合機器學習,利用 BPF map 彙整 CPU 排程相關事件資料,依據推論動態調整 time slice、CPU affinity 與 task migration。預計探討以下:

  • 回顧 CFS/EEVDF
  • sched_ext 的創新和相關機制
  • 從客製化的 FCFS/RR 排程器到機器學習,並引入負載預測機制
  • Retargeting upstream schedulers

關於講者

EricccTaiwan (周呈陽)

EricccTaiwan (周呈陽)

Cheng-Yang Chou is currently pursuing graduate studies at the Institute of Computer and Communication Engineering, National Cheng Kung University. He has interned at both an IC design company and a startup, gaining solid hands-on experience in low-level system development. Recently, he has been focusing on research related to the Linux scheduler and sched_ext, and is deeply passionate about Linux kernel development. He is actively seeking career opportunities in fields related to Linux system development.

LinkedIn: https://www.linkedin.com/in/yphbchou0911/

GitHub: https://github.com/EricccTaiwan

Kernel Contribution: https://lore.kernel.org/all/?q=yphbchou0911

周呈陽目前就讀於成功大學電腦與通信工程研究所,曾於 IC 設計公司與新創公司擔任實習生,累積了扎實的底層實務經驗。近期專注於 Linux 排程器與 sched_ext 的研究,對 Linux 核心開發懷抱高度熱忱,期望能投入相關領域,尋找與 Linux 系統開發相關的職涯機會。

邱柏穎

邱柏穎

就讀於成功大學電腦及通訊工程學系,近期致力於研究 Linux 核心排程機制,並學習 sched_ext 相關內容。