Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1649770

Re: [RFC PATCH v2 12/17] cgroup: Remove cgroup v2 no internal process constraint

From Tejun Heo <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [RFC PATCH v2 12/17] cgroup: Remove cgroup v2 no internal process constraint
Date 2017-05-24 19:10 +0200
Message-ID <tKHXk-58r-3@gated-at.bofh.it> (permalink)
References <tHoo9-lZ-3@gated-at.bofh.it> <tHoo9-lZ-21@gated-at.bofh.it> <tIWQP-7ue-39@gated-at.bofh.it> <tJ29Q-36l-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello, Mike.

On Sat, May 20, 2017 at 04:10:07AM +0200, Mike Galbraith wrote:
> On Fri, 2017-05-19 at 16:38 -0400, Tejun Heo wrote:
> > Hello, Waiman.
> > 
> > On Mon, May 15, 2017 at 09:34:11AM -0400, Waiman Long wrote:
> > > The rationale behind the cgroup v2 no internal process constraint is
> > > to avoid resouorce competition between internal processes and child
> > > cgroups. However, not all controllers have problem with internal
> > > process competiton. Enforcing this rule may lead to unnatural process
> > > hierarchy and unneeded levels for those controllers.
> > 
> > This isn't necessarily something we can determine by looking at the
> > current state of controllers.  It's true that some controllers - pid
> > and perf - inherently only care about membership of each task but at
> > the same time neither really suffers from the constraint either.  CPU
> > which is the problematic one here...
> 
> (+ cpuacct + cpuset)

Yeah, cpuacct and cpuset are in the same boat as perf.  cpuset is
completely so and we can move the tree walk to the reader side or
aggregate propagation for cpuacct as necessary.

Thanks.

-- 
tejun

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH v2 12/17] cgroup: Remove cgroup v2 no internal process constraint Waiman Long <longman@redhat.com> - 2017-05-15 15:40 +0200
  Re: [RFC PATCH v2 12/17] cgroup: Remove cgroup v2 no internal  process constraint Tejun Heo <tj@kernel.org> - 2017-05-19 22:40 +0200
    Re: [RFC PATCH v2 12/17] cgroup: Remove cgroup v2 no internal  process constraint Mike Galbraith <efault@gmx.de> - 2017-05-20 04:20 +0200
      Re: [RFC PATCH v2 12/17] cgroup: Remove cgroup v2 no internal  process constraint Tejun Heo <tj@kernel.org> - 2017-05-24 19:10 +0200
    Re: [RFC PATCH v2 12/17] cgroup: Remove cgroup v2 no internal process  constraint Waiman Long <longman@redhat.com> - 2017-05-22 19:00 +0200
      Re: [RFC PATCH v2 12/17] cgroup: Remove cgroup v2 no internal  process constraint Tejun Heo <tj@kernel.org> - 2017-05-24 19:10 +0200
        Re: [RFC PATCH v2 12/17] cgroup: Remove cgroup v2 no internal process  constraint Waiman Long <longman@redhat.com> - 2017-05-24 20:30 +0200

csiph-web