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

402 advance scheduling improvements #403

Merged
merged 38 commits into from
Nov 6, 2024

Conversation

kthare10
Copy link
Collaborator

@kthare10 kthare10 commented Nov 6, 2024

#402
Changes Made:

  • Orchestrator Update: Enhanced to query resources from the Broker’s BQM at level = 0, providing full capacity details of testbed resources. This information is automatically refreshed every 30 minutes by default.

  • Advanced Scheduling:

    • API Enhancement: The API now allows specifying a future time range by passing start, end, and the lifetime of the slice (in hours).
    • Time Range: The specified time range (start and end) represents the interval within which the ControlFramework checks for resource availability for the requested lifetime duration.
    • Asynchronous Processing: Requests for future slices are handled asynchronously to enhance performance. Processing them synchronously could increase response time.
    • AdvanceSchedulingThread:
      • Attempts to determine a feasible start time for the requested resources within the specified time interval (start-end).
      • If a start time is found, the slice is scheduled at that time. Users will see this update as fablib submit periodically polls for slice status.
      • If no start time is found, the request is processed with the original start time and will fail with an "Insufficient resources" error if resources are unavailable.

@kthare10 kthare10 self-assigned this Nov 6, 2024
@kthare10 kthare10 linked an issue Nov 6, 2024 that may be closed by this pull request
@kthare10 kthare10 requested a review from paul-ruth November 6, 2024 17:43
@kthare10 kthare10 changed the base branch from main to rel1.8 November 6, 2024 17:44
@kthare10 kthare10 merged commit c81b1ab into rel1.8 Nov 6, 2024
3 checks passed
@kthare10 kthare10 deleted the 402-advance-scheduling-improvements branch November 6, 2024 19:23
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.

Advance Scheduling - improvements
2 participants