mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-13 07:46:43 +00:00
update fair
This commit is contained in:
@@ -170,6 +170,7 @@ func (scheduler *SchedulerFair) Start() {
|
||||
}
|
||||
IOU.NumberGPU += least
|
||||
minRequestGPU -= least
|
||||
scheduler.queuesQuota[bestQueue].NumberGPU += least
|
||||
if least != 0 {
|
||||
log.Info(bestQueue, " borrow ", least, " from ", queue)
|
||||
}
|
||||
@@ -624,5 +625,6 @@ func (scheduler *SchedulerFair) DebugDump() map[string]interface{} {
|
||||
res["schedulingJobs"] = scheduler.schedulingJobs
|
||||
res["resourceAllocations"] = scheduler.resourceAllocations
|
||||
res["allocatingGPU"] = scheduler.allocatingGPU
|
||||
res["IOUs"] = scheduler.IOUs
|
||||
return res
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user