You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Eli Schiff (Jira)" <ji...@apache.org> on 2023/05/03 17:18:00 UTC
[jira] [Created] (YUNIKORN-1720) Improve the performance of node.preAllocateCheck()
Eli Schiff created YUNIKORN-1720:
------------------------------------
Summary: Improve the performance of node.preAllocateCheck()
Key: YUNIKORN-1720
URL: https://issues.apache.org/jira/browse/YUNIKORN-1720
Project: Apache YuniKorn
Issue Type: Sub-task
Reporter: Eli Schiff
Assignee: Eli Schiff
The node.preAllocateCheck() function gets run a lot during the scheduling cycle. The function is effectively a boolean function, either the node can be allocated on or it cannot. Instead of returning a bool it returns nil for true and a full error message for false. The thing is, that error message is never read anywhere. From what I can tell, the only thing the code does is check if there is an error message but not the contents. By removing the error message code, it should improve performance.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org