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:
@@ -328,6 +328,7 @@ func (scheduler *SchedulerFair) UpdateQuota() {
|
|||||||
availableCPU := pool.TotalCPU*1000 - usingCPU*1000 - allocatedCPU
|
availableCPU := pool.TotalCPU*1000 - usingCPU*1000 - allocatedCPU
|
||||||
//availableMemory := pool.TotalMemory - usingMemory - allocatedMemory
|
//availableMemory := pool.TotalMemory - usingMemory - allocatedMemory
|
||||||
/* <0 means some nodes exited */
|
/* <0 means some nodes exited */
|
||||||
|
log.Info(availableGPU)
|
||||||
if availableGPU <= 0 {
|
if availableGPU <= 0 {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user