[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1372391198.5989.110.camel@marge.simpson.net>
Date: Fri, 28 Jun 2013 05:46:38 +0200
From: Mike Galbraith <bitbucket@...ine.de>
To: Tejun Heo <tj@...nel.org>
Cc: Tim Hockin <thockin@...kin.org>, Li Zefan <lizefan@...wei.com>,
Containers <containers@...ts.linux-foundation.org>,
Cgroups <cgroups@...r.kernel.org>,
bsingharora <bsingharora@...il.com>,
"dhaval.giani" <dhaval.giani@...il.com>,
Kay Sievers <kay.sievers@...y.org>,
jpoimboe <jpoimboe@...hat.com>,
"Daniel P. Berrange" <berrange@...hat.com>,
lpoetter <lpoetter@...hat.com>,
workman-devel <workman-devel@...hat.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: cgroup: status-quo and userland efforts
On Thu, 2013-06-27 at 11:01 -0700, Tejun Heo wrote:
> Hello, Mike.
>
> On Thu, Jun 27, 2013 at 07:45:07AM +0200, Mike Galbraith wrote:
> > I can understand some alarm. When I saw the below I started frothing at
> > the face and howling at the moon, and I don't even use the things much.
>
> Can I ask why? The reasons are not apparent to me.
Sure, because in private property and I mandatory agent, I see "gimme
yer wallet bitch", an incredibly arrogant and brutal mugging. That's
not the way it's meant, I know that, but that's how it comes across.
You asked, so you get the straight up answer.
Offering to manage cgroups is one thing, very generous, forcefully
placing itself between user and kernel quite another. Perhaps I
misread, but my interpretation was that the intent is to make systemd a
mandatory agent, even saw reference to it taking up residence in the
kernel tree (that bit made me chuckle, pull request would have to be
very cleverly worded methinks). I'm sure it will be quite capable, its
authors are. However, when I want to talk to my kernel, I expect to be
able to tell anyone else using the phone to hang up.. now.
> > http://lists.freedesktop.org/archives/systemd-devel/2013-June/011521.html
> >
> > Hierarchy layout aside, that "private property" bit says that the folks
> > who currently own and use the cgroups interface will lose direct access
> > to it. I can imagine folks who have become dependent upon an on the fly
> > management agents of their own design becoming a tad alarmed.
>
> They're gonna be able to do what they've been doing for the
> foreseeable future if they choose not to use systemd's unified
Those are the comforting words I wanted to hear, that the user chooses,
that the user will not find that this that or any other userspace agent
gains the right to insert itself between user and kernel.
> AFAICS, having a userland agent which has overall knowledge of the
> hierarchy and enforcesf structure and limiations is a requirement to
> make cgroup generally useable and useful.
It's useful now, usable to the point that enterprise users exist who
have integrated cgroups into their business model. But then you know
that. Sure, there are problems, things could and no doubt will get a
lot better.
However, wrt userspace agent, no agent is going to be the right answer
for all, so that agent needs to have a step aside button so another
agent can be tasked with the managerial duties, whether that be little
ole /me or Aunt Tilly piddling with this and that because we damn well
feel like it, or BigFoot company X going massively wild and crazy doing
their business thing.
> For systemd based systems,
> systemd serving that role isn't too crazy. It's sure gonna have
> teeting issues at the beginning but it has all the necessary
> information to manage workloads on the system.
No, it's not at all crazy, _offering_ the user a managerial service is
great, generous, way to go guys, pass out the white hats. Use force,
and those pretty white hats turn black as night, hero to villain.
> A valid issue is interoperability between systemd and non-systemd
> systems. I don't have an immediately good answer for that. I wrote
> in another reply but making cgroup generally available is a pretty new
> effort and we're still in the process of figuring out what the right
> constructs and abstractions are. Hopefully, we'll be able to reach a
> common set of abstractions to base things on top in itme.
systemd and no systemd is also a valid issue. I'm sure it'll all get
worked out, but that link, and others like it make me see bright red.
-Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists