okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

pertain99bench: community report, RTX 3090 Ti + 2x Xeon E5-2699 v3 (HP Z840), IQ3_S at 262K (#674)c9a554bc3

main
8.0 KiB120 linesraw

Community benchmark on RTX 3090 Ti + dual Xeon E5-2699 v3 (HP Z840)

Measured on 2026-10-03 by pertain99. Tested: IQ3_S at 262,144 context on a single RTX 3090 Ti in a dual-socket Haswell-EP workstation (AVX2 only, PCIe 3.0, 384 GB DDR4-2133), plus a three-way NUMA placement comparison and the --calibrate sweep. Main limitation: one short prompt and one ~5K prompt, greedy, output capped at 512 tokens; no quality suite beyond the engine's own checks. The first dual-socket Xeon / Z840 data point (asked for in #508).

Hardware and software

  • GPU: NVIDIA GeForce RTX 3090 Ti 24 GB, PCIe 3.0 x16 (engine probe 12.4 GB/s host-to-device), power limit set to 320 W (default 450 W). GPU is on NUMA node 0.
  • CPU: 2x Intel Xeon E5-2699 v3 @ 2.30 GHz (Haswell-EP, 18C/36T each, 72 logical). AVX2 + FMA, no AVX-512. Engine ran its expert kernels on the AVX2 path with 17 pool workers (node 0 only, see NUMA).
  • RAM: 384 GB DDR4-2133 ECC (378 GB usable), 4 channels per socket, two NUMA nodes.
  • Storage: Intel DC P4608 6.4 TB HHHL (PCIe 3.0 x8, two 3.2 TB controllers; one half XFS for the model files, the other half swap), attached to NUMA node 1. System disk Samsung 870 QVO 2 TB SATA.
  • OS: Ubuntu 22.04.5 LTS, kernel 6.8.0-138-generic (HWE). NVIDIA driver 610.57.04 (open kernel modules). CUDA toolkit 12.3 used for the source build (nvcc), gcc 12.3.
  • Strata: v0.1.38, main checkout on 2026-10-03, source build (CMAKE_CUDA_ARCHITECTURES=86).
  • Background: GNOME desktop on the same GPU (Xorg + gnome-shell, ~15 MiB VRAM idle), dockerd, JupyterLab idle. Expert arena in 2 MB hugetlb pages (vm.nr_hugepages=28000, all on node 0), LimitMEMLOCK=infinity, kernel.numa_balancing=0.

Model and configuration

  • Model: ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF, IQ3_S, pinned revision as fetched by setup (Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf, -00002-of-00002.gguf), native pack built by setup.
  • Vision encoder on the GPU (--vision, mmproj BF16); shipped expert profile data/expert-profile.bin.
  • Context 262,144; KV int8; KV streaming on (--kv-resident 32768, KV cache in RAM, 3.6 GB); expert cache auto: 7,911 experts / 15.0 GiB in VRAM with the vision encoder loaded (8,605 / 16.3 GiB without it); expert arena 46.84 GiB in RAM; --prefill auto; not low-RAM mode.
  • MTP on (--spec 4); thinking off for all measurements (reasoning_effort: none); greedy (temperature 0); calibration run once (see below); experimental speed projection off.
numactl --cpunodebind=0 --membind=0 engine/strata --serve \
  --pack /data/Strata-data/packs/iq3_s --native .../IQ3_S-00001-of-00002.gguf --ple-gguf .../IQ3_S-00002-of-00002.gguf \
  --expert-profile data/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.70 \
  --mtp /data/Strata-data/mtp/rt --max-context 262144 --kv int8 --kv-resident 32768 \
  --vision --vram-reserve-mib 700 --pcie-frac 0.20

Server: serve/server.py as written by setup, with anthropic_thinking: on_request, fit_max_tokens: true, reasoning_budget_tokens: 8192.

Method

Requests through POST /v1/chat/completions on the local server, greedy, reasoning_effort: none, max_tokens 512 for decode runs and 32 for the long-prompt runs. Prompt and decode tok/s are the engine's own per-request figures from the server log (prompt ... read in ... ms (N tok/s), ... generated in ... ms (N tok/s)), not total request time.

  • Decode: one fixed 31-token Chinese coding prompt ("write an LRU cache class with unit tests and explain line by line"), 512 generated tokens every run. First request after a start is reported as cold (shipped profile, no adaptation); from the second request on the prompt prefix is reused (24 of 31 tokens) and the adaptive expert tier has swapped experts in.
  • Long prompt: a ~5,000-token prompt (one mixed Chinese/English paragraph repeated 70 times) with a different leading sentence per run so the prompt cache does not match; 32 generated tokens.
  • NUMA A/B (strata-numa-ab.sh, attached): for each placement the engine was started fresh (systemd service stopped), hugepages redistributed to match (28000/0 for node binding, 14000/14000 otherwise), 2 warm-up decode requests, then 5 measured decode runs and 5 measured long-prompt runs; medians and ranges reported. Model load time is from service start to /health reporting loaded.
  • Calibration: ./setup.sh --calibrate under the node-0 binding; its own measurements are quoted as it printed them (cold cache each round, vision encoder not loaded during calibration).
  • Memory: MemTotal - MemAvailable ~64 GB with the service up (56 GB hugetlb pool, 3.6 GB KV, engine and server processes). Peak VRAM 23.85 GB.

Results

Decode, IQ3_S, node-0 binding, calibrated settings (--pcie-frac 0.20 --spec-min-p 0.70):

ConfigurationActual prompt tokensReused tokensGenerated tokensRunsPrompt tok/s median and rangeDecode tok/s median and rangeTTFT seconds median and range
cold start, first request310512154.267.10.57
warm, requests 2-3 (before calibration)3124512270.5-83.989.0 (87.0-91.1)0.08-0.10
warm, A: --cpunodebind=0 --membind=031245125not measured94.9 (93.7-95.9)not measured
warm, B: --interleave=all (35 workers)31245125not measured98.8 (95.9-100.6)not measured
warm, C: no numactl31245125not measured90.1 (88.2-93.4)not measured
long prompt, A~5,00003251,304 (1,296-1,308)not measured~3.8
long prompt, B~5,00003251,239 (1,233-1,243)not measured~4.0
long prompt, C~5,00003251,268 (1,262-1,272)not measured~3.9

Decode expert-cache hit rate: 82.4% on the cold first request, 90.6-92.3% warm (all three NUMA placements within 0.1 pt of each other). Draft acceptance 77-85%.

Real agent traffic (Claude Code / OpenClaw / Hermes via the Anthropic and OpenAI endpoints, thinking on): 56-80 tok/s decode at 76-85% hit rate; a 13,493-token agent prompt was read in 7 s (~1,900 tok/s).

Model load: 46.84 GiB of experts read from the NVMe at 5.2 GiB/s, service loaded in 32 s (node-0 binding), 36 s (default), 42 s (interleave).

--calibrate sweep (its own cold-cache numbers, vision off, node-0 binding):

SettingValues tried (tok/s)Kept
--pcie-frac0.00: 63.1, 0.20: 65.6, 0.34 (auto from probe): 64.8, 0.35: 65.5, 0.55 (default): 58.3, 0.75: 51.80.20
--spec-min-p0.30: 63.9, 0.50 (default): 64.9, 0.70: 70.90.70
--pool-workers17: 66.8, 11: 62.1, 8: 57.017 (default = node-0 physical cores minus 1)

Takeaways: on PCIe 3.0 the default 0.55 PCIe share costs 11%; --spec-min-p 0.70 was the largest single gain (+9%); more CPU workers kept helping up to all 17 cores of the socket, but the second socket's 18 cores plus memory interleave bought only +4% decode while costing 5% on prompt reading, so node-0 binding was kept (it also leaves the second socket free).

Raw per-run figures and the A/B script are in this folder.

Correctness and limitations

  • The model answered the Chinese coding prompt correctly (valid Python, OrderedDict-based LRU with unit tests); Claude Code against the Anthropic endpoint completed a file-creation task end to end.
  • No needle test and no quality suite were run; tools/needle_bench.py is the obvious follow-up.
  • Single GPU, one request at a time, greedy decoding, thinking off for the speed runs.
  • Prompt and TTFT columns for the NUMA decode rows were not recorded by the script (decode only); the long-prompt rows record prompt speed only.
  • Decode numbers drift with draft acceptance, so a different prompt moves them by several percent.
  • Hugetlb page placement matters for the NUMA comparison: with all 28,000 pages on node 0, an --interleave=all run would silently fall back to node-0 pages for the arena; the script redistributes them before each run.
1# Community benchmark on RTX 3090 Ti + dual Xeon E5-2699 v3 (HP Z840)
2
3Measured on 2026-10-03 by pertain99. Tested: IQ3_S at 262,144 context on a single RTX 3090 Ti in a
4dual-socket Haswell-EP workstation (AVX2 only, PCIe 3.0, 384 GB DDR4-2133), plus a three-way NUMA
5placement comparison and the `--calibrate` sweep. Main limitation: one short prompt and one ~5K
6prompt, greedy, output capped at 512 tokens; no quality suite beyond the engine's own checks. The
7first dual-socket Xeon / Z840 data point (asked for in #508).
8
9## Hardware and software
10
11- GPU: NVIDIA GeForce RTX 3090 Ti 24 GB, PCIe 3.0 x16 (engine probe 12.4 GB/s host-to-device), power
12  limit set to 320 W (default 450 W). GPU is on NUMA node 0.
13- CPU: 2x Intel Xeon E5-2699 v3 @ 2.30 GHz (Haswell-EP, 18C/36T each, 72 logical). AVX2 + FMA, **no
14  AVX-512**. Engine ran its expert kernels on the AVX2 path with 17 pool workers (node 0 only, see NUMA).
15- RAM: 384 GB DDR4-2133 ECC (378 GB usable), 4 channels per socket, two NUMA nodes.
16- Storage: Intel DC P4608 6.4 TB HHHL (PCIe 3.0 x8, two 3.2 TB controllers; one half XFS for the model
17  files, the other half swap), attached to NUMA node 1. System disk Samsung 870 QVO 2 TB SATA.
18- OS: Ubuntu 22.04.5 LTS, kernel 6.8.0-138-generic (HWE). NVIDIA driver 610.57.04 (open kernel
19  modules). CUDA toolkit 12.3 used for the source build (nvcc), gcc 12.3.
20- Strata: v0.1.38, `main` checkout on 2026-10-03, source build (`CMAKE_CUDA_ARCHITECTURES=86`).
21- Background: GNOME desktop on the same GPU (Xorg + gnome-shell, ~15 MiB VRAM idle), dockerd,
22  JupyterLab idle. Expert arena in 2 MB hugetlb pages (`vm.nr_hugepages=28000`, all on node 0),
23  `LimitMEMLOCK=infinity`, `kernel.numa_balancing=0`.
24
25## Model and configuration
26
27- Model: ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF, IQ3_S, pinned revision as fetched by setup
28  (`Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf`, `-00002-of-00002.gguf`), native pack
29  built by setup.
30- Vision encoder on the GPU (`--vision`, mmproj BF16); shipped expert profile `data/expert-profile.bin`.
31- Context 262,144; KV int8; KV streaming on (`--kv-resident 32768`, KV cache in RAM, 3.6 GB); expert
32  cache auto: **7,911 experts / 15.0 GiB in VRAM** with the vision encoder loaded (8,605 / 16.3 GiB
33  without it); expert arena 46.84 GiB in RAM; `--prefill auto`; not low-RAM mode.
34- MTP on (`--spec 4`); thinking off for all measurements (`reasoning_effort: none`); greedy
35  (`temperature 0`); calibration run once (see below); experimental speed projection off.
36
37```text
38numactl --cpunodebind=0 --membind=0 engine/strata --serve \
39  --pack /data/Strata-data/packs/iq3_s --native .../IQ3_S-00001-of-00002.gguf --ple-gguf .../IQ3_S-00002-of-00002.gguf \
40  --expert-profile data/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.70 \
41  --mtp /data/Strata-data/mtp/rt --max-context 262144 --kv int8 --kv-resident 32768 \
42  --vision --vram-reserve-mib 700 --pcie-frac 0.20
43```
44
45Server: `serve/server.py` as written by setup, with `anthropic_thinking: on_request`,
46`fit_max_tokens: true`, `reasoning_budget_tokens: 8192`.
47
48## Method
49
50Requests through `POST /v1/chat/completions` on the local server, greedy, `reasoning_effort: none`,
51`max_tokens` 512 for decode runs and 32 for the long-prompt runs. Prompt and decode tok/s are the
52engine's own per-request figures from the server log (`prompt ... read in ... ms (N tok/s), ...
53generated in ... ms (N tok/s)`), not total request time.
54
55- **Decode:** one fixed 31-token Chinese coding prompt ("write an LRU cache class with unit tests and
56  explain line by line"), 512 generated tokens every run. First request after a start is reported as
57  cold (shipped profile, no adaptation); from the second request on the prompt prefix is reused
58  (24 of 31 tokens) and the adaptive expert tier has swapped experts in.
59- **Long prompt:** a ~5,000-token prompt (one mixed Chinese/English paragraph repeated 70 times) with
60  a different leading sentence per run so the prompt cache does not match; 32 generated tokens.
61- **NUMA A/B** (`strata-numa-ab.sh`, attached): for each placement the engine was started fresh
62  (systemd service stopped), hugepages redistributed to match (28000/0 for node binding, 14000/14000
63  otherwise), 2 warm-up decode requests, then 5 measured decode runs and 5 measured long-prompt runs;
64  medians and ranges reported. Model load time is from service start to `/health` reporting loaded.
65- **Calibration:** `./setup.sh --calibrate` under the node-0 binding; its own measurements are quoted
66  as it printed them (cold cache each round, vision encoder not loaded during calibration).
67- Memory: `MemTotal - MemAvailable` ~64 GB with the service up (56 GB hugetlb pool, 3.6 GB KV, engine
68  and server processes). Peak VRAM 23.85 GB.
69
70## Results
71
72Decode, IQ3_S, node-0 binding, calibrated settings (`--pcie-frac 0.20 --spec-min-p 0.70`):
73
74| Configuration | Actual prompt tokens | Reused tokens | Generated tokens | Runs | Prompt tok/s median and range | Decode tok/s median and range | TTFT seconds median and range |
75| --- | ---: | ---: | ---: | ---: | --- | --- | --- |
76| cold start, first request | 31 | 0 | 512 | 1 | 54.2 | 67.1 | 0.57 |
77| warm, requests 2-3 (before calibration) | 31 | 24 | 512 | 2 | 70.5-83.9 | 89.0 (87.0-91.1) | 0.08-0.10 |
78| warm, A: `--cpunodebind=0 --membind=0` | 31 | 24 | 512 | 5 | not measured | 94.9 (93.7-95.9) | not measured |
79| warm, B: `--interleave=all` (35 workers) | 31 | 24 | 512 | 5 | not measured | 98.8 (95.9-100.6) | not measured |
80| warm, C: no numactl | 31 | 24 | 512 | 5 | not measured | 90.1 (88.2-93.4) | not measured |
81| long prompt, A | ~5,000 | 0 | 32 | 5 | 1,304 (1,296-1,308) | not measured | ~3.8 |
82| long prompt, B | ~5,000 | 0 | 32 | 5 | 1,239 (1,233-1,243) | not measured | ~4.0 |
83| long prompt, C | ~5,000 | 0 | 32 | 5 | 1,268 (1,262-1,272) | not measured | ~3.9 |
84
85Decode expert-cache hit rate: 82.4% on the cold first request, 90.6-92.3% warm (all three NUMA
86placements within 0.1 pt of each other). Draft acceptance 77-85%.
87
88Real agent traffic (Claude Code / OpenClaw / Hermes via the Anthropic and OpenAI endpoints, thinking
89on): 56-80 tok/s decode at 76-85% hit rate; a 13,493-token agent prompt was read in 7 s (~1,900 tok/s).
90
91Model load: 46.84 GiB of experts read from the NVMe at 5.2 GiB/s, service loaded in 32 s (node-0
92binding), 36 s (default), 42 s (interleave).
93
94`--calibrate` sweep (its own cold-cache numbers, vision off, node-0 binding):
95
96| Setting | Values tried (tok/s) | Kept |
97| --- | --- | --- |
98| `--pcie-frac` | 0.00: 63.1, **0.20: 65.6**, 0.34 (auto from probe): 64.8, 0.35: 65.5, 0.55 (default): 58.3, 0.75: 51.8 | 0.20 |
99| `--spec-min-p` | 0.30: 63.9, 0.50 (default): 64.9, **0.70: 70.9** | 0.70 |
100| `--pool-workers` | **17: 66.8**, 11: 62.1, 8: 57.0 | 17 (default = node-0 physical cores minus 1) |
101
102Takeaways: on PCIe 3.0 the default 0.55 PCIe share costs 11%; `--spec-min-p 0.70` was the largest
103single gain (+9%); more CPU workers kept helping up to all 17 cores of the socket, but the second
104socket's 18 cores plus memory interleave bought only +4% decode while costing 5% on prompt reading,
105so node-0 binding was kept (it also leaves the second socket free).
106
107Raw per-run figures and the A/B script are in this folder.
108
109## Correctness and limitations
110
111- The model answered the Chinese coding prompt correctly (valid Python, `OrderedDict`-based LRU with
112  unit tests); Claude Code against the Anthropic endpoint completed a file-creation task end to end.
113- No needle test and no quality suite were run; `tools/needle_bench.py` is the obvious follow-up.
114- Single GPU, one request at a time, greedy decoding, thinking off for the speed runs.
115- Prompt and TTFT columns for the NUMA decode rows were not recorded by the script (decode only); the
116  long-prompt rows record prompt speed only.
117- Decode numbers drift with draft acceptance, so a different prompt moves them by several percent.
118- Hugetlb page placement matters for the NUMA comparison: with all 28,000 pages on node 0, an
119  `--interleave=all` run would silently fall back to node-0 pages for the arena; the script
120  redistributes them before each run.