[CRIU] Memory dump time with incremental checkpoint

Radostin Stoyanov rstoyanov1 at gmail.com
Thu May 24 09:59:29 MSK 2018


Hi Ranjan,

memwrite_time: Time criu spend transferring memory pages into image
files (locally or on page-server)
pages_written: The total number of pages criu put into image files

You can find more information about the times measured by criu in
https://criu.org/Statistics
Also you can see these times with the --display-stats option.

Regards,
Radostin

On 24/05/18 03:58, Ranjan Sarpangala Venkatesh wrote:
> Hi,
>
> Following are the statistics collected while creating incremental
> dumps of an application using
>
> criu dump --tree $PID --images-dir ./checkpoints/$i/ --leave-running
> -vvv -o dump.log
>
> Dump 1, "pages_written": 2832, "memwrite_time": 11743,
> Dump 2,  "pages_written": 2034, "memwrite_time": 45700,
>
> Dump 2 takes much longer while writing less number of pages. Is this
> due to behavior of splice(). Custom kernel version based on 4.10.0.
> Any insights would be helpful. Thanks
>
> $crit show 1/stats-dump
> {   
>     "magic": "STATS",
>     "entries": [
>         {   
>             "dump": {
>                 "freezing_time": 273,
>                 "frozen_time": 24271,
>                 "memdump_time": 14884,
>                "memwrite_time": 11743,
>                 "pages_scanned": 9566,
>                 "pages_skipped_parent": 0,
>                 "pages_written": 2832,
>                 "irmap_resolve": 0
>             }
>         }
>     ]
> }
>
> $crit show 2/stats-dump
> {   
>     "magic": "STATS",
>     "entries": [
>         {   
>             "dump": {
>                 "freezing_time": 122,
>                 "frozen_time": 55545,
>                 "memdump_time": 49705,
>                 "memwrite_time": 45700,
>                 "pages_scanned": 5873,
>                 "pages_skipped_parent": 0,
>                 "pages_written": 2034,
>                 "irmap_resolve": 0
>             }
>         }
>     ]
> }
>
> Regards
> Ranjan
>
>
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20180524/f5bd6b33/attachment.html>


More information about the CRIU mailing list