4 ms·
There's also a project called CRIU that is used experimentally by Docker for container save/load: https://www.criu.org/Main_Page https://www.criu.org/Main_Page
by colinchartier 6y ago
There's also a project called CRIU that is used experimentally by Docker for container save/load: https://www.criu.org/Main_Page https://www.criu.org/Main_Page
- jraph 6y agoYou were faster than me. Yes, CRIU does checkpointing in userspace on Linux. They contributed a lot of patches to the Linux kernel to support this feature. So there isn't any support for checkpointing in the mainline kernel. Rather, there are many kernel features that allows building such a feature in userspace. For instance, you can set the PID of the next program you spawn on Linux thanks to CRIU, because CRIU needs to be able to restore processes with the same PIDs as when they were checkpointed [1]. CRIU is used by OpenVZ, which, if I remember correctly, are moving or moved away from a kernel-based approach. [1] http://efiop-notes.blogspot.com/2014/06/how-to-set-pid-using-nslastpid.html http://efiop-notes.blogspot.com/2014/06/how-to-set-pid-using...
- jabedude 6y agoThis was immensely informative, thank you for that link. CRIU looks like an awesome project. I can't believe I haven't heard of them prior to today.
- emmelaich 6y agoCRIU and DMTCP are mentioned in the article.