[
https://issues.apache.org/jira/browse/MESOS-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Jorgensen updated MESOS-3090:
------------------------------------
Description:
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.
was:
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}
"resources":[
{
"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.
> 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)