Peter Bacsko created YUNIKORN-1770:
--------------------------------------
Summary: Avoid resource clone in Application.tryNodes()
Key: YUNIKORN-1770
URL: https://issues.apache.org/jira/browse/YUNIKORN-1770
Project: Apache YuniKorn
Issue Type: Sub-task
Components: core - scheduler
Reporter: Peter Bacsko
Assignee: Peter Bacsko
Similarly to YUNIKORN-1764, we have an unnecessary clone in
Application.tryNodes():
{noformat}
score := ask.GetAllocatedResource().FitInScore(node.GetAvailableResource())
{noformat}
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]