[
https://issues.apache.org/jira/browse/MESOS-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14634232#comment-14634232
]
Jie Yu commented on MESOS-3090:
-------------------------------
Unfortunately, we'll have to switch to use the fixed-point calculation in the
allocator. That's a pretty invasive change so it's unlikely to be resolved
soon.
> 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)