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

Chia-Ping Tsai commented on YUNIKORN-1728:
------------------------------------------

{quote}
Personally, I think percentage-based quotas are a terrible hack (that was 
unfortunately required in the early YARN days). At best, we could possibly 
support them if and only if the parent queue capacities are static.
{quote}

100% agree that. We has a similar discussion recently. If the max resources (yk 
quota) can be percentage-based, it means the autoscaler can increase the quota 
when adding/scaling nodes (assume it is based on root max resources) . It 
results in more apps can fit into the queues due to larger quota... so the 
"quota" will lose its job :smile

> MaxApplication enforcement supports percentage of resources
> -----------------------------------------------------------
>
>                 Key: YUNIKORN-1728
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1728
>             Project: Apache YuniKorn
>          Issue Type: New Feature
>          Components: core - scheduler
>            Reporter: Rainie Li
>            Assignee: Rainie Li
>            Priority: Major
>
> Currently we need to set queue with guaranteed resources.
> example:
> {code:java}
> queues:
>           - name: root
>             submitacl: '*'
>             queues:
>               - name: queue1
>                 submitacl: '*'
>                 maxapplications: 12
>                 resources:
>                   guaranteed:
>                     {memory: 6290G, vcore: 816}
>                   max:
>                     {memory: 31450G, vcore: 4080}
> {code}
> It will be convenient to support percentage, so that we can configure queue 
> without calculating the actual number. 
> {code:java}
> queues:
>           - name: root
>             submitacl: '*'
>             queues:
>               - name: queue1
>                 submitacl: '*'
>                 maxapplications: 12
>                 resources:
>                   guaranteed:
>                     {memory: 20%, vcore: 20%}
>                   max:
>                     {memory: 31450G, vcore: 4080}
> {code}



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

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

Reply via email to