Skip to content

Commit

Permalink
Improve overused messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-raravena authored Mar 1, 2025
1 parent cdfb83c commit 1d0b466
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/scheduler/plugins/capacity/capacity.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ func (cp *capacityPlugin) OnSessionOpen(ssn *framework.Session) {
overused := !futureUsed.LessEqualWithDimension(attr.deserved, task.Resreq)
metrics.UpdateQueueOverused(attr.name, overused)
if overused {
klog.V(3).Infof("Queue <%v> can not reclaim, deserved <%v>, allocated <%v>, share <%v>",
queue.Name, attr.deserved, attr.allocated, attr.share)
klog.V(3).Infof("Queue <%v> can not reclaim, deserved <%v>, allocated <%v>, share <%v>, requested <%v>",
queue.Name, attr.deserved, attr.allocated, attr.share, task.Resreq)
}

// PreemptiveFn is the opposite of OverusedFn in proportion plugin cause as long as there is a one-dimensional
Expand Down

0 comments on commit 1d0b466

Please sign in to comment.