Change the default value of the parallelism configuration variable from
1 to the number of available cores.
MFC after: 1 week
Differential D56614
kyua: Enable parallelism by default Authored by des on Apr 24 2026, 11:42 AM. Tags None Referenced Files
Details
Diff Detail
Event TimelineComment Actions It appears some tests, for example tests/sys/mac/ipacl has side effect. The mac_ipacl module affects some tests running vnet jails when security.mac.ipacl.ipv4 is turned on. Probably extra efforts is needed ( run tests those have side effects at last order and sequentially, or disable them temporally ) before change the default of kyua parallelism parameter. Comment Actions There is an option is_exclusive to prevent that as per kyuafile(5). Should be safe to enable parallelism by default. Comment Actions I was using the value of 8 and 16 at work to improve time spend, but I had to revert to 1 because:
And the stability of the test result was a lot more important than the time spend. But my tests with parallel kyua was about 4 years ago. |