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

tests: parallel use only up to six cores #2632

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

michaellilltokiwa
Copy link
Member

@michaellilltokiwa michaellilltokiwa commented Feb 29, 2024

For my system nproc --all returns 12, hyperthreading cores are counted as well. But this makes my system a bit laggy.

@fridis
Copy link
Member

fridis commented Feb 29, 2024

Does this affect the github builds? Would like to see them run as fast as possible.

For my system `nproc --all` returns 12, hyperthreading cores are counted as well. But this makes my system a bit laggy.
@michaellilltokiwa
Copy link
Member Author

@fridis Yes. I thought github runners have only one core available but this does not seem to be true (anymore). They have 2-4 cores available. I updated the logic to run up to six tests in parallel.

@michaellilltokiwa michaellilltokiwa changed the title tests: parallel use only half of cores returned by nproc. tests: parallel use only up to six cores Feb 29, 2024
@michaellilltokiwa michaellilltokiwa added the tests related to tests label Mar 1, 2024
@maxteufel maxteufel merged commit d3f45ad into tokiwa-software:main Mar 4, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants