You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "AndyPang (JIRA)" <ji...@apache.org> on 2016/04/26 09:19:12 UTC

[jira] [Commented] (MESOS-5268) Cgroups CpushareIsolator don't take effect on SLES 11 SP2 SP3

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

AndyPang commented on MESOS-5268:
---------------------------------

I find in mesos cgroup assigin operation
{code:title=cgroup assigin |borderStyle=solid}
Try<Nothing> assign(const string& hierarchy, const string& cgroup, pid_t pid)
{
  return cgroups::write(hierarchy, cgroup, "cgroup.procs", stringify(pid));
}
{code}

> Cgroups CpushareIsolator don't take effect on SLES 11 SP2 SP3
> -------------------------------------------------------------
>
>                 Key: MESOS-5268
>                 URL: https://issues.apache.org/jira/browse/MESOS-5268
>             Project: Mesos
>          Issue Type: Bug
>          Components: isolation
>    Affects Versions: 0.27.0
>         Environment: suse 3.0.101-0.47.71-default #1 SMP Thu Nov 12 12:22:22 UTC 2015 (b5b212e) x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: AndyPang
>            Assignee: AndyPang
>              Labels: patch
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> meson run in SLES  11 sp2 sp3, kernel version 3.0.13/3.076, cpushareisolator don't take effect. Two framework cpushare proportion is 1:3, we find at last in mesos container cpu.shares value is right, but  when we use "top" to see result, the cpu usage is not 1:3. Our Application is multithread and can fulfil the cpu quota when single run.      



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