xdp: add peak_read_bandwidth and peak_write_bandwidth metric sets for AIE Dtrace#50
Merged
jvillarre merged 1 commit intoXilinx:masterfrom Apr 24, 2026
Merged
Conversation
… AIE dtrace Add new metric sets for interface tiles that configure both PORT_RUNNING and PORT_STALL events per channel, enabling peak bandwidth calculation. For peak_read_bandwidth (S2MM channels - read from DDR): - Counter 0: PORT_RUNNING_0 (Ch0 bytes transferred) - Counter 1: PORT_STALLED_0 (Ch0 stall cycles) - Counter 2: PORT_RUNNING_1 (Ch1 bytes transferred) - Counter 3: PORT_STALLED_1 (Ch1 stall cycles) For peak_write_bandwidth (MM2S channels - write to DDR): - Counter 0: PORT_RUNNING_0 (Ch0 bytes transferred) - Counter 1: PORT_STALLED_0 (Ch0 stall cycles) - Counter 2: PORT_RUNNING_1 (Ch1 bytes transferred) - Counter 3: PORT_STALLED_1 (Ch1 stall cycles) This enables post-processing to calculate: - Peak BW = Total Bytes / Running Cycles (excludes stall time) - Efficiency = Running Cycles / (Running Cycles + Stall Cycles) Signed-off-by: Garima Dhaked <garima.dhaked@amd.com> Made-with: Cursor
jvillarre
approved these changes
Apr 24, 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.
Added new metric sets for interface tiles that configure both PORT_RUNNING and PORT_STALL events per channel, enabling peak bandwidth calculation.
For peak_read_bandwidth (S2MM channels - read from DDR):
For peak_write_bandwidth (MM2S channels - write to DDR):
This enables post-processing to calculate:
Made-with: Cursor