[CRIU] Reg unix stream checkpointing and other issues.

Sanidhya Kashyap sanidhya.gatech at gmail.com
Fri Sep 12 08:19:40 PDT 2014


Thanks for the info Pavel.


>
>>>
>>> This is AIO mapping. We're working on supporting this, patches are
>>> expected to appear by v1.4 :)
>>>
>>
>> That's great!! When can I expect the 1.4 version? Or are those patches
>> already upstreamed?
>
> Our release policy is like this: http://criu.org/Release_schedule
> But note, that releases are time-driven, not feature-driven. So if
> the patches are not ready till 1.4 they are delayed till next release.
>

Well, is the AIO patch available on the mailing list? If yes, it would
be great if you can point out the thread link which I can look at.

>>
>> I guess for the device mapping, we have to write separate mechanism to
>> work with those.
>
> Yes. We have plugins engine (http://criu.org/Plugins). In case we'll
> need to support devices, we will add plugin hooks into respective places.
> But so far we haven't met this requirement.
>

Awesome! How did I miss it :-/


>> By API do you mean kernel API or something else?
>
> I mean CRIU API. We have 3 of them (http://criu.org/API_compliance).
> As far as multiple PIDs feature is concerned, we will probably need to:
>
> 1. make the --tree option accept the comma/colon-separated list
> 2. fix the pstree (process tree) restore code to bear with multiple
>    root tasks
> 3. audit the code for checks for root process and think would they
>    break or not (there are a couple of places about it)
> 4. test it. I'd suggest modifying the zdtm suite so that it launches,
>    dumps and restores more than one test at a time
>

Then, I'll look at these in sometime as I am quite interested.

Another question that I have in my mind is about the restoring of the
process. Well, with the help of memory changes tracking, we can
decrease the freeze time of a process while checkpoitning, but what
about the restore? I guess, that tracking part can't be used in the
case of restoration.

What are the possible ways to improve the restore similar to the checkpointing?

Thanks,
Sanidhya


More information about the CRIU mailing list