[CRIU] Reg unix stream checkpointing and other issues.
Pavel Emelyanov
xemul at parallels.com
Fri Sep 12 09:33:00 PDT 2014
On 09/12/2014 08:21 PM, Sanidhya Kashyap wrote:
>> The beginnings appeared here: http://lists.openvz.org/pipermail/criu/2014-August/015853.html
>> No news from the guy since then :)
>>
>
> Thanks, I'll look at the patches!
Great! But they add only a part of the dump :)
>> We can do incremental restore, but it's quite tricky. The process
>> of migration would look like this then.
>>
>> 1. Get the process tree and their memory
>> 2. Go on restore node, fork tasks and put the memory in places
>> 3. Go back on source node, get the tree and changed memory
>> 4. Go on restore node, fixup the tree by killing died tasks
>> and forking the appeared ones, then update their memory
>> 5. Repeat steps 3 and 4 some more times
>>
>> The trickiest part is step #4. I have no nice algorithm for "fixup the tree"
>> step of it. Tuning up changed memory is more or less clear how to do.
>>
>
> So, in order to do this, do we need to get some support from the
> kernel or criu will be able to manage it?
CRIU can manage it, but the algo would be quite tricky :)
Thanks,
Pavel
More information about the CRIU
mailing list