<div dir="ltr">[PATCH 1/6] Skip adding PROT_READ flag<br>
[PATCH 2/6] Skip generating iov for non PROT_READ region<br>
[PATCH 3/6] Drain memory using process_vm_readv syscall<br>
[PATCH 4/6] Adding new function cnt_sub<br>
[PATCH 5/6] Hack to handle vmsplice fail: resolve later<br>
[PATCH 6/6] Refactor time accounting macros<br>
<br>
<br>
Stats Dump:<br>
===========<br>
<br>
Optimized pre-dump:<br>
===================<br>
<br>
s<br>
=== Run 1/1 ================ zdtm/transition/maps007<br>
======================= Run zdtm/transition/maps007 in h =======================<br>
Start test<br>
Test is SUID<br>
./maps007 --pidfile=maps007.pid --outfile=maps007.out<br>
Run criu pre-dump<br>
{<br>
"magic": "STATS", <br>
"entries": [<br>
{<br>
"dump": {<br>
"freezing_time": 227, <br>
"frozen_time": 81509, <br>
"memdump_time": 33139, <br>
"memwrite_time": 15374, <br>
"pages_scanned": 134211, <br>
"pages_skipped_parent": 0, <br>
"pages_written": 2626, <br>
"irmap_resolve": 0, <br>
"pages_lazy": 0, <br>
"page_pipes": 10, <br>
"page_pipe_bufs": 22, <br>
"shpages_scanned": 2, <br>
"shpages_skipped_parent": 0, <br>
"shpages_written": 2<br>
}<br>
}<br>
]<br>
}<br>
Run criu dump<br>
{<br>
"magic": "STATS", <br>
"entries": [<br>
{<br>
"dump": {<br>
"freezing_time": 216, <br>
"frozen_time": 173619, <br>
"memdump_time": 93012, <br>
"memwrite_time": 40636, <br>
"pages_scanned": 264466, <br>
"pages_skipped_parent": 45, <br>
"pages_written": 7019, <br>
"irmap_resolve": 0, <br>
"pages_lazy": 0, <br>
"page_pipes": 18, <br>
"page_pipe_bufs": 18, <br>
"shpages_scanned": 2, <br>
"shpages_skipped_parent": 0, <br>
"shpages_written": 2<br>
}<br>
}<br>
]<br>
}<br>
Run criu restore<br>
{<br>
"magic": "STATS", <br>
"entries": [<br>
{<br>
"restore": {<br>
"pages_compared": 184, <br>
"pages_skipped_cow": 176, <br>
"forking_time": 1209, <br>
"restore_time": 90484, <br>
"pages_restored": 6888<br>
}<br>
}<br>
]<br>
}<br>
Send the 15 signal to 38<br>
Wait for zdtm/transition/maps007(38) to die for 0.100000<br>
Wait for zdtm/transition/maps007(38) to die for 0.200000<br>
Removing dump/zdtm/transition/maps007/38<br>
====================== Test zdtm/transition/maps007 PASS =======================<br>
<br>
<br>
Vanilla pre-dump:<br>
=================<br>
<br>
criu@criu-gsoc:~/vanilla/criu$ sudo python test/zdtm.py run --pre 1 -t zdtm/transition/maps007 --show-stats<br>
=== Run 1/1 ================ zdtm/transition/maps007<br>
======================= Run zdtm/transition/maps007 in h =======================<br>
Start test<br>
Test is SUID<br>
./maps007 --pidfile=maps007.pid --outfile=maps007.out<br>
Run criu pre-dump<br>
{<br>
"magic": "STATS", <br>
"entries": [<br>
{<br>
"dump": {<br>
"freezing_time": 225, <br>
"frozen_time": 112146, <br>
"memdump_time": 50245, <br>
"memwrite_time": 42774, <br>
"pages_scanned": 264402, <br>
"pages_skipped_parent": 0, <br>
"pages_written": 7120, <br>
"irmap_resolve": 0, <br>
"pages_lazy": 0, <br>
"page_pipes": 17, <br>
"page_pipe_bufs": 29, <br>
"shpages_scanned": 2, <br>
"shpages_skipped_parent": 0, <br>
"shpages_written": 2<br>
}<br>
}<br>
]<br>
}<br>
Run criu dump<br>
{<br>
"magic": "STATS", <br>
"entries": [<br>
{<br>
"dump": {<br>
"freezing_time": 212, <br>
"frozen_time": 168895, <br>
"memdump_time": 92811, <br>
"memwrite_time": 41312, <br>
"pages_scanned": 264541, <br>
"pages_skipped_parent": 50, <br>
"pages_written": 7296, <br>
"irmap_resolve": 0, <br>
"pages_lazy": 0, <br>
"page_pipes": 18, <br>
"page_pipe_bufs": 18, <br>
"shpages_scanned": 2, <br>
"shpages_skipped_parent": 0, <br>
"shpages_written": 2<br>
}<br>
}<br>
]<br>
}<br>
Run criu restore<br>
{<br>
"magic": "STATS", <br>
"entries": [<br>
{<br>
"restore": {<br>
"pages_compared": 637, <br>
"pages_skipped_cow": 631, <br>
"forking_time": 1254, <br>
"restore_time": 109873, <br>
"pages_restored": 6715<br>
}<br>
}<br>
]<br>
}<br>
Send the 15 signal to 38<br>
Wait for zdtm/transition/maps007(38) to die for 0.100000<br>
Wait for zdtm/transition/maps007(38) to die for 0.200000<br>
Removing dump/zdtm/transition/maps007/38<br>
====================== Test zdtm/transition/maps007 PASS =======================</div>