Skip to content

[release/8.0-staging] Remove cached cgroup values (#102971)#103166

Merged
cshung merged 1 commit intodotnet:release/8.0-stagingfrom
cshung:backport/remove-cache
Jun 10, 2024
Merged

[release/8.0-staging] Remove cached cgroup values (#102971)#103166
cshung merged 1 commit intodotnet:release/8.0-stagingfrom
cshung:backport/remove-cache

Conversation

@cshung
Copy link
Copy Markdown
Contributor

@cshung cshung commented Jun 7, 2024

main PR #102971

Description

Make sure we do not rely on cached cgroup when we RefreshMemoryLimit.

Customer Impact

See the comments from @paulbatum below.

Regression

No

Testing

Manual validation of the RefreshMemoryLimit scenario when the underlying container changes.

Risk

Low - it only impacts the case when RefreshMemoryLimit is called.

@ghost ghost added the area-GC-coreclr label Jun 7, 2024
@cshung cshung marked this pull request as draft June 7, 2024 15:37
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

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

@paulbatum
Copy link
Copy Markdown

Hi folks, just want to mention that I'm keen for this backport! Azure Functions intends to use this refresh API to allow us to serve requests for applications with different memory size limits from the same pool of pre-allocated .NET 8 processes, reducing the COGS overhead of these pools.

@cshung cshung changed the title Remove cached cgroup values (#102971) [release/8.0-staging] Remove cached cgroup values (#102971) Jun 7, 2024
Copy link
Copy Markdown
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

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

lgtm. we will take for consideration in 8.0.x

@jeffschwMSFT jeffschwMSFT added the Servicing-consider Issue for next servicing release review label Jun 8, 2024
@jeffschwMSFT jeffschwMSFT added this to the 8.0.x milestone Jun 8, 2024
@carlossanlop
Copy link
Copy Markdown
Contributor

FYI Today's code complete for the July Release in case you were intending to get it approved and merged today. The branch closes at 4pm PT.

@jeffschwMSFT jeffschwMSFT added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Jun 10, 2024
@jeffschwMSFT jeffschwMSFT modified the milestones: 8.0.x, 8.0.7 Jun 10, 2024
@cshung cshung marked this pull request as ready for review June 10, 2024 20:02
@cshung cshung merged commit 26e8cc8 into dotnet:release/8.0-staging Jun 10, 2024
@cshung cshung deleted the backport/remove-cache branch June 10, 2024 20:03
@github-actions github-actions bot locked and limited conversation to collaborators Jul 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-GC-coreclr Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants