Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1719323 > unrolled thread
| Started by | Tejun Heo <tj@kernel.org> |
|---|---|
| First post | 2017-08-24 16:50 +0200 |
| Last post | 2017-08-24 19:40 +0200 |
| Articles | 6 — 4 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] cpuset: Allow cpuset controller in default hierarchy Tejun Heo <tj@kernel.org> - 2017-08-24 16:50 +0200
Re: [PATCH] cpuset: Allow cpuset controller in default hierarchy Waiman Long <longman@redhat.com> - 2017-08-24 17:00 +0200
Re: [PATCH] cpuset: Allow cpuset controller in default hierarchy Tejun Heo <tj@kernel.org> - 2017-08-24 17:10 +0200
Re: [PATCH] cpuset: Allow cpuset controller in default hierarchy Waiman Long <longman@redhat.com> - 2017-08-24 17:30 +0200
Re: [PATCH] cpuset: Allow cpuset controller in default hierarchy Christian Brauner <christian.brauner@canonical.com> - 2017-08-25 01:00 +0200
Re: [PATCH] cpuset: Allow cpuset controller in default hierarchy Mike Galbraith <efault@gmx.de> - 2017-08-24 19:40 +0200
| From | Tejun Heo <tj@kernel.org> |
|---|---|
| Date | 2017-08-24 16:50 +0200 |
| Subject | Re: [PATCH] cpuset: Allow cpuset controller in default hierarchy |
| Message-ID | <ui1Ci-7QZ-11@gated-at.bofh.it> |
Hello, Waiman. On Thu, Aug 24, 2017 at 10:40:11AM -0400, Waiman Long wrote: > Given the fact that thread mode is now queued for 4.14, it is now > time to enable cpuset to be used in the default hierarchy (cgroup v2) > as it is clearly threaded. I'm not sure we want things like exclusive settings in v2 as it directly violates basic hierarchy rules (a sibling shouldn't be able to affect what another sibling can or can't do). We need to think more about what should be exposed in v2. Thanks. -- tejun
[toc] | [next] | [standalone]
| From | Waiman Long <longman@redhat.com> |
|---|---|
| Date | 2017-08-24 17:00 +0200 |
| Message-ID | <ui1LY-7UE-35@gated-at.bofh.it> |
| In reply to | #1719323 |
On 08/24/2017 10:43 AM, Tejun Heo wrote: > Hello, Waiman. > > On Thu, Aug 24, 2017 at 10:40:11AM -0400, Waiman Long wrote: >> Given the fact that thread mode is now queued for 4.14, it is now >> time to enable cpuset to be used in the default hierarchy (cgroup v2) >> as it is clearly threaded. > I'm not sure we want things like exclusive settings in v2 as it > directly violates basic hierarchy rules (a sibling shouldn't be able > to affect what another sibling can or can't do). We need to think > more about what should be exposed in v2. Thank for the quick response. The main reason for sending out this patch is to figure out what exactly is in your mind before enabling cpuset in v2. From my point of view, the exclusive setting makes cpuset behave more like a resource domain that a resource allocated to one cgroup won't be available for another cgroup. So we can argue it both ways whether it violates the basic hierarchy rules or not. I will be in the Plumbers Conference next month and we can talk more about this. My goal is to make cgroup v2 ready for prime time hopefully by the end of the year. Cheers, Longman
[toc] | [prev] | [next] | [standalone]
| From | Tejun Heo <tj@kernel.org> |
|---|---|
| Date | 2017-08-24 17:10 +0200 |
| Message-ID | <ui1VF-8db-31@gated-at.bofh.it> |
| In reply to | #1719331 |
Hello, On Thu, Aug 24, 2017 at 10:56:21AM -0400, Waiman Long wrote: > The main reason for sending out this patch is to figure out what exactly > is in your mind before enabling cpuset in v2. > > From my point of view, the exclusive setting makes cpuset behave more > like a resource domain that a resource allocated to one cgroup won't be > available for another cgroup. So we can argue it both ways whether it > violates the basic hierarchy rules or not. It's not even siblings interfering with other siblings. The resource knobs belong to the parent, right? So, the only thing it's doing is restricting the parent itself from creating certain configurations, which can be argued to be a feature but it's a really weird policy enforcement implemented in kernel. > I will be in the Plumbers Conference next month and we can talk more > about this. My goal is to make cgroup v2 ready for prime time hopefully > by the end of the year. Sure, the only thing I think we need for cpuset is cutting down the interface to the minimal set which provides all the features to userspace. Thanks. -- tejun
[toc] | [prev] | [next] | [standalone]
| From | Waiman Long <longman@redhat.com> |
|---|---|
| Date | 2017-08-24 17:30 +0200 |
| Message-ID | <ui2f0-8jI-7@gated-at.bofh.it> |
| In reply to | #1719332 |
On 08/24/2017 11:02 AM, Tejun Heo wrote: > Hello, > > On Thu, Aug 24, 2017 at 10:56:21AM -0400, Waiman Long wrote: >> The main reason for sending out this patch is to figure out what exactly >> is in your mind before enabling cpuset in v2. >> >> From my point of view, the exclusive setting makes cpuset behave more >> like a resource domain that a resource allocated to one cgroup won't be >> available for another cgroup. So we can argue it both ways whether it >> violates the basic hierarchy rules or not. > It's not even siblings interfering with other siblings. The resource > knobs belong to the parent, right? So, the only thing it's doing is > restricting the parent itself from creating certain configurations, > which can be argued to be a feature but it's a really weird policy > enforcement implemented in kernel. Yes, it is an unusual feature. It is basically an enforcement in kernel of what the user space can perfectly do by itself without the involvement by the kernel. Perhaps, we should leave it out from v2 for now. We can always add it back when the developers ask for it, but deleting feature once it is in is a no-no. >> I will be in the Plumbers Conference next month and we can talk more >> about this. My goal is to make cgroup v2 ready for prime time hopefully >> by the end of the year. > Sure, the only thing I think we need for cpuset is cutting down the > interface to the minimal set which provides all the features to > userspace. Besides *cpus and *mems, the rests are just flags that can be turned on or off. Maybe we could use a single cpuset.flags file to replace all those files and use + and - prefix to turn on and off flags like subtree_control. That should reduce the interface bloat which can be a concern if a large number of controllers are enabled in a cgroup. Cheers, Longman
[toc] | [prev] | [next] | [standalone]
| From | Christian Brauner <christian.brauner@canonical.com> |
|---|---|
| Date | 2017-08-25 01:00 +0200 |
| Message-ID | <ui9gt-4j0-1@gated-at.bofh.it> |
| In reply to | #1719332 |
On Thu, Aug 24, 2017 at 08:02:22AM -0700, Tejun Heo wrote: > Hello, > > On Thu, Aug 24, 2017 at 10:56:21AM -0400, Waiman Long wrote: > > The main reason for sending out this patch is to figure out what exactly > > is in your mind before enabling cpuset in v2. > > > > From my point of view, the exclusive setting makes cpuset behave more > > like a resource domain that a resource allocated to one cgroup won't be > > available for another cgroup. So we can argue it both ways whether it > > violates the basic hierarchy rules or not. > > It's not even siblings interfering with other siblings. The resource > knobs belong to the parent, right? So, the only thing it's doing is > restricting the parent itself from creating certain configurations, > which can be argued to be a feature but it's a really weird policy > enforcement implemented in kernel. > > > I will be in the Plumbers Conference next month and we can talk more > > about this. My goal is to make cgroup v2 ready for prime time hopefully > > by the end of the year. Hi, I've been following this thread and the cpuset controller being enabled on cgroup v2 is a really important step. As one of many container runtime maintainers this is obviously a big step for us with a lot of impact. It'd be really nice if we could have a little little discussion just to see what the plan is like and what sort of features are going to expose to userspace. This is all a very rapid development which is good. I'd just like to make sure to know what we're in for. Sort of like what we did last year at Plumber but less offical and without microphones and the overhead of having hundreds of people in the room. :) Also it likely be way more relaxed given that a lot of the problems dicussed back then seem to have been resolved. CCing Serge and Stéphane. :) Thanks! Christian > > Sure, the only thing I think we need for cpuset is cutting down the > interface to the minimal set which provides all the features to > userspace. > > Thanks. > > -- > tejun > -- > To unsubscribe from this list: send the line "unsubscribe cgroups" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
[toc] | [prev] | [next] | [standalone]
| From | Mike Galbraith <efault@gmx.de> |
|---|---|
| Date | 2017-08-24 19:40 +0200 |
| Message-ID | <ui4gO-17m-13@gated-at.bofh.it> |
| In reply to | #1719323 |
On Thu, 2017-08-24 at 07:43 -0700, Tejun Heo wrote: > Hello, Waiman. > > On Thu, Aug 24, 2017 at 10:40:11AM -0400, Waiman Long wrote: > > Given the fact that thread mode is now queued for 4.14, it is now > > time to enable cpuset to be used in the default hierarchy (cgroup v2) > > as it is clearly threaded. > > I'm not sure we want things like exclusive settings in v2 as it > directly violates basic hierarchy rules (a sibling shouldn't be able > to affect what another sibling can or can't do). We need to think > more about what should be exposed in v2. I was wondering when this was gonna come up. The cpu/cpuacct stuff seems well on its way to resolution, but partitioning (critical) is sti ll dangling in the breeze. -Mike
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web