Tiresias icon indicating copy to clipboard operation
Tiresias copied to clipboard

Question about dlas implementation

Open BingyangWu opened this issue 4 years ago • 1 comments

https://github.com/SymbioticLab/Tiresias/blob/959f9b08f44fa1b4f2b3aed79b01e4d439264a94/simulator/run_sim.py#L1226 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!

BingyangWu avatar Jul 19 '21 09:07 BingyangWu

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.

kzhang28 avatar Sep 30 '21 01:09 kzhang28