Repository navigation
scx_flow: update to 5.2.14 - #3975
Merged
Merged
Conversation
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
approved these changes
Nov 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's new from the last PR
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.
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
4a54b03scx_flow: update to 5.2.14