[Devel] Re: swsusp done by migration (was Re: [RFC][PATCH 1/5] Virtualization/containers: startup)

Kyle Moffett mrmacman_g4 at mac.com
Thu Feb 9 16:21:50 PST 2006


On Feb 09, 2006, at 13:20, Eric W. Biederman wrote:
> Pavel Machek <pavel at ucw.cz> writes:
>> Well, for now software suspend is done at very different level (it  
>> snapshots complete kernel state), but being able to use migration  
>> for this is certainly nice option.
>>
>> BTW you could do whole-machine-migration now with uswsusp; but  
>> you'd need identical hardware and it would take a bit long...
>
> Right part of the goal is with doing it as we are doing it is that  
> we can define what the interesting state is.
>
> Replacing software suspend is not an immediate goal but I think it  
> is a worthy thing to target.  In part because if we really can rip  
> things out of the kernel store them in a portable format and  
> restore them we will also have the ability to upgrade the kernel  
> with out stopping user space applications...
>
> But being able to avoid the uninteresting parts, and having the  
> policy complete controlled outside the kernel are the big wins we  
> are shooting for.

<wishful thinking>
I can see another extension to this functionality.  With appropriate  
changes it might also be possible to have a container exist across  
multiple computers using some cluster code for synchronization and  
fencing.  The outermost container would be the system boot container,  
and multiple inner containers would use some sort of network- 
container-aware cluster filesystem to spread multiple vservers across  
multiple servers, distributing CPU and network load appropriately.
</wishful thinking>

Cheers,
Kyle Moffett

--
I have yet to see any problem, however complicated, which, when you  
looked at it in the right way, did not become still more complicated.
   -- Poul Anderson






More information about the Devel mailing list