Skip to content

scx_flow: update to 5.2.23 - #3981

Open
galpt wants to merge 1 commit into
sched-ext:mainfrom
galpt:scx_flow_5.2.23
Open

galpt wants to merge 1 commit into
sched-ext:mainfrom
galpt:scx_flow_5.2.23

Conversation

@galpt

@galpt galpt commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

What's new from the last PR

  1. Adjusted EWMA to react faster.

More details

  1. Smoothed pricing folds five run observables with one shared shift gain. The gain moves from one quarter of sample to three quarters of sample in one shift, so stable tasks track fresh runs faster.

Changes

  • 7dcd8f0 scx_flow: Speed up smoothed run tracking

@galpt galpt closed this Nov 12, 2026
@galpt galpt reopened this Nov 12, 2026
Smoothed pricing folds five run observables with one shared
shift gain. The gain moves from one quarter of sample to three
quarters of sample in one shift, so stable tasks track fresh
runs faster.

Signed-off-by: Galih Tama <galpt@v.recipes>
@galpt
galpt marked this pull request as ready for review November 12, 2026 23:39
@arighi

arighi commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

This is not about this PR in particular, it's more about PRs in general. Would it be possible to use more descriptive titles for PRs instead of version numbers? I find it really helpful to see at a glance what each PR is introducing without having to open them all up.

return sample;
return old - (old >> 2) + (sample >> 2);
return (old + 3 * sample) >> 2;
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new weighting looks reasonable, but flow_ewma_next() has no callers, so changing it doesn't affect the scheduler, unless I'm missing something obvious.

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