mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajat Phull <>
Subject Review Request 50258: Updated docker recovery to account for GPU resources.
Date Wed, 20 Jul 2016 19:31:37 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for mesos, Benjamin Mahler, Kevin Klues, Yubo Li, and Vikrama Ditya.

Bugs: MESOS-5795

Repository: mesos


This change is to account for allocated GPU devices during docker recovery invoked as part
of slave recovery.
On docker container recovery, the list of devices is taken from the docker inspect output.
The nvidia 
devices of the format /dev/nvidia# are further narrowed down to get the minor number of the
The allocation module is invoked to account for the GPUs used by the recovered containers.

Note: The next review request #50259 builds on top of this and uses the abstraction provided
by docker inspect


  src/slave/containerizer/docker.hpp 43ca4317d608b3b43dd7bd0d1b55c721e7364885 
  src/slave/containerizer/docker.cpp f1ecf3b25d85597f6c3dcaa47968860ed119dbd5 
  src/tests/containerizer/nvidia_gpu_isolator_tests.cpp 7944c0da716b2438fa2b40f5504aefa346e31046



GTEST_FILTER="NvidiaGpuDockerContainerizerTest.ROOT_DOCKER_LaunchWithGpuRecovery" make -j


Rajat Phull

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message