[
https://issues.apache.org/jira/browse/YUNIKORN-1770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wilfred Spiegelenburg resolved YUNIKORN-1770.
---------------------------------------------
Fix Version/s: 1.3.0
Resolution: Fixed
change committed, thx [~pbacsko]
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.3.0
>
>
> 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]