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

Set CPU limit to 0.25 for the CI #369

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

Conversation

Finistere
Copy link
Contributor

Current benchmarks consume a lot of CPUs mainly due to the checks done in K6 script. For a single CPU core allocated to Grafbase, I need roughly 7 others for K6 and 2-3 others for the subgraphs. So results are inaccurate as the machine is saturated. Cosmo is also likely impacted.

On my machine setting the limit to 0.25 reduced total CPU usage to roughly 3 cores which would fit inside the CI machine.

Current benchmarks consume a lot of CPUs mainly due to the checks done in K6 script. For a single CPU core allocated to Grafbase, I need roughly 7 others for K6 and 2-3 others for the subgraphs. So results are inaccurate as the machine is saturated. Cosmo is also likely impacted.

On my machine setting the limit to 0.25 reduced total CPU usage to roughly 3 cores which would fit inside the CI machine.
@Finistere Finistere changed the title Set CPU limit to 0.25 for the CI (#337) Set CPU limit to 0.25 for the CI Feb 29, 2024
@dotansimha
Copy link
Member

@Finistere Not sure I understand the need for a change in CI?
If I understand correctly, this PR is mostly adjusting the configuration for your local env. Do we need other numbers for CI?

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.

None yet

2 participants