Skip to content

config: Enable parallel LTP execution #1218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

broonie
Copy link
Member

@broonie broonie commented Jun 24, 2025

The Kirk LTP runner which we are using supports parallel execution of
tests, this is fortunately able to identify and appropriately handle
tests that have to be run single threaded making it relatively easy to
use. It does unfortunately make the console output a bit less helpful
but they're still there, and Kirk does report per-test logs.

With the test-definitions integration we can specify the number of
workers as "max" in order to allow one worker per CPU in the system, do
that by default. There is some risk that tests might interfere with
each other and become less stable, if this becomes an issue we can
revisit and use this only for suites that particularly benefit.

Signed-off-by: Mark Brown broonie@kernel.org

The Kirk LTP runner which we are using supports parallel execution of
tests, this is fortunately able to identify and appropriately handle
tests that have to be run single threaded making it relatively easy to
use.  It does unfortunately make the console output a bit less helpful
but they're still there, and Kirk does report per-test logs.

With the test-definitions integration we can specify the number of
workers as "max" in order to allow one worker per CPU in the system, do
that by default.  There is some risk that tests might interfere with
each other and become less stable, if this becomes an issue we can
revisit and use this only for suites that particularly benefit.

Signed-off-by: Mark Brown <broonie@kernel.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant