Hey Don,

Have you tried only setting the 'cgroups/mem' isolation flag on the slave
and not the cpu one?

http://mesosphere.com/docs/reference/mesos-slave/


ryan

On 19 February 2015 at 14:13, Donald Laidlaw <[email protected]> wrote:

> I am using Mesos 0.21.1 with Marathon 0.8.0 and running everything in
> docker containers.
>
> Is there a way to have mesos ignore the cpu relative shares? That is, not
> limit the docker container CPU at all when it runs. I would still want to
> have the Memory resource limitation, but would rather just let the linux
> system under the containers schedule all the CPU.
>
> This would allow us to just allocate tasks to mesos slaves based on
> available memory only, and to let those tasks get whatever CPU they could
> when they needed it. This is desireable where there can be lots of relative
> high memory tasks that have very low CPU requirements. Especially if we do
> not know the capabilities of the slave machines with regards to CPU. Some
> of them may have fast CPU's, some slow, so it is hard to pick a relative
> number for that slave.
>
> Thanks,
>
> Don Laidlaw
>

Reply via email to