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

Calculated CPU should be rounded

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      My mesos worker pool consists of 4 core machines in AWS. When I look at the calculated amount of CPU that each machine is offering it looks like

      "name":"cpus",
      "scalar":3.9999999999999973

      It feels like this number should be rounded up to the nearest thousands so that a job does not need to specify 3.9 CPU but can just specify the full 4.

      This can be remedied by adding the following to the worker machines:

      --resources='cpus:4'

      But this would be hard to manage if the worker pool is at all heterogenous.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ajorgensen Andrew Jorgensen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: