[jira] [Commented] (MESOS-5257) Add autodiscovery for GPU resources

2016-06-20 Thread Benjamin Mahler (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-5257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15340877#comment-15340877
 ] 

Benjamin Mahler commented on MESOS-5257:


{noformat}
commit 15ed2c1489957595176a1e4de8870e189328c7d2
Author: Kevin Klues 
Date:   Mon Jun 20 18:43:30 2016 -0700

Added check for `--isolation=gpu/nvidia` in order to autodiscover GPUs.

We add this check because we decided it makes sense to only do
autodiscovery of GPUs when this isolator is turned on (unlike for
CPUs, memory, and disk where autodiscovery happens by default). We
decided to take this approach, because GPU support is still
experimental, and is only known to work well if this isolator is
enabled. We didn't want to start advertising GPUs in our resource
offer and have people attempt to use them in scenarious we haven't
considered yet. In the future we may support other use cases, but for
now we are being cautious.

Review: https://reviews.apache.org/r/48979/
{noformat}

> Add autodiscovery for GPU resources
> ---
>
> Key: MESOS-5257
> URL: https://issues.apache.org/jira/browse/MESOS-5257
> Project: Mesos
>  Issue Type: Task
>Reporter: Kevin Klues
>Assignee: Kevin Klues
>  Labels: isolator
> Fix For: 1.0.0
>
>
> Right now, the only way to enumerate the available GPUs on an agent is to use 
> the `--nvidia_gpu_devices` flag and explicitly list them out.  Instead, we 
> should leverage NVML to autodiscover the GPUs that are available and only use 
> this flag as a way to explicitly list out the GPUs you want to make available 
> in order to restrict access to some of them.



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


[jira] [Commented] (MESOS-5257) Add autodiscovery for GPU resources

2016-06-20 Thread Kevin Klues (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-5257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15340688#comment-15340688
 ] 

Kevin Klues commented on MESOS-5257:


Added another check before autodiscovery:
https://reviews.apache.org/r/48979/

> Add autodiscovery for GPU resources
> ---
>
> Key: MESOS-5257
> URL: https://issues.apache.org/jira/browse/MESOS-5257
> Project: Mesos
>  Issue Type: Task
>Reporter: Kevin Klues
>Assignee: Kevin Klues
>  Labels: isolator
> Fix For: 1.0.0
>
>
> Right now, the only way to enumerate the available GPUs on an agent is to use 
> the `--nvidia_gpu_devices` flag and explicitly list them out.  Instead, we 
> should leverage NVML to autodiscover the GPUs that are available and only use 
> this flag as a way to explicitly list out the GPUs you want to make available 
> in order to restrict access to some of them.



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


[jira] [Commented] (MESOS-5257) Add autodiscovery for GPU resources

2016-06-07 Thread Kevin Klues (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-5257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15319609#comment-15319609
 ] 

Kevin Klues commented on MESOS-5257:


New reviews (old superceded):

https://reviews.apache.org/r/48366/
https://reviews.apache.org/r/48367/

> Add autodiscovery for GPU resources
> ---
>
> Key: MESOS-5257
> URL: https://issues.apache.org/jira/browse/MESOS-5257
> Project: Mesos
>  Issue Type: Task
>Reporter: Kevin Klues
>Assignee: Kevin Klues
>  Labels: isolator
>
> Right now, the only way to enumerate the available GPUs on an agent is to use 
> the `--nvidia_gpu_devices` flag and explicitly list them out.  Instead, we 
> should leverage NVML to autodiscover the GPUs that are available and only use 
> this flag as a way to explicitly list out the GPUs you want to make available 
> in order to restrict access to some of them.



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


[jira] [Commented] (MESOS-5257) Add autodiscovery for GPU resources

2016-04-22 Thread Kevin Klues (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-5257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15254777#comment-15254777
 ] 

Kevin Klues commented on MESOS-5257:


GPU autodiscovery should be implemented inside the isolator-specific 
`resources()` callback that is part of the linked ticket.

> Add autodiscovery for GPU resources
> ---
>
> Key: MESOS-5257
> URL: https://issues.apache.org/jira/browse/MESOS-5257
> Project: Mesos
>  Issue Type: Task
>Reporter: Kevin Klues
>
> Right now, the only way to enumerate the available GPUs on an agent is to use 
> the `--nvidia_gpu_devices` flag and explicitly list them out.  Instead, we 
> should leverage NVML to autodiscover the GPUs that are available and only use 
> this flag as a way to explicitly list out the GPUs you want to make available 
> in order to restrict access to some of them.



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