mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 22:31:55 +00:00
update
This commit is contained in:
parent
450c01e357
commit
3c7d28165f
@ -521,13 +521,13 @@ func (scheduler *SchedulerFair) UpdateQuota() {
|
|||||||
if len(candidates) == 0 {
|
if len(candidates) == 0 {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
log.Info("Can allocate ", availableGPU)
|
log.Debug("Can allocate ", availableGPU)
|
||||||
log.Info("Before ")
|
log.Debug("Before ")
|
||||||
for queue, quota := range scheduler.queuesQuota {
|
for queue, quota := range scheduler.queuesQuota {
|
||||||
log.Info("Queue<->", queue)
|
log.Debug("Queue<->", queue)
|
||||||
log.Info("GPU:", quota.NumberGPU)
|
log.Debug("GPU:", quota.NumberGPU)
|
||||||
log.Info("CPU:", quota.CPU)
|
log.Debug("CPU:", quota.CPU)
|
||||||
log.Info("Memory:", quota.Memory)
|
log.Debug("Memory:", quota.Memory)
|
||||||
}
|
}
|
||||||
|
|
||||||
per := availableGPU / weights
|
per := availableGPU / weights
|
||||||
@ -563,12 +563,12 @@ func (scheduler *SchedulerFair) UpdateQuota() {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
log.Info("After ")
|
log.Debug("After ")
|
||||||
for queue, quota := range scheduler.queuesQuota {
|
for queue, quota := range scheduler.queuesQuota {
|
||||||
log.Info("Queue<->", queue)
|
log.Debug("Queue<->", queue)
|
||||||
log.Info("GPU:", quota.NumberGPU)
|
log.Debug("GPU:", quota.NumberGPU)
|
||||||
log.Info("CPU:", quota.CPU)
|
log.Debug("CPU:", quota.CPU)
|
||||||
log.Info("Memory:", quota.Memory)
|
log.Debug("Memory:", quota.Memory)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Phase 2: clear IOUs */
|
/* Phase 2: clear IOUs */
|
||||||
|
Loading…
Reference in New Issue
Block a user