Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
After MESOS-1807, Mesos containers require >= 0.01 CPU resources and >= 32MB Memory resources. In order to simplify accounting, Mesos should introduce resource resolution.
For example, it is possible to launch a task with 1.0000000000001 CPU (as it exceeds the minimum number of CPUs and is therefore considered valid). The fractional component of this task does not benefit the running process, and can introduce floating point errors when Mesos is accounting its offers (which we have already seen happening in MESOS-1867 and MESOS-2635). A solution to this could be disallowing tasks with finer granularity than the required resolution.
Attachments
Issue Links
- is related to
-
MESOS-3997 Switch to fixed-point for resources
- Accepted
- is superceded by
-
MESOS-4687 Implement reliable floating point for scalar resources
- Resolved