mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 14:21: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 {
|
||||
return
|
||||
}
|
||||
log.Info("Can allocate ", availableGPU)
|
||||
log.Info("Before ")
|
||||
log.Debug("Can allocate ", availableGPU)
|
||||
log.Debug("Before ")
|
||||
for queue, quota := range scheduler.queuesQuota {
|
||||
log.Info("Queue<->", queue)
|
||||
log.Info("GPU:", quota.NumberGPU)
|
||||
log.Info("CPU:", quota.CPU)
|
||||
log.Info("Memory:", quota.Memory)
|
||||
log.Debug("Queue<->", queue)
|
||||
log.Debug("GPU:", quota.NumberGPU)
|
||||
log.Debug("CPU:", quota.CPU)
|
||||
log.Debug("Memory:", quota.Memory)
|
||||
}
|
||||
|
||||
per := availableGPU / weights
|
||||
@ -563,12 +563,12 @@ func (scheduler *SchedulerFair) UpdateQuota() {
|
||||
break
|
||||
}
|
||||
}
|
||||
log.Info("After ")
|
||||
log.Debug("After ")
|
||||
for queue, quota := range scheduler.queuesQuota {
|
||||
log.Info("Queue<->", queue)
|
||||
log.Info("GPU:", quota.NumberGPU)
|
||||
log.Info("CPU:", quota.CPU)
|
||||
log.Info("Memory:", quota.Memory)
|
||||
log.Debug("Queue<->", queue)
|
||||
log.Debug("GPU:", quota.NumberGPU)
|
||||
log.Debug("CPU:", quota.CPU)
|
||||
log.Debug("Memory:", quota.Memory)
|
||||
}
|
||||
|
||||
/* Phase 2: clear IOUs */
|
||||
|
Loading…
Reference in New Issue
Block a user