From: Christian Brauner <christian.brauner@canonical.com>
To: Waiman Long <longman@redhat.com>
Cc: "Tejun Heo" <tj@kernel.org>, "Li Zefan" <lizefan@huawei.com>,
"Johannes Weiner" <hannes@cmpxchg.org>,
"Jonathan Corbet" <corbet@lwn.net>,
linux-kernel@vger.kernel.org, cgroups@vger.kernel.org,
linux-doc@vger.kernel.org, "Mike Galbraith" <efault@gmx.de>,
"Stéphane Graber" <stgraber@ubuntu.com>,
"Serge Hallyn" <serge@hallyn.com>
Subject: Re: [PATCH v3] cpuset: Enable cpuset controller in default hierarchy
Date: Thu, 26 Oct 2017 22:59:16 +0200 [thread overview]
Message-ID: <20171026205915.ztcc3yg7wzemlbzw@gmail.com> (raw)
In-Reply-To: <2814be69-8dc1-b2f8-406e-cc4dda289d94@redhat.com>
On Thu, Oct 26, 2017 at 02:12:01PM -0400, Waiman Long wrote:
> On 10/26/2017 10:39 AM, Tejun Heo wrote:
> > Hello, Waiman.
> >
> > On Wed, Oct 25, 2017 at 11:50:34AM -0400, Waiman Long wrote:
> >> Ping! Any comment on this patch?
Fwiw, I just saw this patch today for some weird reason.
> > Sorry about the lack of response. Here are my two thoughts.
> >
> > 1. I'm not really sure about the memory part. Mostly because of the
> > way it's configured and enforced is completely out of step with how
> > mm behaves in general. I'd like to get more input from mm folks on
> > this.
>
> Yes, I also have doubt about which of the additional features are being
> actively used. That is why the current patch exposes only the memory_migrate
> flag in addition to the core *cpus and *mems control files. All the
> other v1 features are not exposed waiting for further investigation and
> feedback. One way to get more feedback is to have something that people
> can play with. Maybe we could somehow tag it as experimental so that we
> can change the interface later on, when necessary, if you have concern
> about setting the APIs in stone.
This sounds like a reasonable approach to me. The cpuset controller is quite
important from a userspace (especially container) perspective. So making this
an experimental feature for a while to gather feedback seems worth it. I'd be
happy to carry/receive some experimental patches in a liblxc branch for cgroup
v2 to see where the current cpuset controller implementation currently gets us
and send/discuss patches where needed.
>
> > 2. I want to think more about how we expose the effective settings.
> > Not that anything is wrong with what cpuset does, but more that I
> > wanna ensure that it's something we can follow in other cases where
> > we have similar hierarchical property propagation.
>
> Currently, the effective setting is exposed via the effective_cpus and
> effective_mems control files. Unlike other controllers that control
> resources, cpuset is unique in the sense that it is propagating
> hierarchical constraints on CPUs and memory nodes down the tree. I
> understand your desire to have a unified framework that can be applied
> to most controllers, but I doubt cpuset is a good model in this regard.
>
> Cheers,
> Longman
>
next prev parent reply other threads:[~2017-10-26 21:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-06 21:10 Waiman Long
2017-10-25 15:50 ` Waiman Long
2017-10-26 14:39 ` Tejun Heo
2017-10-26 18:12 ` Waiman Long
2017-10-26 20:59 ` Christian Brauner [this message]
2017-11-14 17:49 ` Waiman Long
2017-11-27 21:04 ` Tejun Heo
2017-11-27 21:19 ` Waiman Long
2017-11-27 21:42 ` Tejun Heo
2017-11-27 21:47 ` Waiman Long
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171026205915.ztcc3yg7wzemlbzw@gmail.com \
--to=christian.brauner@canonical.com \
--cc=cgroups@vger.kernel.org \
--cc=corbet@lwn.net \
--cc=efault@gmx.de \
--cc=hannes@cmpxchg.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizefan@huawei.com \
--cc=longman@redhat.com \
--cc=serge@hallyn.com \
--cc=stgraber@ubuntu.com \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®