mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2413] [CLOSED] docs/AMD_HIP.md: short GPU stalls while the kernel compacts memory, and how to keep them out of a speed comparison #4032
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4032
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2413
Author: @libratechw
Created: 10/14/2026
Status: ❌ Closed
Base:
main← Head:pr/amd-hip-compaction-note📝 Commits (1)
4ac521adocs/AMD_HIP.md: short GPU stalls while the kernel compacts memory, and how to keep them out of a speed comparison📊 Changes
1 file changed (+15 additions, -0 deletions)
View changed files
📝
docs/AMD_HIP.md(+15 -0)📄 Description
Title
Issue: none (related: #750, #920 and #1705, the reclaim stalls of the section before it; #2126 is a different compaction stall)
Summary
On a Ryzen AI Max+ 395 (gfx1151), a prompt that met heavy page migration was usually 0.1-1.6 s slower, mostly the first prompt
after a start. That can hide a 1-2% change: in one 11-pair 4K A/B, the off / on ratio of
prompt_mshad a 95% interval of[0.979, 1.078] on each engine's first prompt and [1.016, 1.020] on the second. This adds a short section after the reclaim
section: what was seen, and how to measure when the difference is small enough for these stalls to hide it.
What changed
docs/AMD_HIP.md: one new section between the reclaim section and "RDNA4 (gfx1201)". No code changes.Measured on gfx1151, 128 GB, ROCm 7.14.1, Linux 7.0, UD-IQ4_XS with the experts read from the GGUF in place (engine
7695859a;the later prompts on
a0116b27):AMDKFD_IOC_SMI_EVENTSover 20 starts: in all 6 prompts that met any pagemigration, in none of the 34 that did not.
GPU_PINNED_MIN_XFER_SIZE=1048576,HSA_USERPTR_FOR_PAGED_MEM=0and the two compaction sysctls each left slow firstprompts (worst 0.39, 1.27 and 0.25 s in 10 starts each).
296b59d2.The runs, the KFD event log and a script that recomputes these numbers:
github.com/libratechw/Strata@a13f528551Extra Notes
-EAGAINretries of the section above was nottraced.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.