craigcondit commented on code in PR #935:
URL: https://github.com/apache/yunikorn-core/pull/935#discussion_r1708164316


##########
pkg/scheduler/objects/sorters.go:
##########
@@ -65,8 +65,10 @@ func sortQueuesByPriorityAndFairness(queues []*Queue) {
                if lPriority < rPriority {
                        return false
                }
-               comp := 
resources.CompUsageRatioSeparately(l.GetAllocatedResource(), 
l.GetGuaranteedResource(),
-                       r.GetAllocatedResource(), r.GetGuaranteedResource())
+

Review Comment:
   Wilfred also pointed out in the community meeting that we may also be able 
to optimize the parent hierarchy separately as all the compared queues will 
have the same parent. If we do that, we do need to be sure that the parent is 
not the root.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to