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

Rainie Li edited comment on YUNIKORN-1990 at 9/20/23 4:28 PM:
--------------------------------------------------------------

[~ccondit] can you take a look at [PR 659 
|[https://github.com/apache/yunikorn-core/pull/659]] ?
With this change, previous check [currentQueue|#L204]] will not always be true, 
which could help the intra-queue preemption issue.

I will update the test shortly in next iteration.


was (Author: rainieli):
[~ccondit] can you take a look at  [659 
|[https://github.com/apache/yunikorn-core/pull/659]]?
With this change, previous check 
[currentQueue|[https://github.com/apache/yunikorn-core/blob/5f509ff8fb903c6e883211782f2f30c04a31ea50/pkg/scheduler/objects/preemption.go#L204]]
 will not always be true, which could help the intra-queue preemption issue.

I will update the test shortly in next iteration.

> Intra-queue preemption happens
> ------------------------------
>
>                 Key: YUNIKORN-1990
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1990
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: core - scheduler
>            Reporter: Rainie Li
>            Assignee: Rainie Li
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: Screenshot 2023-09-15 at 10.07.46 AM.png, Screenshot 
> 2023-09-15 at 10.08.02 AM.png
>
>
> *Background*
> We noticed preemption happens for jobs within same queue. 
>  
> *Test we have done*
>  * Submitted job1 to root.test-queue.tier1 queue, queue allocated usage went 
> higher than guaranteed resource. 
>  * Then submitted another Job2 to same queue, queue allocated usage decreased 
> to lower than guaranteed resource. 
>  * Most executors of Job1 got preempted by Job2
> !Screenshot 2023-09-15 at 10.07.46 AM.png!
> !Screenshot 2023-09-15 at 10.08.02 AM.png!



--
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