Line 170: |
Line 170: |
| * Suggested by: Pavel Emelyanov <ovzxemul@gmail.com> | | * Suggested by: Pavel Emelyanov <ovzxemul@gmail.com> |
| * Mentor: Pavel Emelyanov <ovzxemul@gmail.com> | | * Mentor: Pavel Emelyanov <ovzxemul@gmail.com> |
− |
| |
− | === Porting crit functionalities in GO ===
| |
− |
| |
− | '''Summary:''' Implement image view and manipulation in Go
| |
− |
| |
− | CRIU's checkpoint images are stored on disk using protobuf. For easier analysis of checkpoint files CRIU has a tool called [[CRIT|CRiu Image Tool (CRIT)]]. It can display/decode CRIU image files from binary protobuf to JSON as well as encode JSON files back to the binary format. With closer integration of CRIU in container runtimes it becomes important to be able to view the CRIU output files. Either for manipulation before restoring or for reading checkpoint statistics (memory pages written to disk, memory pages skipped, process downtime).
| |
− |
| |
− | Currently CRIT is implemented in Python, for easier integration in other Go projects it is important to have image manipulation and analysis available from GO. This means we need a Go based library to read/modify/write/encode/decode CRIU's image files. Based on this library a Go based implementation of CRIT would be useful.
| |
− |
| |
− | '''Links:'''
| |
− | * [[CRIT]]
| |
− | * Possible use case see LXD: https://github.com/lxc/lxd/blob/cb55b1c5a484a43e0c21c6ae8c4a2e30b4d45be3/lxd/migrate_container.go#L179
| |
− | * https://github.com/lxc/lxd/pull/4072
| |
− | * https://github.com/checkpoint-restore/go-criu/tree/master/stats
| |
− | * https://github.com/checkpoint-restore/go-criu/pull/28
| |
− |
| |
− | '''Details:'''
| |
− | * Skill level: beginner
| |
− | * Language: Go
| |
− | * Expected size: 350 hours
| |
− | * Mentor: Radostin Stoyanov <rstoyanov@fedoraproject.org>, Alexander Mikhalitsyn <alexander.mikhalitsyn@virtuozzo.com>
| |
− | * Suggested by: Adrian Reber <areber@redhat.com>
| |
− |
| |
| | | |
| === Files on detached mounts === | | === Files on detached mounts === |