r/LocalAIStack • u/rbravo2048 • 13m ago
80+ tokens/s on Z8 G4 with RTX 3090 and RTX 3060 helper
reddit.comQwen3.8 Flash Next on a dual-Xeon HP Z8: NUMA placement improved solo throughput by 23%
On a dual-Xeon HP Z8 G4 with 384 GB of DDR4-2666, I’m running Qwen3.8 Flash Next UD-Q4_K_XL through Strata with MTP, a RAM-resident FP8 ngram table, 153,600-token context and two serving slots. The key finding was NUMA placement: spreading the CPU expert weights across both sockets’ memory improved matched solo decode from 69 to 85 tokens/s—about 23%. With the RTX 3090 now capped at 240 W and the RTX 3060 helper at 140 W, the current cached 16K tests deliver approximately 83 tokens/s solo and 86 tokens/s combined while both slots decode.
HARDWARE AND SOFTWARE
• Workstation: HP Z8 G4, two Intel Xeon Platinum 8160 processors.
• Memory: 384 GB DDR4-2666, twelve 32 GB RDIMMs, all six channels per socket populated; approximately 376.58 GiB usable.
• Primary GPU: EVGA RTX 3090 FTW, 24 GiB, handling text inference and MTP, with a persistent 240 W cap.
• Helper GPU: RTX 3060, 12 GiB, providing 2,048 additional expert-cache slots and vision, with a persistent 140 W cap.
• Host: Ubuntu 24.04.5, kernel 6.8.0-151-generic, NVIDIA driver 595.91.07.
• Strata: Terminal 0.2.17, native engine 0.1.63 CUDA 13 build, embedded Python 3.12.15.
• Model: Original Unsloth Qwen3.8 Flash Next UD-Q4_K_XL, four GGUF shards and the corresponding native pack.
• Context: 153,600 tokens.
• Serving: Two batch-MTP slots, MTP depth 4, confidence 0.50.
• KV: INT8, with 32,768 resident tokens.
• Workers: 42 of 48 physical cores, 21 per socket.
• Conversation cache: 24 GiB, 24 entries, 16 GiB available-memory floor, disk spill disabled.
• Primary VRAM reserve: 1,024 MiB.
• Test route: Local HTTP requests on port 1090, excluding network/tunnel latency.
The 3060 is an additional expert cache and vision device, not a text-layer split. The primary keeps its own expert cache.
The CPU expert path here is the portable AVX2 path. The Xeons support AVX-512, but that does not mean this build used an AVX-512 expert kernel. Route-tail-skip is 0. These results do not use expert skipping, mixed KV, a custom engine or a different checkpoint.
MODEL AND FP8 NGRAM TABLE
The four original GGUF shards total 111,334,654,784 bytes and contain 1,224 tensors:
F32: 557
Q8_0: 503
IQ4_NL: 1
Q5_1: 43
Q4_K: 94
Q5_K: 2
BF16: 24
The original per_layer_token_embd.weight in shard 2 is the IQ4_NL tensor, with dimensions [160, 320001536] and a 28,800,138,240-byte payload. The original shards remain unchanged.
The effective PLE/ngram table is overridden by a separate FP8 file:
Qwen3.8-Flash-Next_ple-fp8.gguf
Size: 51,200,246,112 bytes
SHA-256: 74fdb8310d61a9dc9add13defe64c2b5ad69e401f0db6d4a617febc968408e17
The FP8 PLE table came from the Unsloth Q8 version, with a matching SHA-256. Its persistent copy is on the internal HDD and is staged and verified into a RAM-backed file at startup. The runtime copy is fully resident on NUMA node 0 and is not locked.
RELEVANT NATIVE ARGUMENTS
These are arguments from the managed launch, using placeholders for local assets. They are not a complete standalone command or a substitute for Strata’s managed environment.
--serve --pack <native-pack> --native <first-of-four-gguf-shards>
--expert-profile <expert-profile> --expert-cache auto --prefill auto
--spec 4 --spec-min-p 0.5 --mtp <mtp-asset> --batch-mtp --batch 2
--max-context 153600 --kv int8 --kv-resident 32768
--ple-io ram --ple-gguf <ram-backed-fp8-ple-gguf>
--vision --vram-reserve-mib 1024
--conversation-cache-mib 24576 --conversation-cache-slots 24
--conversation-cache-min-free-mib 16384 --conversation-spill-mib 0
--pool-workers 42
--pool-cores 1,24,2,25,3,26,4,27,5,28,6,29,7,30,8,31,9,32,10,33,11,34,12,35,13,36,14,37,15,38,16,39,17,40,18,41,19,42,20,43,21,44
--expert-cache-device1 2048 --remote-expert-opt
CUDA device 0 is primary and device 1 is the helper. Logical CPU numbering and GPU ordering are machine-specific; map physical cores and devices rather than copying the list blindly.
THE NUMA CHANGE
All twelve memory channels are populated: six channels and 192 GB per socket. The theoretical peak bandwidth is approximately 128 GB/s per socket, or 256 GB/s aggregate across both sockets:
2,666 MT/s × 8 bytes × 6 channels per socket.
That is the channel-level theoretical maximum; sustained bandwidth depends on the workload.
The important discovery was that distributing the workers did not distribute the expert weights. The 42 workers ran 21 per socket, but the roughly 71.73 GiB CUDA-registered anonymous expert arena was entirely on NUMA node 1.
Starting the managed runtime with inherited:
numactl --interleave=0,1
placed the full resident expert arena almost exactly 50/50 across both nodes. Actual mappings and resident pages were checked, rather than relying only on CPU affinity or a small allocation test.
The FP8 PLE file has its own explicit node-0 binding, which overrides the inherited policy for that file. All 12,500,061 pages were resident on node 0. The interleave result therefore describes the expert arena, not the PLE file. The primary GPU is local to node 0 and the helper to node 1.
SAME-ENGINE NUMA COMPARISON
These warm medians were measured at the earlier 250 W / 140 W GPU caps, using the same 16K fixture and two repetitions per configuration.
Solo decode:
69.20 → 84.95 tokens/s
Improvement: 22.76%
Combined decode while both slots were active:
78.272 → 87.003 tokens/s
Improvement: 11.15%
Complete pair output divided by shared wall time:
66.454 → 70.928 tokens/s
Improvement: 6.73%
Both interleaved repetitions exceeded both default repetitions on all three measures. CPU expert-stage time also fell by roughly 27% on average.
This supports a placement benefit on this build. The inherited policy also affects other default-policy allocations, so it does not isolate every possible cause.
The managed startup now stages and verifies the FP8 source, requires physical free memory on each node, passes the interleave policy through the managed launch, and checks actual arena and PLE placement at readiness. Persistence was installed and checked against the running instance without restarting it.
CURRENT 240 W WARM MEASUREMENTS
After setting the 3090 to 240 W without restarting Strata, I ran one conditioning pass followed by two matched warm passes. Each pass ran one solo request, followed by two independent requests started together.
Every request had 16,384 input tokens, reused 16,377 tokens and processed seven new tokens. The conditioning pass already reused cache, so it was not cold.
Conditioning:
• Solo decode: 70.70 tokens/s
• Pair streams: 45.2 / 43.2 tokens/s
• Actual concurrent decode, aggregate: 89.10 tokens/s
• Full pair output/shared wall: 79.35 tokens/s
Warm 1:
• Solo decode: 81.60 tokens/s
• Pair streams: 44.3 / 44.2 tokens/s
• Actual concurrent decode, aggregate: 87.7414 tokens/s
• Full pair output/shared wall: 73.1482 tokens/s
Warm 2:
• Solo decode: 83.90 tokens/s
• Pair streams: 38.4 / 47.5 tokens/s
• Actual concurrent decode, aggregate: 84.2631 tokens/s
• Full pair output/shared wall: 70.0394 tokens/s
Warm medians:
• Solo decode: 82.75 tokens/s
• Actual concurrent decode, aggregate: 86.0023 tokens/s
• Full pair output/shared wall: 71.5938 tokens/s
Concurrent aggregate counts generated-token deltas over sampled intervals when both slots are decoding.
Full-pair throughput divides both outputs by the time from the first client request start to the last client response end. It includes prefill/cache handling and the uneven tail. It is not the sum of the two per-request decode rates.
All nine responses were nonempty, contained the requested marker, ended normally and had unique attribution. All three pairs overlapped. There was no swap-in or swap-out, native VmSwap remained zero, and model-device sector reads did not increase. Minimum available memory was 213.52 GiB.
These checks establish basic response behavior for this short test, not a general quality evaluation. Full High, long-context and image quality were not rerun for this measurement.
The earlier optimized 250 W reference was 85.0 / 88.50349 / 71.67070 tokens/s on the same three measures. The 240 W medians were 2.65% / 2.83% / 0.11% lower. This was not a contemporaneous randomized power-only comparison; adaptive cache history, output lengths and the small number of runs can affect the result.
WARM FIRST-ENGINE-TOKEN TIMES
Warm 1:
• Solo: 0.403 seconds
• Pair B: 1.010 seconds
• Pair C: 0.354 seconds
Warm 2:
• Solo: 0.415 seconds
• Pair B: 0.455 seconds
• Pair C: 1.276 seconds
These are engine-side timing observations. The warm requests were non-streaming, so they do not independently establish time to the first visible streamed text.
POWER
Across 15 fresh confirmed-idle samples, the two GPU board draws averaged 42.00 W combined, ranging from 41.82 to 42.18 W.
During the 240 W benchmark, the largest simultaneously sampled GPU sum was 293.61 W: 237.27 W on the 3090 plus 56.34 W on the 3060. The paired peak was 293.15 W.
My estimated whole-system draw is about 200 W at the wall while idle and about 700 W during heavy Strata generation.
For comparison, HP’s Z8 G4 QuickSpecs list 161.1 W idle for a different dual-Xeon 6152/192 GB/dual-P5000 configuration and 194.0 W for a dual-Xeon 6136/768 GB/dual-P6000 configuration. Those figures already include their GPUs.
My estimate uses roughly 130 W DC for the remaining system at idle and 330 W during heavy generation, plus the measured GPU readings, at approximately 90% PSU efficiency. That gives about 191 W and 693 W AC, rounded to 200 W and 700 W.
HP source, pages 30–31:
https://h30434.www3.hp.com/psg/attachments/psg/Business-PC-Workstation-POS/44704/1/Z8%20G4%20Quickspecs%20v67.pdf
COLD 16K PROMPTS
I also ran two fresh solo requests and two fresh simultaneous pairs, using six independently randomized synthetic prompts.
Every request contained exactly 16,384 input tokens and reused zero tokens. The model stayed loaded: this tests uncached prompt processing rather than loading weights from disk.
Requests used temperature 0, thinking disabled, a 512-token output limit and aux_cpus 0. They were streamed locally, allowing both engine-side and client-visible first-token timing.
Round 1, solo:
• First engine token: 7.818 seconds
• First visible text: 7.847 seconds
• Decode: 73.7 tokens/s
• Output: 384 tokens
Round 1, pair B:
• First engine token: 14.293 seconds
• First visible text: 14.349 seconds
• Decode: 50.9 tokens/s
• Output: 454 tokens
Round 1, pair C:
• First engine token: 6.966 seconds
• First visible text: 7.025 seconds
• Decode: 22.6 tokens/s
• Output: 327 tokens
Round 2, solo:
• First engine token: 7.241 seconds
• First visible text: 7.263 seconds
• Decode: 79.0 tokens/s
• Output: 346 tokens
Round 2, pair B:
• First engine token: 14.357 seconds
• First visible text: 14.444 seconds
• Decode: 49.5 tokens/s
• Output: 470 tokens
Round 2, pair C:
• First engine token: 7.039 seconds
• First visible text: 7.112 seconds
• Decode: 23.6 tokens/s
• Output: 359 tokens
Cold solo medians:
• First engine token: 7.53 seconds
• First visible text: 7.55 seconds
• Decode: 76.35 tokens/s
With both requests released together, one began producing text at roughly seven seconds and the other at roughly 14.3 seconds in each round.
Cold pair 1:
• Combined decode while both slots active: 88.82 tokens/s
• Full pair output/shared wall: 32.83 tokens/s
• Shared wall: 23.79 seconds
Cold pair 2:
• Combined decode while both slots active: 89.04 tokens/s
• Full pair output/shared wall: 34.12 tokens/s
• Shared wall: 24.30 seconds
Cold pair medians:
• Combined decode while both slots active: 88.93 tokens/s
• Full pair output/shared wall: 33.47 tokens/s
Both pairs decoded concurrently. Full-pair throughput includes processing two completely uncached 16K inputs, which explains much of the difference from the warm result. Staggered first tokens also show why the whole-request average rates of the two streams differ; those rates are not interchangeable with the combined rate during simultaneous decode.
All six responses completed normally, contained the marker and were uniquely attributed. There was no swap activity, native VmSwap stayed zero, and the full interleaved expert arena and node-0 FP8 table remained resident. No server restart or configuration change was needed.
THROUGHPUT TEST METHOD
Synthetic 16,384-token inputs, 512-token output limit, temperature 0, thinking disabled and aux_cpus 0.
Warm requests reused 16,377 tokens and processed seven new tokens. Each pass tested one request alone, followed by two requests released together.
Per-stream decode, actual overlapping decode, full-pair wall time and first-engine-token latency were recorded. Cold requests used six fresh randomized inputs and verified zero reused tokens; engine-side and first-visible streamed TTFT were measured separately.
OTHER SETTINGS TRIED
A same-engine, optimized-NUMA comparison of default DFlash2 versus MTP measured 79.7 versus 85.0 tokens/s solo, with small paired improvements whose ranges overlapped. It did not establish an overall win, so I kept MTP.
A subsequent request-local MTP confidence sweep from 0.50 through 0.70, followed by a balanced confirmation, found no repeatable gain sufficient to change 0.50.
The selected native build for these results is 0.1.63.




