[LTP] [PATCH v2] fzsync: limit sampling time

Cyril Hrubis chrubis@suse.cz
Mon Dec 3 13:47:09 CET 2018


Hi!
> Sampling can take considerably longer time on single CPU
> and very slow systems. This patch limits sampling time to
> 1/2 of fuzzing runtime (0.25 of test time). If we don't
> have enough samples by that time, stop sampling and use
> stats we gathered so far.

I do wonder if it would be better to really base the proportional
sampling time based on the actual test runtime (i.e. hardcoding it to be
exec_time_p/2) because that would mean we would have to tune only one
paramter when adjusting the test runtime. But I guess only a few tests
will adjust the test runtime anyway.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list