[LTP] [PATCH v4 4/4] syscalls/msgstress: tune limit of processes for small machines

Krzysztof Kozlowski krzysztof.kozlowski@canonical.com
Fri Aug 20 10:34:30 CEST 2021


On 19/08/2021 18:00, Cyril Hrubis wrote:
> Hi!
>> Forking the exactly amount of processes as the limit (either from
>> max_pids or from cgroups) is risky - OS might be doing some work and
>> interfere with the test.  Instead leave some reserve (hard-coded to
>> 500) for the OS so the test won't fail on fork failure.
> 
> Isn't 500 far too many? I would expect that 50 would be more than
> enough.

I wanted to stay on the safe side to avoid false failures especially
that even with 500 reserve there will be plenty of PIDs to stress the
system.

I can change it to 50.


Best regards,
Krzysztof


More information about the ltp mailing list