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

Frame scheduling #1059

Closed
splhack opened this issue Nov 2, 2021 · 1 comment
Closed

Frame scheduling #1059

splhack opened this issue Nov 2, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@splhack
Copy link
Contributor

splhack commented Nov 2, 2021

I'm not so sure this is a bug or a designed spec. But a common expectation of job scheduler is

https://lists.aswf.io/g/opencue-user/topic/81488413#414
A useful default might be highest priority and then oldest first, for example.

The oldest will run first if the priority is the same.

The SQL uses ORDER BY only with priority.

"ROW_NUMBER() OVER (ORDER BY job_resource.int_priority DESC) AS rank, " +

I think we can change this to achieve highest priority first and then oldest int the same priority.

(ORDER BY job_resource.int_priority DESC, job.ts_started ASC)

We can also use opencue.properties to change the runtime behavior.

  • dispatcher.dispatch_oldest_first_in_priority
    • false(default): (ORDER BY job_resource.int_priority DESC)
    • true: (ORDER BY job_resource.int_priority DESC, job.ts_started ASC)

Is this specifically designed to not to use the age of job?
Any thoughts?

@splhack splhack added the bug Something isn't working label Nov 2, 2021
@splhack
Copy link
Contributor Author

splhack commented Dec 15, 2021

Set true to dispatcher.fifo_scheduling_enabled property to enable FIFO scheduling.

@splhack splhack closed this as completed Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant