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
Satisfiability check within resource #478
Comments
Great idea! It may also be worthwhile to have a |
Conceptually, that's a good idea. But implementation wise, we will have to be very careful. In particular, I am worried about the performance implication that this will have on I was thinking to add this for the Now, for early feedback, I can see why we can add a lightweight check (check various limits) though. This won't be a full satisfiability check. But this would be useful as the first filter. Such a lightweight check will probably also belong to |
PR #504 resolves this. |
Creating this issue so that this can be addressed separate from Issue #468.
resource
has two match operations:match allocate
andmatch allocate_orelse_reserve
. The former doesn't tell whether the allocation request failed because of the current resource state (i.e., no resource available now) or the jobspec cannot be satisfied at all. By contrast, if the latter fails, that means the jobspec is not satisfiable -- No matter how far in the timeline I move my schedule point (as far as the resource state becomes pristine), the jobspec cannot be reserved.I propose we add
match allocate_orelse_satisfiability
to overcome this challenge. This is required to complete the qmanager integration with job-manager: if the jobspec is unsatisfiable, qmanager needs to send back a "request denied" to the alloc request; otherwise, it will keep trying to allocate on every job and resource event.The text was updated successfully, but these errors were encountered: