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

Johan Gustavsson commented on YARN-4066:
----------------------------------------

Basically its a tree as follows ranging from 1 to 16000. For each user group 
there is one general queue and one with weight divided sub queues.

root
  - 1
  - q1
       - veryhigh
       - high
       - default
       - low
       - verylow


> Large number of queues choke fair scheduler
> -------------------------------------------
>
>                 Key: YARN-4066
>                 URL: https://issues.apache.org/jira/browse/YARN-4066
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>    Affects Versions: 2.7.1
>            Reporter: Johan Gustavsson
>         Attachments: yarn-4066-1.patch
>
>
> Due to synchronization and all the loops performed during queue creation, 
> setting a large amount of queues (12000+) will completely choke the 
> scheduler. To deal with this some optimization to 
> "QueueManager.updateAllocationConfiguration(AllocationConfiguration 
> queueConf)" should be done to reduce the amount of unnesecary loops. The 
> attached patch have been tested to work with atleast 96000 queues. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to