Cpufreq_ext Being Worked On For BPF-Based CPU Frequency Scaling
([Linux Kernel] 4 Hours Ago
cpufreq_ext)
- Reference: 0001494912
- News link: https://www.phoronix.com/news/cpufreq_ext-RFC
- Source link:
The newly-merged [1]sched_ext allows for the Linux kernel scheduler to be made more extensible by allowing BPF programs to be loaded to affect the kernel's scheduling behavior. There's now a similar take on CPU frequency scaling: cpufreq_ext. There's a "request for comments" patch series on cpufreq_ext for making extensible CPU frequency scaling algorithm adaptations with BPF.
Yipeng Zou of Huawei has proposed cpufreq_ext as a CPU frequency governor based on BPF to allow for customizing and implementing different CPU frequency scaling strategies. Cpufreq_ext wants to provide a customizable framework for different systems and applications by providing greater CPUFreq control than other kernel-based options or the userspace governor that is less flexible. Cpufeq_ext can also integrate with sched_ext.
Those curious about this cpufreq_ext proposal can find the initial RFC patches on the [2]Linux power management mailing list where it's undergoing discussion.
[1] https://www.phoronix.com/search/sched_ext
[2] https://lore.kernel.org/linux-pm/20240927101342.3240263-1-zouyipeng@huawei.com/
Yipeng Zou of Huawei has proposed cpufreq_ext as a CPU frequency governor based on BPF to allow for customizing and implementing different CPU frequency scaling strategies. Cpufreq_ext wants to provide a customizable framework for different systems and applications by providing greater CPUFreq control than other kernel-based options or the userspace governor that is less flexible. Cpufeq_ext can also integrate with sched_ext.
Those curious about this cpufreq_ext proposal can find the initial RFC patches on the [2]Linux power management mailing list where it's undergoing discussion.
[1] https://www.phoronix.com/search/sched_ext
[2] https://lore.kernel.org/linux-pm/20240927101342.3240263-1-zouyipeng@huawei.com/
fong38