You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Peter Bacsko (Jira)" <ji...@apache.org> on 2023/07/26 18:29:00 UTC

[jira] [Commented] (YUNIKORN-1881) Improve the performance of tryPlaceholderAllocate

    [ https://issues.apache.org/jira/browse/YUNIKORN-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17747623#comment-17747623 ] 

Peter Bacsko commented on YUNIKORN-1881:
----------------------------------------

The PR reduces the contribution to the CPU time to 1%.

> Improve the performance of tryPlaceholderAllocate
> -------------------------------------------------
>
>                 Key: YUNIKORN-1881
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1881
>             Project: Apache YuniKorn
>          Issue Type: Sub-task
>            Reporter: Peter Bacsko
>            Assignee: Peter Bacsko
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: tryPlaceholderAllocate.png, tryPlaceholderAllocate_after.png
>
>
> During the scheduling cycle, {{tryPlaceholderAllocate()}} is too expensive. It copies and sorts apps and tries to find schedulable tasks even if we do not have placeholders at all. For example, {{tryReservedAllocate()}} only accounts for 0.5% of the total cpu time, while {{tryPlaceholderAllocate()}} uses around 5%.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org