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

Scale the amount of reserved RAM on large runners only #1796

Merged
merged 2 commits into from
Jul 24, 2023

Conversation

henrymercer
Copy link
Contributor

Initially we planned to roll this out to all runners, however we don't currently have the right data to make a decision on the tradeoff between the slowdown and the reduced frequency of OOMs. Therefore, let's roll this out to large runners only where we know the tradeoff is worth it.

This PR also improves the unit tests to check combinations of platform and total RAM without needing to run on different machines. Commit-by-commit review recommended to see examples of the scaling reserved RAM change in the tests.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

@henrymercer henrymercer requested a review from a team as a code owner July 21, 2023 17:11
Copy link
Contributor

@nickrolfe nickrolfe left a comment

Choose a reason for hiding this comment

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

This looks sensible.

@henrymercer henrymercer merged commit 7b6664f into main Jul 24, 2023
342 checks passed
@henrymercer henrymercer deleted the henrymercer/scaling-ram-larger-runners-only branch July 24, 2023 11:47
@github-actions github-actions bot mentioned this pull request Jul 26, 2023
6 tasks
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