Skip to content

scx_flow: update to 5.2.14 - #3975

Merged
sirlucjan merged 1 commit into
sched-ext:mainfrom
galpt:scx_flow_5.2.14
Nov 10, 2026
Merged

sirlucjan merged 1 commit into
sched-ext:mainfrom
galpt:scx_flow_5.2.14

Conversation

@galpt

@galpt galpt commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

What's new from the last PR

  1. Pure deadline order returns with the wakeup nudge removed plus each per CPU queue holds tasks in deadline order with equal deadlines in insertion order plus a single kick per run.

  2. Bounded overload control adds guaranteed admit plus evict plus reclaim plus admit uses live plus tolerance plus bound plus room plus cap plus a full target evicts at most one ready task with the latest deadline in the lowest band through a bounded scan of at most eight plus rejects stay in fallback in FIFO order plus stopping plus tick reclaim at most one saved burst with idle only kick.

More details

This is a reworked version of scx_flow. Enough testing was done in v4 with experiments like the web UI and others. Starting with v5 in this PR, the goal is to make the file structure less confusing and keep it as lean as possible.

We're also trying to test some stuff included in lib, right now scx_flow uses EDQ for the queues. Things look good so far.

Still using EDF plus virtual deadline, inspired by the RED paper. The next PR will probably be about load balancing the tasks.

Changes

  • 4a54b03 scx_flow: update to 5.2.14

Sync scheds/experimental/scx_flow to standalone scx/ at 6d202870
(6d202870f232cbcf1a92f5983faf6902bef7d9a3) over upstream main b0efa3f
(b0efa3f) via rsync -a --delete
--exclude target/ --exclude LICENSE from scx_flow_new/scx.

LICENSE stays symlink to ../../../LICENSE, version 5.2.14 kept.
libbpf-rs =0.27.2 plus scx_* 1.1.4 path deps match workspace
(rust/scx_utils 1.1.4 plus rust/scx_arena 1.1.4); standalone CI pin e7b3a21
verified the same dep set. Cargo.lock updated for 4.8.16 -> 5.2.14 with
scx_arena dep. Old per-CPU .bpf.c layout removed plus new .bpf.h layout added
with both lib links tracked.

Pure deadline order returns with the wakeup nudge removed plus each per-CPU
queue holds tasks in deadline order with equal deadlines in insertion order
plus a single kick per run.

Bounded overload control adds guaranteed admit plus evict plus reclaim plus
admit uses live plus tolerance plus bound plus room plus cap plus a full target
evicts at most one ready task with the latest deadline in the lowest band
through a bounded scan of at most eight plus rejects stay in fallback in FIFO
order plus stopping plus tick reclaim at most one saved burst with idle only
kick.

Verification: both lib links c2c14b9 plus maps 3 plus headers 7 plus ops 13
plus Cargo 5.2.14 plus cargo metadata --frozen clean.

Signed-off-by: Galih Tama <galpt@v.recipes>
@sirlucjan
sirlucjan added this pull request to the merge queue Nov 10, 2026
Merged via the queue into sched-ext:main with commit 3763f43 Nov 10, 2026
13 of 14 checks passed
@galpt
galpt deleted the scx_flow_5.2.14 branch November 17, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants