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

[core] Add preemption logic #1

Open
asm582 opened this issue Jul 31, 2023 · 1 comment
Open

[core] Add preemption logic #1

asm582 opened this issue Jul 31, 2023 · 1 comment

Comments

@asm582
Copy link
Member

asm582 commented Jul 31, 2023

We need the ability to preempt AWs given a list of AWs by other libraries like the quota management system

@tardieu
Copy link
Member

tardieu commented Jul 31, 2023

Agreed. The challenge here is that preemptable appwrappers right now are a simple function of priority. As a result, we can compute the preemptable appwrappers once for all pending appwwappers at the same priority level. With quotas, preemptable appwrappers become dependent of the candidate appwrapper for dispatch. So this computation is much more expensive. We'll have to see how much and this may make some form caching necessary if possible.

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

No branches or pull requests

2 participants