#linux-kernel #scheduler #userspace #fifo #bpf #scheduling #thread

app scx_rlfifo

A simple FIFO scheduler in Rust that runs in user-space

10 stable releases

1.0.9 Feb 5, 2025
1.0.8 Dec 16, 2024
1.0.6 Nov 6, 2024
1.0.5 Oct 2, 2024
0.0.3 Jun 3, 2024

#95 in Unix APIs

Download history 116/week @ 2024-11-06 4/week @ 2024-11-13 4/week @ 2024-11-20 123/week @ 2024-12-04 142/week @ 2024-12-11 36/week @ 2024-12-18 18/week @ 2024-12-25 151/week @ 2025-02-05

151 downloads per month

GPL-2.0-only

20KB
112 lines

scx_rlfifo

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.

Overview

scx_rlfifo is a simple FIFO scheduler runs in user-space, based on the scx_rustland_core framework.

Typical Use Case

This scheduler is provided as a simple template that can be used as a baseline to test more complex scheduling policies.

Production Ready?

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.

Dependencies

~53MB
~646K SLoC

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy