Line 1: |
Line 1: |
− | == Checkpoint/Restore Microconference Notes ==
| + | Welcome to Linux Plumbers Conference 2015 |
| | | |
− | Welcome to Linux Plumbers Conference 2015
| + | [[Image:LPC-microconf-2015.jpg|right|thumb|300px]] |
| | | |
| The structure will be short introductions to an issue or topic followed by a discussion with the audience. | | The structure will be short introductions to an issue or topic followed by a discussion with the audience. |
Line 14: |
Line 14: |
| SCHEDULE | | SCHEDULE |
| | | |
− | ==== Checkpoint and Restore of processes within kernel security mechanisms ====
| + | == Checkpoint and Restore of processes within kernel security mechanisms == |
| Tycho Andersen of Canonical, CRIU contributor | | Tycho Andersen of Canonical, CRIU contributor |
| | | |
Line 24: |
Line 24: |
| Answer: yes, there is a tool for it. | | Answer: yes, there is a tool for it. |
| | | |
− | | + | == CRIU in HPC == |
− | ==== CRIU in HPC ====
| + | Adrian Reber, an old-time CRIU contributor, Red Hat |
− | Adrian Reber, an old-time CRIU contributor, RedHat | |
| * research project in a university involving CRIU, started in 2009 | | * research project in a university involving CRIU, started in 2009 |
| * usage scenario: computer simulation for product develpment | | * usage scenario: computer simulation for product develpment |
Line 37: |
Line 36: |
| * summary: transparent migration works, OpenMPI supports CRIU (but keeps breaking as OpenMPI moves forward very fast), Parallel migration has WIP status | | * summary: transparent migration works, OpenMPI supports CRIU (but keeps breaking as OpenMPI moves forward very fast), Parallel migration has WIP status |
| | | |
− | | + | == CRIU on PowerPC == |
− | ==== CRIU on PowerPC ====
| |
| Laurent Dufour, ported CRIU to PowerPC architecture, IBM | | Laurent Dufour, ported CRIU to PowerPC architecture, IBM |
| CRIU 1.6 ported on Power this summer (What did you do this summer? I ported CRIU to PowerPC). | | CRIU 1.6 ported on Power this summer (What did you do this summer? I ported CRIU to PowerPC). |
Line 50: |
Line 48: |
| * A hindrance to getting docker up and running in CRIU/ppc is that the images it downloads at build/startup are x86_64 images. Help requested. | | * A hindrance to getting docker up and running in CRIU/ppc is that the images it downloads at build/startup are x86_64 images. Help requested. |
| | | |
− | | + | == CRIU Support in Docker for Native Checkpoint and Restore == |
− | ==== CRIU Support in Docker for Native Checkpoint and Restore ====
| |
| Saied Kazemi, working on container migration at Google | | Saied Kazemi, working on container migration at Google |
| * short history of Docker C/R | | * short history of Docker C/R |
Line 68: |
Line 65: |
| Slides from Docker Meetup 2014 https://speakerdeck.com/saied/experimental-docker-checkpoint-and-restore-with-criu | | Slides from Docker Meetup 2014 https://speakerdeck.com/saied/experimental-docker-checkpoint-and-restore-with-criu |
| | | |
− | ==== Break (2:45 - 3:00) ====
| + | == P.Haul: live migrating with CRIU == |
− | | |
− | ==== P.Haul: live migrating with CRIU ====
| |
| Pavel Emelyanov, man in a red T-shirt with microphone | | Pavel Emelyanov, man in a red T-shirt with microphone |
| * Process-Haul (like U-Haul, but about processes) See http://criu.org/P.Haul | | * Process-Haul (like U-Haul, but about processes) See http://criu.org/P.Haul |
Line 76: |
Line 71: |
| * CRIU part of live migration: perform nodes compat checks, pre-dumps in a loop, copy fs if not shared, don't forget container config | | * CRIU part of live migration: perform nodes compat checks, pre-dumps in a loop, copy fs if not shared, don't forget container config |
| * P.Haul migrate container is two steps | | * P.Haul migrate container is two steps |
− | * More information about P.Haul: written in Python, source code https://github.com/xemul/p.haul/, can migrate OpenVZ container (How-to https://github.com/xemul/p.haul/blob/master/test/mtouch/HOWTO), call rsync on chroot-ed container | + | * More information about P.Haul: written in Python, source code https://github.com/checkpoint-restore/p.haul/, can migrate OpenVZ container (How-to https://github.com/checkpoint-restore/p.haul/blob/master/test/mtouch/HOWTO), call rsync on chroot-ed container |
| * P.Haul future: Docker/LXC support, smarter interations, shared FS autodetection, post-copy live migration, send images over the wire (CRIU) | | * P.Haul future: Docker/LXC support, smarter interations, shared FS autodetection, post-copy live migration, send images over the wire (CRIU) |
| * Discussion of P.Haul started | | * Discussion of P.Haul started |
Line 82: |
Line 77: |
| Predump allows process to continue running, vs full dump which is a freeze | | Predump allows process to continue running, vs full dump which is a freeze |
| | | |
− | | + | == Rebootless Kernel Update and its verification == |
− | ==== Rebootless Kernel Update and its verification ====
| |
| Sanidhya Kashyap, PhD student (Georgia Institute of Technology) and CRIU contributor http://www.cc.gatech.edu/~skashyap/ | | Sanidhya Kashyap, PhD student (Georgia Institute of Technology) and CRIU contributor http://www.cc.gatech.edu/~skashyap/ |
| * types of OS update with low downtime: dynamic kernel patching (KSplice, Kpatch and Kgraft) | | * types of OS update with low downtime: dynamic kernel patching (KSplice, Kpatch and Kgraft) |
Line 98: |
Line 92: |
| * Conclusion: implement native support for page cache, hugepages; on-demand restore with usefaultd; need to overhaul kexec | | * Conclusion: implement native support for page cache, hugepages; on-demand restore with usefaultd; need to overhaul kexec |
| | | |
− | | + | == Using CRIU for Computer Architecture and Software Studies == |
− | ==== Using CRIU for Computer Architecture and Software Studies ====
| + | Christopher Covington, spec in performance analysis and simulation at Qualcomm, http://covlibre.net/ |
− | Christopher Covington, in performance analysis and simulation at Qualcomm, http://covlibre.net/ | |
| * speaker starts from terminology, it seems talk will be quite technical :P zOMG a technical talk? Isn't it a sales conference?? (it was a joke :) ) (I'll buy two) Take three and get a 25% discount! | | * speaker starts from terminology, it seems talk will be quite technical :P zOMG a technical talk? Isn't it a sales conference?? (it was a joke :) ) (I'll buy two) Take three and get a 25% discount! |
| * Counting instructions seems preferable to counting time in order to gain determinancy of elapsed work performed. | | * Counting instructions seems preferable to counting time in order to gain determinancy of elapsed work performed. |