| Crates.io | scx_rlfifo |
| lib.rs | scx_rlfifo |
| version | 1.0.16 |
| created_at | 2024-06-03 20:30:23.559281+00 |
| updated_at | 2025-09-05 23:15:40.80396+00 |
| description | A simple FIFO scheduler in Rust that runs in user-space |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1260495 |
| size | 78,824 |
This is a single user-defined scheduler used within sched_ext, which is a Linux kernel feature which enables implementing kernel thread schedulers in BPF and dynamically loading them. Read more about sched_ext.
scx_rlfifo is a simple Round-Robin scheduler runs in user-space, based on the
scx_rustland_core framework.
It dequeues tasks in FIFO order and assigns dynamic time slices, preempting and
re-enqueuing tasks to achieve basic Round-Robin behavior.
This scheduler is provided as a simple template that can be used as a baseline to test more complex scheduling policies.
Definitely not. Using this scheduler in a production environment is not
recommended, unless there are specific requirements that necessitate a basic
FIFO scheduling approach. Even then, it's still recommended to use the kernel's
SCHED_FIFO real-time class.