mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-12 23:36:44 +00:00
update
This commit is contained in:
@@ -271,7 +271,7 @@ func (scheduler *SchedulerFair) Start() {
|
|||||||
}
|
}
|
||||||
pool := InstanceOfResourcePool()
|
pool := InstanceOfResourcePool()
|
||||||
/* Make sure resource it enough */
|
/* Make sure resource it enough */
|
||||||
if len(scheduler.schedulingJobs) == 0 || (numberGPUtmp*10+(scheduler.allocatingGPU)*13 <= (pool.TotalGPU-pool.UsingGPU)*10) {
|
if len(scheduler.schedulingJobs) == 0 || (numberGPUtmp*10+(scheduler.allocatingGPU)*10 <= (pool.TotalGPU-pool.UsingGPU)*10) {
|
||||||
flag = true
|
flag = true
|
||||||
|
|
||||||
log.Info("Before, ", scheduler.queuesQuota[bestQueue])
|
log.Info("Before, ", scheduler.queuesQuota[bestQueue])
|
||||||
|
|||||||
Reference in New Issue
Block a user