Skip to content

Expose min utilization for autoalloc#927

Merged
Kobzol merged 1 commit intoIt4innovations:mainfrom
Kobzol:autoalloc-min-utilization
Jun 13, 2025
Merged

Expose min utilization for autoalloc#927
Kobzol merged 1 commit intoIt4innovations:mainfrom
Kobzol:autoalloc-min-utilization

Conversation

@Kobzol
Copy link
Copy Markdown
Member

@Kobzol Kobzol commented Jun 13, 2025

Fixes: #886

@Kobzol Kobzol force-pushed the autoalloc-min-utilization branch from ee1b82f to 3b8043f Compare June 13, 2025 11:59
@Kobzol Kobzol marked this pull request as ready for review June 13, 2025 12:00
@Kobzol Kobzol requested a review from spirali June 13, 2025 12:00
@spirali
Copy link
Copy Markdown
Collaborator

spirali commented Jun 13, 2025

Can we have an end-to-end test that checks that the functionality is working? I made some tests but only on the scheduler level.

@Kobzol
Copy link
Copy Markdown
Member Author

Kobzol commented Jun 13, 2025

I thought about it, but I think that I first need to implement proper resources for queues. Now I tell the scheduler that every queue has 1 CPU core and nothing else. Not sure if min utilization will work with that? 😆

@spirali
Copy link
Copy Markdown
Collaborator

spirali commented Jun 13, 2025

Good point.

Btw: The fact that it says that it has 1 cpus will cause the problem: if all tasks needs >1cpu or some other resource then autoalloc will never allocate. So it is not compatible with the previous version in this respect.

@Kobzol
Copy link
Copy Markdown
Member Author

Kobzol commented Jun 13, 2025

Yeah, it's definitely something we need to resolve before publishing a next release. But the previous PR was already quite big, so I'll do it in a follow-up next week.

@Kobzol Kobzol merged commit 5b2ea99 into It4innovations:main Jun 13, 2025
9 checks passed
@Kobzol Kobzol deleted the autoalloc-min-utilization branch June 13, 2025 17:06
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.

Limits on job mix

2 participants