login
Header Space

 
 

Re: [RFC] Control Groups Roadmap ideas

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Serge E. Hallyn <serue@...>
Cc: Linux Containers <containers@...>, lkml <linux-kernel@...>
Date: Monday, April 14, 2008 - 1:24 am

On Fri, Apr 11, 2008 at 7:48 AM, Serge E. Hallyn <serue@us.ibm.com> wrote:

Back during the early versions of control groups, Paul Jackson
proposed a bind/unbind API that would let you affect the subsystems on
an active hierarchy, and it was always a goal of mine to implement
that - current inflexibility is something that I've never been that
keen on, but it was OK for the first big release and could be extended
later.

One of the potential scenarios was that you might want to have a very
early boot script set up cpusets and node isolation for a set of
system daemons, and then bind other subsystems on to the same
hierarchy later in the boot process.


Yes, probably - particularly if we restrict it to adding/removing
subsystems from an existing tree, rather than splitting and merging
multiple hierarchies.


That's a different issue, and one that I left out of the roadmap
email. We can have a virtualization subsystem that controls what
subset of a given hierarchy you can see - if the virtualization
subsystem is bound to a given hierarchy, and a cgroup is marked as
virtualized, then a mount of that hierarchy by a process in the
virtualized cgroup will see that cgroup as the root of the hierarchy.
It would be a bit like doing a bind mount of a subtree of the main
hierarchy, but automatically enforced by the kernel.


This would be to allow virtual servers to mount their own swapfiles?
Presumably there'd still be a use for a swap cgroup for job systems
that want to isolate swap usage without virtualization or requiring
jobs to mount their own swapfiles?

Paul
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] Control Groups Roadmap ideas, Paul Menage, (Tue Apr 8, 5:14 pm)
Re: [RFC] Control Groups Roadmap ideas, Serge E. Hallyn, (Fri Apr 11, 10:48 am)
Re: [RFC] Control Groups Roadmap ideas, Paul Menage, (Mon Apr 14, 1:24 am)
Re: [RFC] Control Groups Roadmap ideas, Serge E. Hallyn, (Mon Apr 14, 10:11 am)
Re: [RFC] Control Groups Roadmap ideas, Paul Menage, (Mon Apr 14, 11:03 am)
Re: [RFC] Control Groups Roadmap ideas, Balbir Singh, (Sat Apr 12, 1:10 am)
Re: [RFC] Control Groups Roadmap ideas, Serge E. Hallyn, (Sun Apr 13, 12:11 pm)
Re: [RFC] Control Groups Roadmap ideas, Balbir Singh, (Mon Apr 14, 10:31 am)
Re: [RFC] Control Groups Roadmap ideas, Li Zefan, (Tue Apr 8, 10:28 pm)
Re: [RFC] Control Groups Roadmap ideas, Paul Menage, (Thu Apr 10, 4:10 pm)
speck-geostationary