Skip to content

e2e: cpuset per service#791

Merged
mmatczuk merged 3 commits intomainfrom
mmt/e2e-cpuset
Apr 30, 2024
Merged

e2e: cpuset per service#791
mmatczuk merged 3 commits intomainfrom
mmt/e2e-cpuset

Conversation

@mmatczuk
Copy link
Contributor

@mmatczuk mmatczuk commented Apr 29, 2024

This makes e2e tests run in 4 minutes instead of 6.

Pin tests to CPU 0 and use CPU per service.
@mmatczuk mmatczuk requested a review from Choraden as a code owner April 29, 2024 16:57
- name: Build test container
run: make -C e2e update-test-image
- name: Build test containers
run: make -j4 -C e2e update-helper-images update-test-image
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the 4 meant to match the # of CPUs? Could we make this -j$(nproc) instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CPU is not the bottleneck here.
We want to run all builds in parallel because they are mostly downloading image layers.

@mmatczuk mmatczuk merged commit 4532a77 into main Apr 30, 2024
@mmatczuk mmatczuk deleted the mmt/e2e-cpuset branch April 30, 2024 10:51
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.

2 participants