[CRIU] Difference between two snapshots generated by CRIU

Pavel Emelyanov xemul at parallels.com
Tue Feb 10 09:48:52 PST 2015


On 02/10/2015 06:56 PM, Thouraya TH wrote:
> Ok, i will work is per-file one, i.e. the "criu show -f $image-file" one. I will see 
> also this CRIT tool. Thanks a lot for help.
> 
> /What are you trying to achieve with this comparison?/
> 
> @Pavel: I have a source node A which run the loop process, then i have done the dumping
> process with -R option(the images are stored in the ImgDir directory) and i have sent 
> these images to a destination node B. After a while, i have done a second snapshot of 
> the same process on node A. The question what i try to find an answer, how can i send
> only differences to the node  B to update images.

Ah, I see. In that case comparing non-pages images will take more time than you would
save from sending not all images, but only the changed ones :)

Pages images of the 2nd dump can be "optimized" by using the CRIU's memory tracking 
facilities -- http://criu.org/Memory_changes_tracking
 
> Bests.
> Thouraya.
> 
> 
> 2015-02-10 14:19 GMT+01:00 Pavel Emelyanov <xemul at parallels.com <mailto:xemul at parallels.com>>:
> 
>     On 02/10/2015 03:45 PM, Thouraya TH wrote:
> 
>     > Could you please explain me some of these lines ? What are the main changes from one snapshot to another ?
> 
>     CRIU generates a lot of image files, meaning of each of them is described here:
>     http://criu.org/Images (it can be slightly out-dated, but we try to update this
>     page when we add new image types).
> 
>     The meaning of individual fields in those files is not described anywhere but the
>     code itself :) You can refer to any low-level Linux programming manual, even for
>     man pages, for details what individual Linux subsystems do, and after this in 99%
>     of the fields their meaning would be seen from its name.
> 
>     What are you trying to achieve with this comparison?
> 
>     > Thanks a lot for help.
>     > Bests.
> 
>     Thanks,
>     Pavel
> 
> 



More information about the CRIU mailing list