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

Cuebot reserve all cores #1313

Open
wants to merge 75 commits into
base: master
Choose a base branch
from

Conversation

KernAttila
Copy link
Contributor

Link the Issue(s) this Pull Request is related to.
Fixes #1297

Summarize your change.
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

This PR addresses this feature by handling negative core requests.
Cuebot will try to match this number against the number of cores on each host.
The frame will be booked only if all cores are available in this scenario.
If the host is busy (even slightly), the frame is not booked, to avoid filling the remaining cores.

Testing
I would need some guidance to create proper tests for cuebot.

Screenshot
negative_cores

KernAttila and others added 30 commits May 31, 2023 12:49
@bcipriano
Copy link
Collaborator

Very interesting addition, thanks for sending this!

I haven't dug into this much yet but I brought it up during the TSC meeting, we're going to discuss some more.

One thing to note -- we'll definitely want to wrap this in a flag so it can be turned on and off. Scheduling changes are always tricky and we don't want to disrupt other folks too much.

@bcipriano
Copy link
Collaborator

@DiegoTavares Let me know if y'all have thoughts on this.

@KernAttila
Copy link
Contributor Author

@bcipriano Would you recommand it to be on or off by default ?

Copy link
Collaborator

@DiegoTavares DiegoTavares left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO we should default to keeping this feature disabled. Very well implemented and an interesting feature to have.

Would you mind writing a blog post explaining the concept and how to use it?

@KernAttila
Copy link
Contributor Author

IMO we should default to keeping this feature disabled. Very well implemented and an interesting feature to have.

Would you mind writing a blog post explaining the concept and how to use it?

Thanks for the review.

I don't have access to a Linux farm at the moment, but we are doing a Windows set-up very soon.
I'll need a bit more time for this one, and I will try to have that blog post ;)

@DiegoTavares
Copy link
Collaborator

DiegoTavares commented May 21, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle negative core requests
3 participants