criu/test/zdtm/lib
Andrey Vagin a59fd3533f zdtm: make datagen/datachk faster for big chunks
Generate random data only for buffers with sizes less than FAST_SIZE
If a size of buffer is more that FAST_SIZE, the first FAST_SIZE bytes
are filled by random generator and then this chunk is used as pattern
for all other chunks.

With out this patch:
$ time bash -x test/zdtm.sh static/maps04
real	0m16.777s
user	0m0.054s
sys	0m0.724s

With this patch:
$ time bash -x test/zdtm.sh static/maps04
real	0m1.865s
user	0m0.128s
sys	0m0.745s

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-03-06 00:34:02 +04:00
..
arch arm: added ARM-specific files modelled after arch/x86 2013-01-22 22:53:24 +04:00
cpuid.h zdtm: Add cpuid.h 2012-12-21 17:35:44 +04:00
datagen.c zdtm: make datagen/datachk faster for big chunks 2013-03-06 00:34:02 +04:00
lock.c zdtm: simplify sys_gettid 2012-06-28 20:54:12 +04:00
lock.h zdtm: fix race in test_waitsig for multithreaded tests 2013-03-06 00:31:14 +04:00
Makefile zdtm: fix race in test_waitsig for multithreaded tests 2013-03-06 00:31:14 +04:00
msg.c zdtm: It's need add format to fprintf 2012-10-02 19:19:35 +04:00
ns.c zdtm: fix race in test_waitsig for multithreaded tests 2013-03-06 00:31:14 +04:00
ns.h zdtm: fix race in test_waitsig for multithreaded tests 2013-03-06 00:31:14 +04:00
parseargs.c zdtm: close an external tty 2012-09-13 16:09:13 +04:00
parseargs.sh zdtm: Zero Downtime Migration Test Suite 2011-12-02 17:49:08 +04:00
stop_and_chk.sh zdtm: Zero Downtime Migration Test Suite 2011-12-02 17:49:08 +04:00
streamutil.c zdtm: Zero Downtime Migration Test Suite 2011-12-02 17:49:08 +04:00
tcp.c zdtm: adapt all tcp tests for ipv6 2012-11-23 16:37:39 +04:00
test.c zdtm: fix race in test_waitsig for multithreaded tests 2013-03-06 00:31:14 +04:00
zdtmtst.h zdtm: adapt all tcp tests for ipv6 2012-11-23 16:37:39 +04:00