-
Notifications
You must be signed in to change notification settings - Fork 2k
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
allow configurable range of priorities >100 #15516
Comments
👋 @tgross If you don't mind, I'd like to take care of this. 🤓
For the second point, I can see two options:
|
The goal here is to give cluster admins greater range, so the minimum value should be the current hard-coded value. It's a good catch to note that So we that would give us the following:
Thanks @alessio-perugini! Looking forward to your PR! |
Closed by #16084 |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Users who want fine-grained control over job priorities combined with a large volume of jobs being submitted at once (ex. large batch workloads) have reported that having only 100 levels of priority isn't fine-grained enough. The range from 0 to 100 is arbitrary and hard-coded as a integer literal in all the various places it's used.
We can instead turn this constant into a server configuration value with a default of 100 (the default eval/job priority can be left at 50, or we could make that a configuration value as well). Because priority 0 is the lowest-priority in Nomad, this can be done without impacting backwards compatibility. It'd just be up for operators to set sensible values when they restart servers with new values.
cc @sofixa
The text was updated successfully, but these errors were encountered: