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

Zhankun Tang commented on YARN-6852:
------------------------------------

[~wangda], Thanks for the patch. I'd like to update FPGA related patch based on 
current progress. 
But it seems the c-e.cfg format and device isolation logic is almost same for 
GPU and FPGA.
Since the c-e binary is mainly providing cgroups isolation API to the above 
device resource handler by executing below privileged command:
{panel}
container-executor gpu --excluded_gpus=0,1 --container_id=container_x_y_z
{panel}
Is it valuable that we make a general module so that we don't need to implement 
one native module for each hardware accelerator?
{panel}
container-executor hw-acc --container_id=container_x_y_z --include_hw-acc=0,1 
or --excluded_hw-acc=0,1 
{panel}


> [YARN-6223] Native code changes to support isolate GPU devices by using 
> CGroups
> -------------------------------------------------------------------------------
>
>                 Key: YARN-6852
>                 URL: https://issues.apache.org/jira/browse/YARN-6852
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Wangda Tan
>            Assignee: Wangda Tan
>             Fix For: 3.0.0-beta1
>
>         Attachments: YARN-6852.001.patch, YARN-6852.002.patch, 
> YARN-6852.003.patch, YARN-6852.004.patch, YARN-6852.005.patch, 
> YARN-6852.006.patch, YARN-6852.007.patch, YARN-6852.008.patch, 
> YARN-6852.009.patch
>
>
> This JIRA plan to add support of:
> 1) Isolation in CGroups. (native side).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to