[CRIU] [PATCH v3 12/12] test: add test for anon shmem dedup

Laurent Dufour ldufour at linux.vnet.ibm.com
Fri Aug 26 05:51:39 PDT 2016


On 26/08/2016 14:38, Eugene Batalov wrote:
> Oh. Looks like the problem with test performance is very simple if
> you've applied all the patches from my branch.
> My branch has one patch called "minimal reproducer for maps008 race
> condition". It slows dows test execution very very much.
> This is debugging patch. Could you revert it and rerun maps008 test on
> your machine&

You are right, with this patch reverted, the test is passing all the
time now:

laurent at frags:~/work/criu/test$ sudo ./zdtm.py run -t
zdtm/transition/maps008
=== Run 1/1 ================

======================= Run zdtm/transition/maps008 in h
=======================
Start test
Test is SUID
./maps008 --pidfile=maps008.pid --outfile=maps008.out
Run criu dump
Run criu restore
Wait for zdtm/transition/maps008 to die for 0.100000
Wait for zdtm/transition/maps008 to die for 0.200000
Wait for zdtm/transition/maps008 to die for 0.400000
Wait for zdtm/transition/maps008 to die for 0.800000
Removing dump/zdtm/transition/maps008/26
====================== Test zdtm/transition/maps008 PASS
=======================

Thanks,
Laurent.



More information about the CRIU mailing list