1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-06-07 06:11:56 +00:00

update fair

This commit is contained in:
Newnius 2020-05-31 18:56:47 +08:00
parent 41242024b6
commit 4e9e9a408e

View File

@ -157,9 +157,9 @@ func (scheduler *SchedulerFair) Start() {
scheduler.queuesQuota[queue] = &ResourceCount{}
}
/* one cannot borrow more before he has cleared his IOUs */
if len(scheduler.IOUs[queue]) > 0 {
continue
}
//if len(scheduler.IOUs[queue]) > 0 {
// continue
//}
needGPU := numberGPUtmp*1000 - quotas[queue].NumberGPU
/* the less, the better */