mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 19:04:50 +07:00
[GH-ISSUE #268] [HIP/gfx1100] Shared CPU pool improves dual-XTX Maya-L decode by 16–34% #100
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mw00/project-maya#100
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?
Originally created by @Jlauti on GitHub (Oct 18, 2026).
<html> <html><head></head>Original GitHub issue: https://github.com/mw00/project-maya/issues/268
Hardware
CPU: Threadripper PRO 5975WX (32C/64T), 256 GB eight-channel DDR4-3200
GPU: 2× RX 7900 XTX 24 GB (gfx1100)
Environment: Proxmox VM, 64 vCPUs, single NUMA node
Engine: Maya v1.1.15, ROCm 10.2
Model: GLM-5.3-Flash Maya-L (~156 GB), 256K configured context, parallel 2
Finding
The default configuration used two separate 28-thread CPU expert pools (56 workers total).
Switching to one shared 48-thread pool:
Produced the following matched decode improvements:
Median context prefill at 80k is at around: 1249.2
Each comparison used two measured runs per configuration, fresh model load and warmup, 512 generated tokens, temperature 1.0, top-p 0.95, and no prompt-cache reuse.
The initial three-run 50K sweep also showed:
Separate 28+28: 27.48 tok/s
Shared-28: 27.88 tok/s
Shared-40: 31.01 tok/s
Shared-48: 31.82 tok/s
Prefill remained essentially unchanged, and limited parallel-2 testing showed no substantial regression.
Possible upstream relevance
The interesting finding is that sharing alone provided little benefit; correctly sizing the shared pool produced the substantial improvement.
This may be worth considering in CPU-lane auto-calibration or as a tuning recommendation for dual-GPU systems with many CPU cores.
Happy to provide the complete benchmark logs and configuration details if useful.
</html>Related to #168, but a different scheduling issue. That report concerned Windows processor-group affinity leaving physical cores unused, which was resolved in v1.1.12.
This report concerns the performance difference between separate and shared CPU expert pools on a Linux VM with a single exposed NUMA node. All 64 vCPUs are available, but a properly sized shared pool substantially outperforms two independent pools.
</html>