Simplify backfill window to always return full projection - #68
Merged
Merged
Conversation
- Remove the full_horizon option across the C++, Python, and gRPC APIs. - Always include projected releases for all running jobs and update the dispatcher, tests, and documentation accordingly. Changes in the current worktree: - Scheduler API: adds on-demand waiting_resource_area() and shared prediction_horizon() logic. - Existing FCFS implementations: scan their existing queue entries only when prediction is requested. - Backfill window: always returns all projected running-job releases; removes full_horizon. - gRPC/Python: exposes prediction-horizon queries. - Dispatcher: adds performance-aware multi-system routing. - Tests/CMake: adds dispatcher, standard-FCFS, Python, and gRPC coverage. - Documentation: describes the new APIs and dispatch workflow. Runtime qualifications: - Normal scheduling has no new ongoing bookkeeping. - Prediction queries cost roughly O(Q + R log R) with temporary O(R) storage. - get_backfill_window() also constructs its release map only when queried. - FCFS-alt now writes its reservation into the already-existing m_fcfs_reservation_time field instead of a local variable. That is a correctness fix, not new state.
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.
Changes in the current worktree:
Runtime qualifications: