mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Klues <klue...@gmail.com>
Subject Review Request 48371: Added `NvidiaGpuAllocator` component.
Date Tue, 07 Jun 2016 22:46:10 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48371/
-----------------------------------------------------------

Review request for mesos and Benjamin Mahler.


Bugs: MESOS-5557
    https://issues.apache.org/jira/browse/MESOS-5557


Repository: mesos


Description
-------

This component is designed to serve as a centralized component for
allocating / deallocating Nvidia GPUs. The goal is to share an
instance of this across both the mesos containerizer and the docker
containerizer so they can allocate GPUs from the same shared pool.

It is overloaded to also do resource enumeration of GPUs based on
the agent flags. This keeps all code for enumerating GPUs and the
resources they represent in a single centralized location.


Diffs
-----

  src/Makefile.am 29525c960e8fb2448260efdd774fd8fc1d68047b 
  src/slave/containerizer/mesos/isolators/gpu/allocator.hpp PRE-CREATION 
  src/slave/containerizer/mesos/isolators/gpu/allocator.cpp PRE-CREATION 
  src/tests/containerizer/nvidia_gpu_isolator_tests.cpp b1e64b2fc5518463cd14e119f89e3cd298286052


Diff: https://reviews.apache.org/r/48371/diff/


Testing
-------

GTEST_FILTER="" make -j check && sudo GTEST_FILTER="*NVIDIA*" src/mesos-tests


Thanks,

Kevin Klues


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