[CRIU] [PATCH 0/7] GSoC 19: Optimizing the Pre-dump Algorithm

Dmitry Safonov 0x7f454c46 at gmail.com
Wed Aug 28 19:13:37 MSK 2019


Late to the party :)

On 8/25/19 2:58 AM, Abhishek Dubey wrote:
> Performance:
> ------------
> $ ./test/zdtm.py run --pre 5 -t zdtm/static/maps04 -f h
> 
> Splice mode -
> pre-dump: 0.59
> pre-dump: 0.06
> pre-dump: 0.07
> pre-dump: 0.06
> pre-dump: 0.06
> dump: 0.12
> 
> $ ./test/zdtm.py run --pre 5 -t zdtm/static/maps04 --pre-dump-mode=read -f h
> 
> Read mode -
> pre-dump: 0.66
> pre-dump: 0.06
> pre-dump: 0.06
> pre-dump: 0.06
> pre-dump: 0.06
> dump: 0.12
> 
> Average drop : ~ 7%
> Maximum drop : ~ 13%

I presume, those are.. seconds?

> Freeze time:
> ------------
> $ ./test/zdtm.py run --pre 5 -t zdtm/static/maps04 --show-stats -f h
> 
> Splice mode -
> pre-dump: 122235
> pre-dump: 77514
> pre-dump: 77912
> pre-dump: 74940
> pre-dump: 71977
> dump: 131208
> 
> $ ./test/zdtm.py run --pre 5 -t zdtm/static/maps04 --pre-dump-mode=read --show-stats -f h
> 
> Read mode -
> pre-dump: 82365
> pre-dump: 67521
> pre-dump: 68385
> pre-dump: 68706
> pre-dump: 67144
> dump: 160998
> 
> Average reduction : ~18%
> Maximum reduction : ~35%

Sounds like milliseconds but probably still worth to note that directly.

Nice work!

Thanks,
          Dmitry


More information about the CRIU mailing list