AIESW-6823, AIESW-6824: Optimize cmd_chain latency and throughput tes…#44
Merged
aktondak merged 1 commit intoXilinx:mainfrom Jan 21, 2026
Merged
AIESW-6823, AIESW-6824: Optimize cmd_chain latency and throughput tes…#44aktondak merged 1 commit intoXilinx:mainfrom
aktondak merged 1 commit intoXilinx:mainfrom
Conversation
…t configurations [WHY] - Default configurations showed high variance and suboptimal performance - Throughput mode defaulted to depth=2, causing performance degradation - Needed stable, repeatable configurations for validation testing - Required sufficient iterations for framework warm-up and measurement stability [HOW] - Conducted extensive empirical testing (27+ samples per configuration) - Set latency: 20 iterations x 1000 runs (depth=1 automatic in latency mode) - Set throughput: 20 iterations x 1000 runs x depth=1 (explicit override) - Validated depth=1 is mandatory for optimal throughput (depth>1 degrades 47-99%) - Confirmed 20 iterations minimum for stable measurements (10 iters = +/-47% variance) - Verified 1000 runs optimal for peak performance [RESULTS] - Latency: 14.2 us average, range 13-16 us, +/-3 us variance - Throughput: 71,673 ops/s average, range 66,764-75,508 ops/s, +/-13% variance - Peak throughput: 75,508 ops/s (highest observed across all testing)
Contributor
There was a problem hiding this comment.
Pull request overview
This PR optimizes cmd_chain performance test configurations based on empirical testing to achieve stable, repeatable results with minimal variance. The changes address high variance issues and suboptimal defaults by setting iterations to 20 and depth to 1 for both latency and throughput modes.
Changes:
- Increased iterations from 1 to 20 for stable measurements
- Set depth=1 for throughput mode (previously defaulted to 2, causing degradation)
- Removed explicit depth parameter from latency mode (automatically uses depth=1)
Reviewed changes
Copilot reviewed 2 out of 5 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| profile_cmd_chain_throughput.json | Updated iterations to 20, added explicit mode="throughput", and set depth=1 for optimal performance |
| profile_cmd_chain_latency.json | Updated iterations to 20 and removed explicit depth parameter (latency mode auto-sets depth=1) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
aktondak
approved these changes
Jan 20, 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.
…t configurations
[WHY]
[HOW]
[RESULTS]
Processing 1 folder(s)...
Updating xrt_smi_npu3.a from 30 files...
✓ Updated: npu3\xrt_smi_npu3.a
🔄 Files updated (4):
~ profile_cmd_chain_latency.json
~ profile_cmd_chain_throughput.json
~ recipe_cmd_chain_latency.json
~ recipe_cmd_chain_throughput.json
============================================================
SUMMARY:
Archives processed: 1/1
Total new files: 0
Total updated files: 4
Archive changes:
xrt_smi_npu3.a: 4 updated
AIESW-6823
AIESW-6824