[CRIU] [PATCH] zdtm: add a dummy action-script
Christopher Covington
cov at codeaurora.org
Thu Aug 7 10:12:04 PDT 2014
On 08/07/2014 11:02 AM, Andrew Vagin wrote:
> On Thu, Aug 07, 2014 at 05:14:40PM +0400, Pavel Emelyanov wrote:
>> On 08/07/2014 04:16 PM, Christopher Covington wrote:
>>> On 08/07/2014 03:06 AM, Pavel Emelyanov wrote:
>>>> On 08/06/2014 05:05 PM, Andrey Vagin wrote:
>>>>> Just to be sure that it affects nothing
>>>>
>>>> This would affect the full tests run time significantly.
>>>
>>> What if it went in at the same time as an optimization so that overall runtime
>>> stayed constant or dropped?
>>
>> Hardly. The sigaction restore saves us 64 syscalls per-task for tests that have
>> more than one of them (quite a few), while each --action-script results in 3-4
>> system() calls performed :)
>>
>>> Speaking of test run-time, it appears to me that zdtm.sh is currently pretty
>>> single threaded. Adding parallelization to the test harness may provide a
>>> useful speedup on quad code and greater systems (maybe the kind of speed up
>>> that could hide the slowdown of always running a script).
>>
>> Andrew knows some way of launching ns/ tests in parallel. Andrey?
>
> make -C test -j 4 zdtm_ns
Why does this only work for namespace tests?
Thanks,
Christopher
--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by the Linux Foundation.
More information about the CRIU
mailing list