Repository navigation
telemetry: optimize sharedRingBuffer and eliminate false sharing #2018
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
Merged
ColinNV
merged 25 commits into
ai-dynamo:main
from
pooriaPoorsarvi:opt/telemetry-sharedRingBuffer
Oct 23, 2026
Merged
Changes from 8 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
625d70a
telemetry: pad sharedRingBuffer header to prevent false sharing
pooriaPoorsarvi bb9e912
telemetry: cache opposing index and mask in ring buffer hot paths
pooriaPoorsarvi e2059b3
telemetry: add test for cached position seeding on reattach
pooriaPoorsarvi f18d9fa
Merge branch 'main' into opt/telemetry-sharedRingBuffer
iyastreb 7a2ba6d
telemetry: keep version at a fixed offset across layout versions
pooriaPoorsarvi 4d046c3
telemetry: assert bufferHeader field offsets
pooriaPoorsarvi bff1a5e
telemetry: seed all cached values on the create path
pooriaPoorsarvi 6027684
telemetry: validate BufferHeader layout in the Python reader
pooriaPoorsarvi 62b500e
Merge branch 'main' into opt/telemetry-sharedRingBuffer
pooriaPoorsarvi ba9a916
Merge branch 'main' into opt/telemetry-sharedRingBuffer
ColinNV bc2ed49
Merge remote-tracking branch 'upstream/main' into opt/telemetry-share…
pooriaPoorsarvi e7c3c36
Merge remote-tracking branch 'upstream/main' into opt/telemetry-share…
pooriaPoorsarvi 49fc7cc
Merge branch 'main' into opt/telemetry-sharedRingBuffer
ColinNV d075f96
telemetry: keep a compatible ring file across producer restart
pooriaPoorsarvi 8fd0a24
telemetry: test consumer across producer restart and replacement
pooriaPoorsarvi 684dd1e
Merge remote-tracking branch 'upstream/main' into opt/telemetry-share…
pooriaPoorsarvi 19941bf
telemetry: bump TELEMETRY_VERSION to 6
pooriaPoorsarvi 6cad430
telemetry: test push and pop cache reloads on a full ring
pooriaPoorsarvi 3900163
telemetry: document producer restart behaviour
pooriaPoorsarvi 5536cae
telemetry: test cached positions on both producer restart paths
pooriaPoorsarvi c0d8121
telemetry: gate ring reuse on an attached consumer
pooriaPoorsarvi ef3069e
telemetry: test producer restart without a consumer
pooriaPoorsarvi b253e52
Merge remote-tracking branch 'upstream/main' into opt/telemetry-share…
pooriaPoorsarvi ffe4121
telemetry: copy events out of the ring in the Python reader
pooriaPoorsarvi aa333c5
Merge branch 'main' into opt/telemetry-sharedRingBuffer
ColinNV File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.