public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* (pspace,pid) vs true pid virtualization
@ 2006-02-15 14:59 Serge E. Hallyn
  2006-02-15 22:12 ` Eric W. Biederman
  2006-02-15 23:24 ` Sam Vilain
  0 siblings, 2 replies; 45+ messages in thread
From: Serge E. Hallyn @ 2006-02-15 14:59 UTC (permalink / raw)
  To: Kirill Korotaev
  Cc: Eric W. Biederman, linux-kernel, vserver, Herbert Poetzl,
	Serge E. Hallyn, Alan Cox, Dave Hansen, Arjan van de Ven,
	Suleiman Souhlal, Hubertus Franke, Cedric Le Goater, Kyle Moffett,
	Greg, Linus Torvalds, Andrew Morton, Greg KH, Rik van Riel,
	Alexey Kuznetsov, Andrey Savochkin, Kirill Korotaev, Andi Kleen,
	Benjamin Herrenschmidt, Jeff Garzik, Trond Myklebust,
	Jes Sorensen

Hi,

the lkml discussion on pid virtualization has been covering many of the
issues both relating directly to pid virtualization, and relating to
optimizations in the two specific implementations.

However, if we're going to get anywhere, the first decision which we
need to make is whether to go with a (container,pid), (pspace,pid) or
equivalent pair like approach, or a virtualized pid approach.  Linus had
previously said that he prefers the former.  Since there has been much
discussion since then, I thought I'd try to recap the pros and cons of
each approach, with the hope that the head Penguins will chime in one
more time, after which we can hopefully focus our efforts.

Issues with the (pspace,pid) pair like approach:
	1. how do we reap zombies when the "real" init process
		is not visible from within a container?
	2. global process view
		userspace tools may need to be taught about containers
		in order to provide any container with a "global pid view".
		i.e. all tasks could be listed as (pspace,pid), or as
		pid1/pid2/pid3 where pid1 is creator of pid2's pspace
		which is creator of pid3's pspace...
	3. no half-isolation mode?
		containers are always fully isolated.  This doesn't
		need to be the case if userspace tools are taught
		to deal with containerids.  On the other hand, it
		can also be considered one of it's strenghts.

Issues with pid virtualization;
	1. maintenance/correctness
		pids and vpids are now different and must not be mixed.
		Enforcing this simply in the kernel is a concern.  Sparse
		may be useful here, or simply using different opaque types.
	2. slowdown after migration
		before checkpt, pid==vpid.  After restore or migration,
		vpid = hash(pid) or vice versa.

Please add any issues I've not listed, or correct anything you feel I've
misrepresented.

thanks,
-serge

^ permalink raw reply	[flat|nested] 45+ messages in thread

end of thread, other threads:[~2006-02-20 20:02 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-15 14:59 (pspace,pid) vs true pid virtualization Serge E. Hallyn
2006-02-15 22:12 ` Eric W. Biederman
2006-02-16 14:29   ` Serge E. Hallyn
2006-02-16 16:37     ` Eric W. Biederman
2006-02-16 17:53       ` Serge E. Hallyn
2006-02-16 18:19         ` Eric W. Biederman
2006-02-16 18:44           ` Serge E. Hallyn
2006-02-16 18:52             ` Dave Hansen
2006-02-17 10:57               ` Eric W. Biederman
2006-02-17 11:44                 ` Herbert Poetzl
2006-02-17 12:16                   ` Eric W. Biederman
2006-02-17 12:44                     ` Herbert Poetzl
2006-02-17 13:15                       ` Eric W. Biederman
2006-02-17 13:39                       ` Hubertus Franke
2006-02-17 21:40                         ` Herbert Poetzl
2006-02-17 11:04             ` Eric W. Biederman
2006-02-20 10:06       ` Kirill Korotaev
2006-02-17  3:35     ` Hubertus Franke
2006-02-17 14:53       ` Serge E. Hallyn
2006-02-20  9:37     ` Kirill Korotaev
2006-02-20 12:47       ` Herbert Poetzl
2006-02-20 14:34         ` Kirill Korotaev
2006-02-20 15:27           ` Herbert Poetzl
2006-02-16 14:30   ` Herbert Poetzl
2006-02-16 15:37     ` Serge E. Hallyn
2006-02-16 17:13       ` Eric W. Biederman
2006-02-16 17:57         ` Serge E. Hallyn
2006-02-20  9:54       ` Kirill Korotaev
2006-02-20 18:19         ` Dave Hansen
2006-02-16 16:59     ` Eric W. Biederman
2006-02-16 17:41     ` Dave Hansen
2006-02-16 19:12       ` Herbert Poetzl
2006-02-16 19:38         ` Dave Hansen
2006-02-16 21:11           ` Sam Vilain
2006-02-20 10:10       ` Kirill Korotaev
2006-02-20  9:50     ` Kirill Korotaev
2006-02-20 13:00       ` Herbert Poetzl
2006-02-20 14:44         ` Kirill Korotaev
2006-02-20 15:36           ` Herbert Poetzl
2006-02-20  9:13   ` Kirill Korotaev
2006-02-20 18:07     ` Dave Hansen
2006-02-15 23:24 ` Sam Vilain
2006-02-16  5:50   ` Eric W. Biederman
2006-02-20  9:17   ` Kirill Korotaev
2006-02-20 20:01     ` Sam Vilain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox