Use of eBPF in CPU Scheduler

# · 🔥 147 · 💬 26 · 2 years ago · linuxplumbersconf.org · marcodiego · 📷
In this talk, I will describe a set of eBPF applications that help monitor and enhance cpu scheduling performances. I will talk about an application of eBPF to collect scheduling latency stats. For background, I will first introduce the scheduler feature core scheduling which is developed for mitigating L1TF cpu vulnerability. Then I will introduce the eBPF feature ksym which enables this application and describe how eBPF can help report the forced idle time, a type of cpu usage inefficiency caused by core scheduling. The third application of eBPF is to assist userspace scheduling. GhOSt is a framework open sourced by Google to enable general-purpose delegation of scheduling policy to userspace processes in a Linux environment. GhOSt uses BPF acceleration for policy actions that need to happen closer to scheduling edges.
Use of eBPF in CPU Scheduler



Send Feedback | WebAssembly Version (beta)