Details
-
Epic
-
Status: Accepted
-
Major
-
Resolution: Unresolved
-
None
-
None
-
Fixed Point Resources
Description
Using floating point for resources is problematic, because roundoff and precision errors when doing resource math can produce unexpected results.
Instead, we should probably adopt a fixed-point representation: e.g., CPU resources will be measured as an integer number of fractional CPUs (e.g., 25 deci-CPUs == 2.5 CPUs).
Attachments
Issue Links
- is duplicated by
-
MESOS-3992 Change Doubles to Ints in the protobufs
- Resolved
- relates to
-
MESOS-1187 precision errors with allocation calculations
- Resolved
-
MESOS-3090 Calculated CPU should be rounded
- Resolved
-
MESOS-4071 Master crash during framework teardown (Check failed: total.resources.contains(slaveId))
- Resolved
-
MESOS-2635 Web UI Display Bug when starting lots of tasks with small cpu value
- Resolved
-
MESOS-3990 Unexpected reservation results due to floating point error
- Accepted
-
MESOS-4018 Enhance float-point operation in Mesos
- Accepted
-
MESOS-3341 Introduce Resource Resolution
- Resolved
-
MESOS-3552 CHECK failure due to floating point precision on reservation request
- Resolved