You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Manikandan R (Jira)" <ji...@apache.org> on 2020/12/23 15:59:00 UTC

[jira] [Comment Edited] (YUNIKORN-468) Node resource updates should trigger cleanup

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

Manikandan R edited comment on YUNIKORN-468 at 12/23/20, 3:58 PM:
------------------------------------------------------------------

[~wilfreds]

{quote}The core just updates the node size and currently stops scheduling new resources even when the node is over subscribed.{quote}
Would YUNIKORN-466 fix this automatically? I think so.

{quote} in case that the node was shrunk and uses more than the resources available{quote}
Can we do something similar (more or less) or re-use node.GetAllAllocations foreach block of drf_preemption_policy#trySurgicalPreemptionOnNode till difference (old capacity - new capacity) equals total pre-empted resources (sum of pre-empted resource gained in loop traversal)?

Please share your thoughts.


was (Author: manirajv06@gmail.com):
[~wilfreds]

{quote}The core just updates the node size and currently stops scheduling new resources even when the node is over subscribed.{quote}
Would YUNIKORN-466 fix this automatically? I think so.

{quote} in case that the node was shrunk and uses more than the resources available{quote}
Can we re-use node.GetAllAllocations foreach block(more or less) of drf_preemption_policy#trySurgicalPreemptionOnNode till difference (old capacity - new capacity) equals total pre-empted resources (sum of pre-empted resource gained in loop traversal)?

Please share your thoughts.

> Node resource updates should trigger cleanup
> --------------------------------------------
>
>                 Key: YUNIKORN-468
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-468
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - common
>            Reporter: Wilfred Spiegelenburg
>            Priority: Minor
>
> Updating a node can set the overall size of a node and the resources allocated by a different scheduler (co-existence). The core just updates the node size and currently stops scheduling new resources even when the node is over subscribed.
> We should add a clean up in case that the node was shrunk and uses more than the resources available. the clean up should pre-empt enough resources to get it below the node size again.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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