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

Rinaldo DiGiorgio commented on MESOS-3090:
------------------------------------------

I assume addressing the issue described above will fix the display of values 
like 1.70530256582424e-13 in the CPU usage display when  one uses 
http://host:5050/

> Calculated CPU should be rounded
> --------------------------------
>
>                 Key: MESOS-3090
>                 URL: https://issues.apache.org/jira/browse/MESOS-3090
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Andrew Jorgensen
>
> 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 
> {quote}
>             "name":"cpus",
>             "scalar":3.9999999999999973
> {quote}
> 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:
> {quote}
> --resources='cpus:4'
> {quote}
> But this would be hard to manage if the worker pool is at all heterogenous.



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

Reply via email to