[GH-ISSUE #268] [HIP/gfx1100] Shared CPU pool improves dual-XTX Maya-L decode by 16–34% #100

Open
opened 2026-10-29 21:20:50 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Jlauti on GitHub (Oct 18, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/268

<html> <html><head></head>

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:

STRATA_GLM_CPU_SHARED=1
STRATA_GLM_CPU_LANE=48

Produced the following matched decode improvements:

Prompt tokens Separate 28+28 Shared-48 Gain
8,149 23.09 30.84 +33.5%
50,057 27.56 31.88 +15.7%
80,057 26.56 31.60 +19.0%

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>
Originally created by @Jlauti on GitHub (Oct 18, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/268 <html><body> <!--StartFragment--><html><head></head><body><h2><span>Hardware</span></h2><ul><li><p><strong><span>CPU:</span></strong><span> Threadripper PRO 5975WX (32C/64T), 256 GB eight-channel DDR4-3200</span></p></li><li><p><strong><span>GPU:</span></strong><span> 2× RX 7900 XTX 24 GB (gfx1100)</span></p></li><li><p><strong><span>Environment:</span></strong><span> Proxmox VM, 64 vCPUs, single NUMA node</span></p></li><li><p><strong><span>Engine:</span></strong><span> Maya v1.1.15, ROCm 10.2</span></p></li><li><p><strong><span>Model:</span></strong><span> GLM-5.3-Flash Maya-L (~156 GB), 256K configured context, parallel 2</span></p></li></ul><h2><span>Finding</span></h2><p><span>The default configuration used two separate 28-thread CPU expert pools (56 workers total).</span></p><p><span>Switching to one shared 48-thread pool:</span></p><pre><code><span>STRATA_GLM_CPU_SHARED=1 STRATA_GLM_CPU_LANE=48</span></code></pre><p><span>Produced the following matched decode improvements:</span></p> Prompt tokens | Separate 28+28 | Shared-48 | Gain -- | -- | -- | -- 8,149 | 23.09 | 30.84 | +33.5% 50,057 | 27.56 | 31.88 | +15.7% 80,057 | 26.56 | 31.60 | +19.0% Median context prefill at 80k is at around: 1249.2 <p><span>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.</span></p><p><span>The initial three-run 50K sweep also showed:</span></p><ul><li><p><span>Separate 28+28: 27.48 tok/s</span></p></li><li><p><span>Shared-28: 27.88 tok/s</span></p></li><li><p><span>Shared-40: 31.01 tok/s</span></p></li><li><p><span>Shared-48: 31.82 tok/s</span></p></li></ul><p><span>Prefill remained essentially unchanged, and limited parallel-2 testing showed no substantial regression.</span></p><h2><span>Possible upstream relevance</span></h2><p><span>The interesting finding is that </span><strong><span>sharing alone provided little benefit; correctly sizing the shared pool produced the substantial improvement</span></strong><span>.</span></p><p><span>This may be worth considering in CPU-lane auto-calibration or as a tuning recommendation for dual-GPU systems with many CPU cores.</span></p><p><span>Happy to provide the complete benchmark logs and configuration details if useful.</span></p></body></html><!--EndFragment--> **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. </body> </html>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mw00/project-maya#100
No description provided.