KernelOracle: Predicting the Linux Scheduler's Next Move with Deep Learning
Sampanna Yashwant Kahu

TL;DR
This paper explores using deep learning, specifically LSTM networks, to predict Linux kernel scheduling decisions, aiming to create more adaptive and data-driven task schedulers based on real-world CFS behavior.
Contribution
It introduces a novel dataset of Linux scheduling behavior and develops an LSTM model to accurately forecast the next scheduled task, advancing data-driven kernel scheduling research.
Findings
LSTM model achieves high prediction accuracy.
Generated a comprehensive Linux scheduling dataset.
Demonstrated potential for integrating deep learning into kernel schedulers.
Abstract
Efficient task scheduling is paramount in the Linux kernel, where the Completely Fair Scheduler (CFS) meticulously manages CPU resources to balance high utilization with interactive responsiveness. This research pioneers the use of deep learning techniques to predict the sequence of tasks selected by CFS, aiming to evaluate the feasibility of a more generalized and potentially more adaptive task scheduler for diverse workloads. Our core contributions are twofold: first, the systematic generation and curation of a novel scheduling dataset from a running Linux kernel, capturing real-world CFS behavior; and second, the development, training, and evaluation of a Long Short-Term Memory (LSTM) network designed to accurately forecast the next task to be scheduled. This paper further discusses the practical pathways and implications of integrating such a predictive model into the kernel's…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed and Parallel Computing Systems · Parallel Computing and Optimization Techniques · Advanced Data Storage Technologies
