criu/test
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
..
app-emu app-emu/lxc: dump/restore file locks 2013-01-21 17:36:38 +04:00
tcp tcp: Automate TCP stream c/r 2012-04-28 20:37:54 +04:00
zdtm zdtm: make datagen/datachk faster for big chunks 2013-03-06 00:34:02 +04:00
app-emu.sh test: add a script for executing all app-emu test cases 2012-11-22 19:08:29 +04:00
functions.sh test/app-emu: wait while tasks are dying before starting restore 2012-11-22 19:08:14 +04:00
Makefile test: add ability to execute tests in parallel 2013-01-22 22:48:00 +04:00
zdtm.sh zdtm: Test HUGE mappings to dump/restore OK 2013-03-01 20:13:42 +04:00