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

Cherry-picking "Configurable heap memory release rate - #32589" #36363

Open
wants to merge 2 commits into
base: release/v1.29
Choose a base branch
from

Conversation

sakatkoori
Copy link

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

nezdolik and others added 2 commits September 27, 2024 13:00
Expose config option for tcmalloc [memory background release rate](https://github.com/google/tcmalloc/blob/bf4db7e4c85b142ecdd37f8bf388075131c387e9/tcmalloc/malloc_extension.h#L637C15-L637C39, that eases tuning of tcmalloc in Envoy. Gperf tcmalloc is not yet supported in this change, as gperf tcmalloc memory release does not function the same way as tcmalloc does and introduced test flakiness.

Commit Message:
Additional Description:
Risk Level:
Testing: Unit tests
Docs Changes: API docs
Release Notes:
Platform Specific Features:

Signed-off-by: Kateryna Nezdolii <[email protected]>
Signed-off-by: Kateryna Nezdolii <[email protected]>
Co-authored-by: Matt Klein <[email protected]>
Copy link

Hi @sakatkoori, welcome and thank you for your contribution.

We will try to review your Pull Request as quickly as possible.

In the meantime, please take a look at the contribution guidelines if you have not done so already.

🐱

Caused by: #36363 was opened by sakatkoori.

see: more, trace.

Copy link

CC @envoyproxy/coverage-shephards: FYI only for changes made to (test/per_file_coverage.sh).
envoyproxy/coverage-shephards assignee is @alyssawilk
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @markdroth
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #36363 was opened by sakatkoori.

see: more, trace.

@sakatkoori
Copy link
Author

@briansonnenberg @nezdolik We are working on a mesh solution, and we see the issue that memory is not released even after the existing connections gets closed when Overload manager configured and hit the threshold. Heap size is never coming down after the threshold hits, so, wanted to utilize this heap memory release along with the Overload manager. And this we need on v1.29, so could you please help review this.

@nezdolik
Copy link
Member

Don't think we backport features, is it possible to upgrade to Envoy version that contains the feature?

@phlax
Copy link
Member

phlax commented Sep 27, 2024

branches are currently not working - trying to resolve that now - should be back up and running by early next week

@sakatkoori
Copy link
Author

sakatkoori commented Sep 30, 2024

Don't think we backport features, is it possible to upgrade to Envoy version that contains the feature?

@nezdolik, Thanks for your note !!, and no, it is not possible, that is the reason trying for backport.

@nezdolik
Copy link
Member

nezdolik commented Sep 30, 2024

@sakatkoori we don't backport features, only bug/security fixes. Best course of action for you would be either to upgrade or to maintain a private build for v1.29+memory release feature.

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

Successfully merging this pull request may close these issues.

5 participants