v5: Add gen2 as allowed resources - #153
Closed
mathomp4 wants to merge 2 commits into
Closed
Conversation
Member
Author
|
Your development orb(s) have been published. It will expire in 30 days. |
Member
Author
|
Your development orb(s) have been published. It will expire in 30 days. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the ability to use gen2 resources:
https://circleci.com/docs/guides/execution-managed/using-docker/#docker-gen2-benefits
I did some tests with MAPL.
Assuming
test-ci-2026Jun17= Gen1 andfeature/v2-tryout-gen2-try2= Gen2, here’s the comparison. “Speedup” isGen1 time / Gen2 time, so values above1.00xmean Gen2 was faster.Main takeaway: Gen2 helps some runtime/test jobs and the GEOSldas gfortran build a lot, but it is not uniformly faster for compilation. The big red flag is:
So for your actual wall-clock workflows, the benefit looks like:
My read: Gen2 looks promising for the smaller MAPL tests and some run steps, but for GEOSgcm the critical path is still the gfortran build at ~25.5 minutes, so the whole workflow barely moves. For ifort-heavy build jobs, this one sample actually looks worse on Gen2.