-
Notifications
You must be signed in to change notification settings - Fork 94
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
Internal queues: time window as well as active task limit? #2616
Comments
This seems like a good idea, should be fairly simple to implement. To mix this in with the larger issue of resource scheduling, possible queue configurations:
|
@oliver-sanders - are you suggesting dynamic evaluation of queue release criteria? (I think you are, but just checking!) |
(good ideas above, by the way) |
More outlining than suggesting but it would be required, yes. |
We ran into this a while back, and this is definitely a useful thing to have. However, when looking into this (particularly when interfacing with batch schedulers), it seemed like Cylc queues weren't necessarily the right place to solve this, but the scheduling system was, largely because the problem of preemption is linked to the job start time and duration rather than the submit time (which is the only thing that Cylc can control). For the case that's raised, one could imagine if the desired behavior was on a system with PBS, the implementation could submit the task right away, but with additional directives that specify the time at which the job would be eligible to execute, even though it would be submitted directly to the queue. |
@trwhitcomb - I agree, the batch system is the proper place to handle this sort of thing. But even so, Cylc could help here, e.g. if you don't have sufficient control over batch system configuration, or are using background jobs. Not a high priority at the moment though. |
Internal queues currently release tasks according to the
limit
setting, which limits the number of tasks that can be active at once. Would it be useful to give queues an optional time window too, to allow (say) long-running suites that only submit jobs overnight when the host system is not busy?Ref: https://groups.google.com/forum/#!topic/cylc/jB8PVSKfEW4
The text was updated successfully, but these errors were encountered: