[ 
https://issues.apache.org/jira/browse/MESOS-3997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15032509#comment-15032509
 ] 

Neil Conway commented on MESOS-3997:
------------------------------------

Should probably do the same thing for weights.

> Switch to fixed-point for resources
> -----------------------------------
>
>                 Key: MESOS-3997
>                 URL: https://issues.apache.org/jira/browse/MESOS-3997
>             Project: Mesos
>          Issue Type: Improvement
>          Components: allocation, master
>            Reporter: Neil Conway
>              Labels: mesosphere, resources
>
> 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).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to