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

Sampanna Yashwant Kahu
5/21/2025
cs.LGcs.OS

No confident code implementation found for this paper.

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.

Show full abstract

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 scheduling framework. The findings and methodologies presented herein open avenues for data-driven advancements in kernel scheduling, with the full source code provided for reproducibility and further exploration.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kahu2025kerneloracle,
  title  = {KernelOracle: Predicting the Linux Scheduler's Next Move with Deep Learning},
  author = {Sampanna Yashwant Kahu},
  year   = {2025},
  eprint = {2505.15213},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.15213v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.15213.svg)](https://codeofpaper.com/paper/2505.15213)

Discussion