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 dlas implementation #2

Open
BingyangWu opened this issue Jul 19, 2021 · 1 comment
Open

Question about dlas implementation #2

BingyangWu opened this issue Jul 19, 2021 · 1 comment

Comments

@BingyangWu
Copy link

BingyangWu commented Jul 19, 2021

jump_time = int(math.ceil((JOBS.queue_limit[qid] - rjob['executed_time'])/rjob['num_gpu']) + event_time)

Hi! I am using dlas scheduler in your simulator. However, I am confused about the calculation for jump_time. According to my knowledge, it represents the next time when a job is demoted to another queue. In this case, it should be calculated as jump_time = int(math.ceil((JOBS.queue_limit[qid])/rjob['num_gpu'] - rjob['executed_time']) + event_time) . Could you please explain this calculation? Looking forward to your apply!

@kzhang28
Copy link

When using GPU * TIME as the time unit, both queue_limit[qid] and rjob['executed_time] would be using unit GPU*TIME. So I think the original implementation makes sense.

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