You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Chengwei Yang <ch...@gmail.com> on 2015/05/08 04:21:44 UTC

cpu hard limit for docker containerizer?

Hi List,

I see mesos-slave has `--cgroups_enable_cfs` option to enable CFS hard cpu
limit, that's may real helpful to running online aand offline jobs within a
single mesos cluster, since some offline jobs are very CPU bindings.

However, after having a small source code trip, I saw `--cgroups_enable_cfs` is
only used by *mesos* containerizer, is there a plan to reuse this in *docker*
containerizer?

Please correct me if I was wrong, thanks in advance!

-- 
Thanks,
Chengwei

Re: cpu hard limit for docker containerizer?

Posted by Chengwei Yang <ch...@gmail.com>.
Thanks Tim, I'll take a look if I can help.

-- 
Thanks,
Chengwei

On Thu, May 07, 2015 at 09:56:35PM -0700, Tim Chen wrote:
> Hi Chengwei,
> 
> It's a known issue and there is a open JIRA (MESOS-2154) and also a open
> reviewboard that hasn't been updated for a while.
> 
> I'd like this to go into to 0.23 if we can get to it, if you like to pick up
> the reviewboard feel free to do so.
> 
> Tim
> 
> On Thu, May 7, 2015 at 7:21 PM, Chengwei Yang <ch...@gmail.com>
> wrote:
> 
>     Hi List,
> 
>     I see mesos-slave has `--cgroups_enable_cfs` option to enable CFS hard cpu
>     limit, that's may real helpful to running online aand offline jobs within a
>     single mesos cluster, since some offline jobs are very CPU bindings.
> 
>     However, after having a small source code trip, I saw `--cgroups_enable_cfs
>     ` is
>     only used by *mesos* containerizer, is there a plan to reuse this in
>     *docker*
>     containerizer?
> 
>     Please correct me if I was wrong, thanks in advance!
>    
>     --
>     Thanks,
>     Chengwei
> 
> 
> SECURITY NOTE: file ~/.netrc must not be accessible by others

Re: cpu hard limit for docker containerizer?

Posted by Chengwei Yang <ch...@gmail.com>.
Thanks Tim, I'll take a look if I can help.

-- 
Thanks,
Chengwei

On Thu, May 07, 2015 at 09:56:35PM -0700, Tim Chen wrote:
> Hi Chengwei,
> 
> It's a known issue and there is a open JIRA (MESOS-2154) and also a open
> reviewboard that hasn't been updated for a while.
> 
> I'd like this to go into to 0.23 if we can get to it, if you like to pick up
> the reviewboard feel free to do so.
> 
> Tim
> 
> On Thu, May 7, 2015 at 7:21 PM, Chengwei Yang <ch...@gmail.com>
> wrote:
> 
>     Hi List,
> 
>     I see mesos-slave has `--cgroups_enable_cfs` option to enable CFS hard cpu
>     limit, that's may real helpful to running online aand offline jobs within a
>     single mesos cluster, since some offline jobs are very CPU bindings.
> 
>     However, after having a small source code trip, I saw `--cgroups_enable_cfs
>     ` is
>     only used by *mesos* containerizer, is there a plan to reuse this in
>     *docker*
>     containerizer?
> 
>     Please correct me if I was wrong, thanks in advance!
>    
>     --
>     Thanks,
>     Chengwei
> 
> 
> SECURITY NOTE: file ~/.netrc must not be accessible by others

Re: cpu hard limit for docker containerizer?

Posted by Tim Chen <ti...@mesosphere.io>.
Hi Chengwei,

It's a known issue and there is a open JIRA (MESOS-2154) and also a open
reviewboard that hasn't been updated for a while.

I'd like this to go into to 0.23 if we can get to it, if you like to pick
up the reviewboard feel free to do so.

Tim

On Thu, May 7, 2015 at 7:21 PM, Chengwei Yang <ch...@gmail.com>
wrote:

> Hi List,
>
> I see mesos-slave has `--cgroups_enable_cfs` option to enable CFS hard cpu
> limit, that's may real helpful to running online aand offline jobs within a
> single mesos cluster, since some offline jobs are very CPU bindings.
>
> However, after having a small source code trip, I saw
> `--cgroups_enable_cfs` is
> only used by *mesos* containerizer, is there a plan to reuse this in
> *docker*
> containerizer?
>
> Please correct me if I was wrong, thanks in advance!
>
> --
> Thanks,
> Chengwei
>

Re: cpu hard limit for docker containerizer?

Posted by Tim Chen <ti...@mesosphere.io>.
Hi Chengwei,

It's a known issue and there is a open JIRA (MESOS-2154) and also a open
reviewboard that hasn't been updated for a while.

I'd like this to go into to 0.23 if we can get to it, if you like to pick
up the reviewboard feel free to do so.

Tim

On Thu, May 7, 2015 at 7:21 PM, Chengwei Yang <ch...@gmail.com>
wrote:

> Hi List,
>
> I see mesos-slave has `--cgroups_enable_cfs` option to enable CFS hard cpu
> limit, that's may real helpful to running online aand offline jobs within a
> single mesos cluster, since some offline jobs are very CPU bindings.
>
> However, after having a small source code trip, I saw
> `--cgroups_enable_cfs` is
> only used by *mesos* containerizer, is there a plan to reuse this in
> *docker*
> containerizer?
>
> Please correct me if I was wrong, thanks in advance!
>
> --
> Thanks,
> Chengwei
>