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

Question about cluster.empty_infra #1

Open
Rivendile opened this issue Jul 9, 2021 · 2 comments
Open

Question about cluster.empty_infra #1

Rivendile opened this issue Jul 9, 2021 · 2 comments

Comments

@Rivendile
Copy link

Hi, I'm using shortest first scheduler in your simulator but get an output "This cluster is not large enough to run the job", which seems unreasonable as shortest first scheduler is preemptive. By digging deeper, I find that the empty_infra in _Cluster class does not reset mem of each node. I'm a little confused about this. Is this specially designed or a bug? Looking forward to your reply!

@juncgu
Copy link
Collaborator

juncgu commented Jul 12, 2021

@Rivendile
Thanks for trying out Tiresias. The message should mean that the cluster can not satisfy the resource requirement (especially, GPU) of the top job in the queue. Would you please check if there is any extra large (but short) job in the job file?
We assume GPU machines are always with very large main memory space. Therefore, main memory is not considered as a constraint in resource allocation.

@Rivendile
Copy link
Author

@juncgu
Hi, I use n32g4 cluster setup, check the 60_job trace provided in this repo, and find no extra large job.
Each job is set to use 5GB memory per GPU in your code. I think that If the memory is not reset when preemption happens, the memory will be used up sooner or later.
I reset the memory in _Cluster.empty_infra, and get reasonable results.

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