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

Peter Bacsko commented on YUNIKORN-2057:
----------------------------------------

Guys, [~tarunparimi], any progress with this one? There's going to be a release 
1.5.1. Although it's a performance thing, it would be good to do something with 
it.

> FindQueueByAppID is slow
> ------------------------
>
>                 Key: YUNIKORN-2057
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2057
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - scheduler
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Tarun Parimi
>            Priority: Critical
>
> The preemptor calls {{p.queue.FindQueueByAppID()}} to figure out which queue 
> the application runs in. This is an expensive way to retrieve the queue.
> Especially when the queue structure grows large and there is no fencing 
> turned on with could be traversing large numbers of queue and doing even more 
> lookups. We also do this for every single victim. That could be a list and we 
> could be trying multiple nodes increasing the number of times we make that 
> call.
> We should leverage the application tracking at the partition level to do a 
> simple call:
>     PartitionContext.getApplicationQueue(appID string) *Queue
> This will require some "plumbing" like we did with the node functions but it 
> will perform much better.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to