Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Similarly to YUNIKORN-1764, we have an unnecessary clone in Application.tryNodes():
score := ask.GetAllocatedResource().FitInScore(node.GetAvailableResource())
This call site was visible in an alloc_space profile that we recently got from an upstream Yunikorn user. We can do this calculation without calling node.GetAvailableResource(), so cloning can be avoided.
Attachments
Issue Links
- links to