Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More intelligent scheduler #279

Merged
merged 6 commits into from
May 10, 2024
Merged

More intelligent scheduler #279

merged 6 commits into from
May 10, 2024

Conversation

EricLBuehler
Copy link
Owner

@EricLBuehler EricLBuehler commented May 9, 2024

Introduces sequence priority, a function of the number of scheduling passes since it was run, and the length. This prepares for #262.

We multiply to ensure that if the sequence is long, but it was just scheduled, then newer sequences get a chance too.

Formula:
$Priority = \log_2{Length} + Urgency$

Where the urgency is the number of scheduler passes since the sequence was scheduled.

@EricLBuehler EricLBuehler added the new feature New feature or request label May 9, 2024
@EricLBuehler EricLBuehler linked an issue May 10, 2024 that may be closed by this pull request
@EricLBuehler EricLBuehler merged commit 6b0dc84 into master May 10, 2024
10 checks passed
@EricLBuehler EricLBuehler deleted the multiplex_scheduler branch May 10, 2024 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New multiplexing scheduler
1 participant