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

Handle negative core requests #1297

Open
KernAttila opened this issue Jun 2, 2023 · 3 comments · May be fixed by #1313
Open

Handle negative core requests #1297

KernAttila opened this issue Jun 2, 2023 · 3 comments · May be fixed by #1313
Labels
feature request New feature

Comments

@KernAttila
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Our park is made of machines with different core count.
We can't make dispatching rules based on a fixed number of cores to have only one job per machine,
some machines will still pick up 2 jobs.

Describe the solution you'd like
As in many render engines, we should be able to set a negative core requirement.

  • minCores=8 > reserve 8 cores
  • minCores=0 > reserve all cores
  • minCores=-2 > reserve all cores minus 2

Describe alternatives you've considered
As an alternative, we can put hosts in different allocation groups according to their resources.
But it makes handling jobs quite tedious.

@KernAttila KernAttila added the feature request New feature label Jun 2, 2023
@Ashray-1501
Copy link

Can i try please??

@KernAttila
Copy link
Contributor Author

Sure, I'll give you the proper branches to try it out when I'm back home tonight.
You'll need to build cuebot and use my updated cuesubmit branch to test it out.
So far we've been successful with this implementation

@KernAttila
Copy link
Contributor Author

You will need to build cuebot against this branch :
https://github.com/Wolf-Pipeline/OpenCue/tree/cuebot-reserve-all-cores
instructions here: https://www.opencue.io/docs/getting-started/deploying-cuebot/#option-4-build-from-source

And pull this branch to run cuebot + cuesubmit :
https://github.com/Wolf-Pipeline/OpenCue/tree/cuesubmit-dev

Let me know if you need some assistance.

@KernAttila KernAttila linked a pull request Aug 26, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants