checkpoint-restore / criu-image-streamer

Enables streaming of images to and from CRIU during checkpoint/restore with low overhead
86 stars 12 forks source link

CRIU-Image-Streamer working #1

Closed shubham95 closed 4 years ago

shubham95 commented 4 years ago

how it works Like dump and restore starts parallel and files are transferred on the fly

WhatsApp Image 2020-06-05 at 9 52 29 AM Otherwise How it is different from CRIU page server

nviennot commented 4 years ago

The streamer can do live migrations, but doesn't need to.

Think that the streamer is just an extension to make CRIU think that the image is not a bunch of files on disk, but rather a UNIX pipe. With that in mind, you can think of being able to do conceptually:

1) criu dump | lz4 > image.lz4 then cat image.lz4 | lz4 -d | criu restore 2) criu dump | ssh | criu restore

The CRIU page server is specifically solving the problem of live migration with keeping the downtime of the application minimal. The streamer does not care how long the application is going to be down for. Rather, it tries to do the checkpoint as fast as it can in one go.

shubham95 commented 4 years ago

@nviennot How its optimizes checkpoint time?