Skip to content

Increase sccache cache size to 5 GiB#128090

Closed
agocke wants to merge 1 commit into
dotnet:mainfrom
agocke:sccache-5g
Closed

Increase sccache cache size to 5 GiB#128090
agocke wants to merge 1 commit into
dotnet:mainfrom
agocke:sccache-5g

Conversation

@agocke
Copy link
Copy Markdown
Member

@agocke agocke commented May 12, 2026

Note

This PR was created with Copilot assistance.

The 3.5 GiB limit (3584M) was causing sccache to evict useful entries, dropping the hit rate from ~97% to ~89%. The full working set for a native build is around 7-8 GiB. Bumping to 5 GiB (5120M) should recover most of the hit rate.

With continueOnError on the Cache task (#128052), any disk space issues during upload will no longer fail the build, so the risk of a larger cache is mitigated.

The 3.5 GiB limit was causing sccache to evict useful entries,
dropping the hit rate from ~97% to ~89%. The full working set is
around 7-8 GiB. Bumping to 5 GiB should recover most of the hit
rate. With continueOnError on the Cache task (dotnet#128052), any disk
space issues during upload will no longer fail the build.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@agocke
Copy link
Copy Markdown
Member Author

agocke commented May 12, 2026

Superseded — added this change to #128065 instead.

@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status
Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant