<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>
    &quot;magic&quot;: &quot;STATS&quot;, <br>
    &quot;entries&quot;: [<br>
        {<br>
            &quot;dump&quot;: {<br>
                &quot;freezing_time&quot;: 227, <br>
                &quot;frozen_time&quot;: 81509, <br>
                &quot;memdump_time&quot;: 33139, <br>
                &quot;memwrite_time&quot;: 15374, <br>
                &quot;pages_scanned&quot;: 134211, <br>
                &quot;pages_skipped_parent&quot;: 0, <br>
                &quot;pages_written&quot;: 2626, <br>
                &quot;irmap_resolve&quot;: 0, <br>
                &quot;pages_lazy&quot;: 0, <br>
                &quot;page_pipes&quot;: 10, <br>
                &quot;page_pipe_bufs&quot;: 22, <br>
                &quot;shpages_scanned&quot;: 2, <br>
                &quot;shpages_skipped_parent&quot;: 0, <br>
                &quot;shpages_written&quot;: 2<br>
            }<br>
        }<br>
    ]<br>
}<br>
Run criu dump<br>
{<br>
    &quot;magic&quot;: &quot;STATS&quot;, <br>
    &quot;entries&quot;: [<br>
        {<br>
            &quot;dump&quot;: {<br>
                &quot;freezing_time&quot;: 216, <br>
                &quot;frozen_time&quot;: 173619, <br>
                &quot;memdump_time&quot;: 93012, <br>
                &quot;memwrite_time&quot;: 40636, <br>
                &quot;pages_scanned&quot;: 264466, <br>
                &quot;pages_skipped_parent&quot;: 45, <br>
                &quot;pages_written&quot;: 7019, <br>
                &quot;irmap_resolve&quot;: 0, <br>
                &quot;pages_lazy&quot;: 0, <br>
                &quot;page_pipes&quot;: 18, <br>
                &quot;page_pipe_bufs&quot;: 18, <br>
                &quot;shpages_scanned&quot;: 2, <br>
                &quot;shpages_skipped_parent&quot;: 0, <br>
                &quot;shpages_written&quot;: 2<br>
            }<br>
        }<br>
    ]<br>
}<br>
Run criu restore<br>
{<br>
    &quot;magic&quot;: &quot;STATS&quot;, <br>
    &quot;entries&quot;: [<br>
        {<br>
            &quot;restore&quot;: {<br>
                &quot;pages_compared&quot;: 184, <br>
                &quot;pages_skipped_cow&quot;: 176, <br>
                &quot;forking_time&quot;: 1209, <br>
                &quot;restore_time&quot;: 90484, <br>
                &quot;pages_restored&quot;: 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>
    &quot;magic&quot;: &quot;STATS&quot;, <br>
    &quot;entries&quot;: [<br>
        {<br>
            &quot;dump&quot;: {<br>
                &quot;freezing_time&quot;: 225, <br>
                &quot;frozen_time&quot;: 112146, <br>
                &quot;memdump_time&quot;: 50245, <br>
                &quot;memwrite_time&quot;: 42774, <br>
                &quot;pages_scanned&quot;: 264402, <br>
                &quot;pages_skipped_parent&quot;: 0, <br>
                &quot;pages_written&quot;: 7120, <br>
                &quot;irmap_resolve&quot;: 0, <br>
                &quot;pages_lazy&quot;: 0, <br>
                &quot;page_pipes&quot;: 17, <br>
                &quot;page_pipe_bufs&quot;: 29, <br>
                &quot;shpages_scanned&quot;: 2, <br>
                &quot;shpages_skipped_parent&quot;: 0, <br>
                &quot;shpages_written&quot;: 2<br>
            }<br>
        }<br>
    ]<br>
}<br>
Run criu dump<br>
{<br>
    &quot;magic&quot;: &quot;STATS&quot;, <br>
    &quot;entries&quot;: [<br>
        {<br>
            &quot;dump&quot;: {<br>
                &quot;freezing_time&quot;: 212, <br>
                &quot;frozen_time&quot;: 168895, <br>
                &quot;memdump_time&quot;: 92811, <br>
                &quot;memwrite_time&quot;: 41312, <br>
                &quot;pages_scanned&quot;: 264541, <br>
                &quot;pages_skipped_parent&quot;: 50, <br>
                &quot;pages_written&quot;: 7296, <br>
                &quot;irmap_resolve&quot;: 0, <br>
                &quot;pages_lazy&quot;: 0, <br>
                &quot;page_pipes&quot;: 18, <br>
                &quot;page_pipe_bufs&quot;: 18, <br>
                &quot;shpages_scanned&quot;: 2, <br>
                &quot;shpages_skipped_parent&quot;: 0, <br>
                &quot;shpages_written&quot;: 2<br>
            }<br>
        }<br>
    ]<br>
}<br>
Run criu restore<br>
{<br>
    &quot;magic&quot;: &quot;STATS&quot;, <br>
    &quot;entries&quot;: [<br>
        {<br>
            &quot;restore&quot;: {<br>
                &quot;pages_compared&quot;: 637, <br>
                &quot;pages_skipped_cow&quot;: 631, <br>
                &quot;forking_time&quot;: 1254, <br>
                &quot;restore_time&quot;: 109873, <br>
                &quot;pages_restored&quot;: 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>