Replies: 4 comments 14 replies
-
This situation is unfortunate and HQ scheduler should definitely avoid this situation even without user tweaking. We already supports dynamic change of priorities but it is now used only for resource management (e.g. when we get in the situation where few gpu workers are available, gpu tasks are prioritized). But it is implemented in the inner scheduler that is not aware of jobs and see all tasks equally. I like both ideas, but I have to think about it more, because there are lots of nuances in priorities, but it is solvable. |
Beta Was this translation helpful? Give feedback.
-
FYI I have spent some time on this problem and I have found some other shortcomings of the current internal priority assignments. I will try to fix it (at least partially) next week. |
Beta Was this translation helpful? Give feedback.
-
Update: I did some simple tests and it seems that part of the problem is fixable while not being too disruptive. But the solution is conflicting with a big change that I am currently preparing. I hope that I will finally merge the change next week and then I will fix this. |
Beta Was this translation helpful? Give feedback.
-
@spirali Could you assign even a bit higher priority to the near-complete jobs? Right now, after the fix in #899, I have the following jobs: ![]() The jobs were started in 2 batches: first I started the first 5 jobs and after a few days the last 4 jobs. I would like if some tasks from jobs 1 and 3 were started before the 258 tasks in job 6. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following job info now (with some values redacted):
It turns out that HQ keeps scheduling tasks from job 4 and jobs 2-3 will have to wait until their tasks get scheduled. In this case, ideally, I would like to have the near-complete jobs finish as soon as possible.
I could change the priority of my tasks (which are all equal right now) but there are two problems:
(job-priority, task-priority)
as a tuple.Beta Was this translation helpful? Give feedback.
All reactions