[
https://issues.apache.org/jira/browse/YUNIKORN-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17804322#comment-17804322
]
Junyan Ling edited comment on YUNIKORN-2317 at 1/8/24 2:31 PM:
---------------------------------------------------------------
[~ccondit] I think there are two issues we're looking at here:
* *Preemption counts* - How many times preemption happens
** I ran a test to trigger preemption multiple times (queue b trigger
preemption in queue a for 3 pods, and then queue c trigger preemption in queue
a for another 3 pods), but the number of preempting state stays the same
without incrementing. !Screenshot 2024-01-08 at 9.50.26 PM.png!
* *Per queue preempted resources* - How many resources such as memory and so
on are preempted
** In the same test I did, as shown in the screenshot above, no preempted
resources are passed to the metrics; However, based on the code here
[https://github.com/apache/yunikorn-core/blob/master/pkg/scheduler/objects/preemption.go#L548],
they are supposed to be able to pass in the preempting resources, because in
the next few lines they are able to be recorded in logs without problems
** !image-2024-01-08-22-29-37-254.png!
was (Author: JIRAUSER303671):
[~ccondit] I think there are two issues we're looking at here:
* *Preemption counts* - How many times preemption happens
** I ran a test to trigger preemption multiple times (queue b trigger
preemption in a for 3 pods, and then queue c trigger preemption in a for
another 3 pods), but the number of preempting state stays the same.
!Screenshot 2024-01-08 at 9.50.26 PM.png!
* *Per queue preempted resources* - How many resources such as memory and so
on are preempted
** In the same test I did, as shown in the screenshot, no preempted resources
are passed to the metrics; However, based on the code here, it's supposed to be
able to pass in the preempting resources, because in the next few lines they
are able to be recorded in logs without problems
[https://github.com/apache/yunikorn-core/blob/master/pkg/scheduler/objects/preemption.go#L548]
** !image-2024-01-08-22-29-37-254.png!
> Preempting Metrics are not showing correctly
> --------------------------------------------
>
> Key: YUNIKORN-2317
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2317
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: core - scheduler
> Reporter: Junyan Ling
> Assignee: Junyan Ling
> Priority: Major
> Attachments: Screenshot 2024-01-08 at 9.50.26 PM.png,
> image-2024-01-08-22-29-37-254.png
>
>
> Currently, the preempting Metrics are not showing correctly, see screenshot,
> no matter how many times / how much resources are preempted, it always show
> 0.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]