mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-15 16:16:44 +00:00
update fair
This commit is contained in:
@@ -157,9 +157,9 @@ func (scheduler *SchedulerFair) Start() {
|
|||||||
scheduler.queuesQuota[queue] = &ResourceCount{}
|
scheduler.queuesQuota[queue] = &ResourceCount{}
|
||||||
}
|
}
|
||||||
/* one cannot borrow more before he has cleared his IOUs */
|
/* one cannot borrow more before he has cleared his IOUs */
|
||||||
if len(scheduler.IOUs[queue]) > 0 {
|
//if len(scheduler.IOUs[queue]) > 0 {
|
||||||
continue
|
// continue
|
||||||
}
|
//}
|
||||||
|
|
||||||
needGPU := numberGPUtmp*1000 - quotas[queue].NumberGPU
|
needGPU := numberGPUtmp*1000 - quotas[queue].NumberGPU
|
||||||
/* the less, the better */
|
/* the less, the better */
|
||||||
|
|||||||
Reference in New Issue
Block a user