Containers and PID virtualization
Posted Jan 19, 2006 17:03 UTC (Thu) by swiftone
In reply to: Containers and PID virtualization
Parent article: Containers and PID virtualization
what does this really offer that cannot be done with UML or Xen?
I'm hardly an expert, but I'll post my understanding here so that if I'm wrong someone can point it out to me :)
Xen, as far as I know, runs a virtual machine within the kernal (okay, it's not a virtual machine in the VMware sense, but that's the concept).
A container is a collection of processes that are aware of each other. Basically, Xen is the kernel, and the container is the processes RUNNING on the kernel.
If you have a series of long-running processes that can grow in memory/CPU usage, conventional load-balancing techniques won't help you at all. This would let you move some of those processes to other machines. (or perhaps to another CPU on the same machine...LWN didn't mention anything about threads). Heck, this could give you a "suspend-to-disk" method that would let you take your work from machine to machine. Imagine carrying a USB drive with your work container on it, and being able to load up that container on whatever linux system you're at. (although Xen probably can/will do something similar to that, except that it'd have to carry your whole OS with it)
to post comments)