Skip to content
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

ci(tests): reduce number of workers for tests #2149

Merged
merged 3 commits into from
Sep 23, 2024
Merged

Conversation

sylvlecl
Copy link
Member

@sylvlecl sylvlecl commented Sep 19, 2024

The use of as many workers as logical cores
seems to cause significant increases of some
monitored durations, including on Linux, which
causes irrelevant CI failures.

We revert to using as many workers as actual CPUs.

Also, load balancing of tests is improved using worksteal,
which works far better with our tests which have very different
execution times (integration tests are far longer than unit tests).

The use of as many workers as logical cores
seems to cause significant increases of some
monitored durations, including on Linux, which
causes irrelevant CI failures.

We revert to using as many workers as actual CPUs.

Signed-off-by: Sylvain Leclerc <[email protected]>
@MartinBelthle
Copy link
Contributor

Nice the worksteal arg

@sylvlecl sylvlecl merged commit c1f7e96 into dev Sep 23, 2024
11 checks passed
@sylvlecl sylvlecl deleted the ci/reduce-parallel-workers branch September 23, 2024 13:02
maugde pushed a commit that referenced this pull request Sep 26, 2024
The use of as many workers as logical cores
seems to cause significant increases of some
monitored durations, including on Linux, which
causes irrelevant CI failures.

We revert to using as many workers as actual CPUs.

Also, load balancing of tests is improved using worksteal,
which works far better with our tests which have very different
execution times (integration tests are far longer than unit tests).

---------

Signed-off-by: Sylvain Leclerc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants