Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7576

Add master flag `--filter-gpu-resources={true|false}`

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.4.0
    • Component/s: gpu
    • Labels:
      None
    • Target Version/s:

      Description

      Per the email thread below, we are adding a new flag on the master called --filter-gpu-resources to enable / disable honoring the GPU_RESOURCES framework capability.

      https://www.mail-archive.com/dev@mesos.apache.org/msg37571.html

      When set to true, this flag will cause the mesos master to continue to
      function as it does today. That is, it will filter offers containing GPU
      resources and only send them to frameworks that opt into the GPU_RESOURCES framework capability. When set to false, this flag will cause the master to not filter offers containing GPU resources, and indiscriminately send them to all frameworks whether they set the GPU_RESOURCES capability or not.

      This is a temporary flag that will eventually be removed. We will remove it once we have better support for achieving the same functionality that the GPU_RESOURCES capability gives you.

      As described in the email, this support relies on dynamic reservations, hierarchical roles, and support for reservations to multiple roles (an unyet implemented feature). The JIRA tracking these features are linked below.

        Issue Links

          Activity

          Show
          klueska Kevin Klues added a comment - https://reviews.apache.org/r/59677/
          Hide
          klueska Kevin Klues added a comment -
          commit 0e176c305f6d43c62a665f9c53c00a34e1c80c49
          Author: Kevin Klues klueska@gmail.com
          Date:   Wed May 31 14:40:07 2017 -0700
          
          Added '--filter_gpu_resources' flag to the mesos master.
          
          When set to true, this flag will cause the mesos master to filter
          offers containing GPU resources by only sending them to frameworks
          that opt into the 'GPU_RESOURCES' framework capability. When set to
          false, this flag will cause the master to not filter offers containing
          GPU resources, and indiscriminately send them to all frameworks
          whether they set the 'GPU_RESOURCES' capability or not.  This flag is
          meant as a temporary workaround towards the eventual deprecation of
          the 'GPU_RESOURCES' capability.
          
          Please see the following link for more information:
          https://www.mail-archive.com/dev@mesos.apache.org/msg37571.html
          
          Review: https://reviews.apache.org/r/59677/
          
          Show
          klueska Kevin Klues added a comment - commit 0e176c305f6d43c62a665f9c53c00a34e1c80c49 Author: Kevin Klues klueska@gmail.com Date: Wed May 31 14:40:07 2017 -0700 Added '--filter_gpu_resources' flag to the mesos master. When set to true, this flag will cause the mesos master to filter offers containing GPU resources by only sending them to frameworks that opt into the 'GPU_RESOURCES' framework capability. When set to false, this flag will cause the master to not filter offers containing GPU resources, and indiscriminately send them to all frameworks whether they set the 'GPU_RESOURCES' capability or not. This flag is meant as a temporary workaround towards the eventual deprecation of the 'GPU_RESOURCES' capability. Please see the following link for more information: https://www.mail-archive.com/dev@mesos.apache.org/msg37571.html Review: https://reviews.apache.org/r/59677/

            People

            • Assignee:
              klueska Kevin Klues
              Reporter:
              klueska Kevin Klues
              Shepherd:
              Benjamin Mahler
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development