Jason Lowe commented on YARN-2440:

bq. does it make sense to get the number of physical cores on the machine and 
derive the vcore to physical cpu ratio?

Only if the user can specify the multiplier between a vcore and a physical CPU. 
 Not all physical CPUs are created equal, and as I mentioned earlier, some 
sites will want to allow fractions of a physical CPU to be allocated.  
Otherwise we're limiting the number of containers to the number of physical 
cores, and not all tasks require a full core.

> Cgroups should limit YARN containers to cores allocated in yarn-site.xml
> ------------------------------------------------------------------------
>                 Key: YARN-2440
>                 URL: https://issues.apache.org/jira/browse/YARN-2440
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Varun Vasudev
>            Assignee: Varun Vasudev
>         Attachments: apache-yarn-2440.0.patch, 
> screenshot-current-implementation.jpg
> The current cgroups implementation does not limit YARN containers to the 
> cores allocated in yarn-site.xml.

This message was sent by Atlassian JIRA

Reply via email to