Delay executable info unloading to reduce churn#1144
Merged
fabled merged 1 commit intoopen-telemetry:mainfrom Feb 11, 2026
Merged
Delay executable info unloading to reduce churn#1144fabled merged 1 commit intoopen-telemetry:mainfrom
fabled merged 1 commit intoopen-telemetry:mainfrom
Conversation
christos68k
approved these changes
Feb 2, 2026
fabled
reviewed
Feb 2, 2026
florianl
reviewed
Feb 2, 2026
4e77ff1 to
8edc7de
Compare
Contributor
Author
8edc7de to
638110e
Compare
638110e to
94eea5b
Compare
Member
Thanks! How does memory use with a 5 minute delay look like? |
Contributor
Author
|
I can't see any visible difference. The long running stuff is big binaries, while the periodically running things are much smaller utilities, so it's hard for them to make a visible dent. |
florianl
approved these changes
Feb 9, 2026
fabled
approved these changes
Feb 11, 2026
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.

We see a lot of the time spent loading and unloading the same executables:
Here instead of unloading immediately when the reference counter reaches zero, we delay it to allow possible reuse. This works great as most non-constantly-running things tend to run periodically (as opposed to once and then never again).
This is by no means final, but I'm opening it to kick off a conversation on whether this is the right approach.
See also: #532.