[GH-ISSUE #4042] [Benchmark] 2x RTX PRO 6000 Blackwell — DeepSeek V4.1 Flash IST-DAS 2.25 bpw, 325k context #1745

Closed
opened 2026-11-04 01:53:42 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @theogravity on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4042

What did you measure, or what went wrong

Measured DeepSeek V4.1 Flash IST-DAS 2.25-bit (IQ2_XS) locally on 2026-10-24 using Strata Terminal 0.2.4.2 / engine 0.1.49.2, two RTX PRO 6000 Blackwell GPUs, a Threadripper PRO 9965WX, and 256 GB DDR5-5600 RAM. The unmodified community suite completed 36 requests without failures; a separate nine-request supplement measured decode at 131k, 256k, and 324k input tokens. The report below includes the exact configuration and commands, individual measurements, gains and regressions, and measurement limitations.

Community benchmark — current DS4_SPLIT=19,21 configuration

Measured locally on 2026-10-24, same machine/model/released engine and the same unmodified upstream community speed suite as the original report. 36 measured requests, zero failures, zero skips, 235.5 seconds suite wall time excluding loading. This is not the Qwen standard protocol. The larger-context supplement below also measures this current 19/21 configuration.

Configuration and provenance

  • Inference: 2× RTX PRO 6000 Blackwell Workstation Edition, 97,887 MiB each, host GPUs 1/2 (container 0/1), PCIe Gen 5 ×16. RTX 5080 on host GPU 0 remains desktop/Winnow only.
  • Threadripper PRO 9965WX, 24 cores / 48 threads; 256 GB DDR5-5600 installed, 246.8 GiB OS-visible; NVMe storage.
  • Ubuntu 26.04.1 host, kernel 7.0.0-38-generic, driver 610.57.04; Ubuntu 24.04 container, CUDA 13 engine package.
  • Terminal 0.2.4.2 / build 0.1.49.2, terminal commit dfa3f4025c9f1bc4af8cee201b20a2d223061813; released DeepSeek engine 0.1.49.2 build d2d198a49. Benchmark checkout 7dd5cf18e68c639a8773e096c5c79f971ea2a9f5.
  • Model: ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-GGUF revision cb02422c900df489cea5833e8a92171224059b3c, four IQ2_XS shards and IQ4_NL Engram; shared DSpark/metadata from Unsloth revision f924b94f19c1fea02c06a65c8475b0a45e2b88b1, filenames: DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XS-00001-of-00004.gguf through 00004-of-00004.gguf, DeepSeek-V4.1-Flash-Engram-IQ4_NL.gguf, dspark-DeepSeek-V4.1-Flash-1017-Q8_0.gguf, and the small DeepSeek-V4.1-Flash-1017-UD-Q8_K_XL-00001-of-00009.gguf metadata shard.
  • Change: DS4_SPLIT=19,21, versus automatic layer placement previously. 19 trunk layers plus drafter on first GPU, 21 trunk layers plus head on second. The engine still falls back from requested TP2 to whole-layer placement for this checkpoint's block geometry.
  • Current placement: 76.81 / 79.86 GB of expert weights, 3.31 GB dense weights per card, zero CPU-offloaded experts. Previously 94 experts (~0.9 GB) remained on CPU despite free VRAM on the first card.
  • Unchanged: context 325,000, FP4 KV per API metadata, 24 CPU workers, DSpark auto/confidence 0.65, one request at a time, text only. Full 110.6 GB Engram warmed in reclaimable Linux page cache; weights/cache already warm. No engine reset immediately before this suite.
  • Background: desktop/Winnow on separate GPU 0, LiteLLM/host services, and other inference clients remained permitted. Concurrent queued work visibly affects client TTFT. Do not attribute wall-latency differences solely to the split.
  • Telemetry sampled every 5 seconds during part of the run (46 samples, not a guaranteed peak): host GPU 1: 79770–79770 MiB observed VRAM, 600 W power limit; host GPU 2: 82480–82480 MiB observed VRAM, 600 W power limit. Available RAM 222.3–222.8 GiB, including reclaimable cache. No OOM/request failures.

Effective engine environment/command (credentials omitted):

DS4_SPLIT=19,21 strata-dsv41 --serve --pack PACK --max-context 325000 --eos 1 \
  --dspark auto --dspark-conf 0.65 --tp 2 --cpu-threads 24 --layer-split auto

The named environment variable controls actual layer counts; the generic --layer-split auto argument is ignored by this DeepSeek engine.

Exact benchmark command, with STRATA_KEY supplied through the environment:

python3 tools/strata_bench.py --url http://127.0.0.1:8001 --runs 3 --long --out /tmp/strata-community-balanced

Comparison with original community run

Metric (median) Original automatic split Current 19/21 split Change
Chat decode tok/s 113.4 116.4 +2.6%
4K fresh prompt tok/s 1,369.1 1,395.3 +1.9%
16K fresh prompt tok/s 1,906.9 2,083.6 +9.3%
32K fresh prompt tok/s 2,044.5 2,299.1 +12.5%
Agent follow-up decode tok/s 116.6 109.1 -6.4%

These are sequential, non-isolated runs, not a randomized controlled experiment. Generated text and DSpark acceptance can differ. The table includes the agent decode regression, not only improvements. Chat: 100-token caps; fresh-prompt decode: only 24-token outputs; agent turns: up to 64 tokens. No claim of sustained-output performance follows from these short windows.

Method

Run by python tools/strata_bench.py --long against the HTTP API of a Strata server (already running); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests.

  • short chat: the three questions of tools/ab_engine.py, up to 100 new tokens, 3 runs
  • 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each
  • agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (cached_tokens) and timings (prompt_n)
  • concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests

Results

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
short chat 32 (29-38) 0 100 (100-100) 9 not measured 116.4 (105.6-208.2) 4.59 (0.15-12.75)
4K prompt, fresh 4125 (4125-4125) 0 (0-0) 24 cap 3 1395.3 (1357.5-1396.5) 103.2 (96.7-103.4) 6.37 (5.15-11.41)
16K prompt, fresh 16562 (16562-16562) 0 (0-0) 24 cap 3 2083.6 (2058.6-2087.4) 98.5 (98.3-102.3) 8.57 (7.95-36.90)
32K prompt, fresh 33126 (33126-33126) 0 (0-0) 24 cap 3 2299.1 (2295.6-2300.3) 98.2 (96.3-102.3) 14.45 (14.44-14.47)
agent session, follow-up turns 14806 (14805-14815) at the last turn see below up to 64 3 see below 109.1 (97.9-136.3) 2.22 (1.32-3.22)

Ranges are the lowest and highest of the runs; Runs counts requests that returned a token.

Agent session (conversation cache)

Cache hit over the follow-up turns: 70.6 % (70.6-70.7); earlier-turn tokens read again per session: 2 (2-2) (earlier turns that the cache did not hold; the 13940 (13940-13940) new tokens of the files are read once); first turn (nothing cached) first token: 0.89 s (0.87-2.59).

Turn (run 1) Prompt tokens Reused Read Prompt tok/s First token (s) Decode tok/s
0 602 0 602 675.3 2.589 157.3
1 4790 625 4165 1297.8 3.221 109.1
2 6308 4853 1455 1106.5 1.329 105.5
3 9433 6371 3062 1246.8 2.471 104.0
4 12145 9490 2655 1203.8 2.223 130.1
5 14806 12201 2605 1181.0 2.226 106.9

The 4K/16K/32K decode cells above were filled from upstream per-request engine timings; its Markdown renderer omits them. All corresponding raw fields appear below. This run's largest fresh prompt is 33,126 tokens despite 325k configured context. The separate 512-token-output supplement below extends testing through 324,004 input tokens.

Metadata corrections and limitations

The collector again identifies the host's first GPU (RTX 5080), not the actual container inference GPUs. Original raw JSON is preserved unchanged; use the verified GPU list above. ds4-0.1 is the API's generic engine label, quant: null is missing autodetection, and drafting: off conflicts with measured DSpark acceptance. These are collector/API metadata limitations. The engine throughput, usage, and cache counters are preserved as measured. No correctness checks were run by this speed suite.

Complete upstream results.json — 19/21 split, all 36 requests
{
  "schema": 1,
  "tool": "tools/strata_bench.py",
  "date": "2026-10-24",
  "params": {
    "runs": 3,
    "think": false,
    "clients": 0,
    "long": true,
    "started_server": false,
    "command": "python tools/strata_bench.py --long"
  },
  "elapsed_s": 235.51912999153137,
  "machine": {
    "gpu": [
      "NVIDIA GeForce RTX 5080"
    ],
    "gpu_vram_mib": 16303,
    "gpu_driver": "610.57.04",
    "cuda": null,
    "cpu": "AMD Ryzen Threadripper PRO 9965WX 24-Cores",
    "cpu_cores": 24,
    "cpu_threads": 48,
    "ram_gib": 246.8,
    "os": "Linux 7.0.0-38-generic",
    "python": "3.14.7",
    "strata_version": "0.1.49.2",
    "strata_commit": "7dd5cf18",
    "engine_version": "ds4-0.1",
    "model": "deepseek-v4.1-flash",
    "quant": null,
    "context": 325000,
    "parallel_slots": 1,
    "config": {},
    "launch": null,
    "engine_info": {
      "model": "deepseek-v4.1-flash",
      "max_context": 325000,
      "images": false,
      "version": "ds4-0.1",
      "context": 325000,
      "kv": "fp4",
      "kv_resident": 325000,
      "expert_slots": 15360,
      "engine_kind": "ds4",
      "cpu_experts": 0,
      "ram_experts": 0,
      "engine": "ds4-0.1",
      "engram_layers": 2,
      "engram_lookups": 48,
      "drafting": "off",
      "drafting_note": ""
    },
    "vram_after": {
      "elastic": false
    }
  },
  "results": {
    "chat": {
      "requests": [
        {
          "ok": true,
          "err": null,
          "ttft_s": 2.453,
          "total_s": 2.952,
          "prompt_tokens": 38,
          "reused_tokens": 0,
          "read_tokens": 38,
          "generated_tokens": 100,
          "prompt_tps": 163.7,
          "prompt_tps_source": "engine",
          "decode_tps": 202.8,
          "decode_tps_source": "engine",
          "prompt_ms": 232.1,
          "decode_ms": 493.2,
          "drafts_offered": 84,
          "drafts_accepted": 75,
          "run": 0,
          "prompt": 0
        },
        {
          "ok": true,
          "err": null,
          "ttft_s": 8.373,
          "total_s": 9.277,
          "prompt_tokens": 29,
          "reused_tokens": 0,
          "read_tokens": 29,
          "generated_tokens": 100,
          "prompt_tps": 158.3,
          "prompt_tps_source": "engine",
          "decode_tps": 111.3,
          "decode_tps_source": "engine",
          "prompt_ms": 183.2,
          "decode_ms": 898.5,
          "drafts_offered": 36,
          "drafts_accepted": 32,
          "run": 0,
          "prompt": 1
        },
        {
          "ok": true,
          "err": null,
          "ttft_s": 4.589,
          "total_s": 5.511,
          "prompt_tokens": 32,
          "reused_tokens": 0,
          "read_tokens": 32,
          "generated_tokens": 100,
          "prompt_tps": 136.6,
          "prompt_tps_source": "engine",
          "decode_tps": 109.1,
          "decode_tps_source": "engine",
          "prompt_ms": 234.2,
          "decode_ms": 916.8,
          "drafts_offered": 37,
          "drafts_accepted": 30,
          "run": 0,
          "prompt": 2
        },
        {
          "ok": true,
          "err": null,
          "ttft_s": 12.752,
          "total_s": 13.237,
          "prompt_tokens": 38,
          "reused_tokens": 0,
          "read_tokens": 38,
          "generated_tokens": 100,
          "prompt_tps": 162.9,
          "prompt_tps_source": "engine",
          "decode_tps": 208.2,
          "decode_tps_source": "engine",
          "prompt_ms": 233.3,
          "decode_ms": 480.2,
          "drafts_offered": 79,
          "drafts_accepted": 75,
          "run": 1,
          "prompt": 0
        },
        {
          "ok": true,
          "err": null,
          "ttft_s": 6.988,
          "total_s": 7.847,
          "prompt_tokens": 29,
          "reused_tokens": 0,
          "read_tokens": 29,
          "generated_tokens": 100,
          "prompt_tps": 156.8,
          "prompt_tps_source": "engine",
          "decode_tps": 117.2,
          "decode_tps_source": "engine",
          "prompt_ms": 185.0,
          "decode_ms": 853.0,
          "drafts_offered": 36,
          "drafts_accepted": 35,
          "run": 1,
          "prompt": 1
        },
        {
          "ok": true,
          "err": null,
          "ttft_s": 3.29,
          "total_s": 4.196,
          "prompt_tokens": 32,
          "reused_tokens": 0,
          "read_tokens": 32,
          "generated_tokens": 100,
          "prompt_tps": 136.7,
          "prompt_tps_source": "engine",
          "decode_tps": 111.0,
          "decode_tps_source": "engine",
          "prompt_ms": 234.1,
          "decode_ms": 900.9,
          "drafts_offered": 44,
          "drafts_accepted": 33,
          "run": 1,
          "prompt": 2
        },
        {
          "ok": true,
          "err": null,
          "ttft_s": 7.615,
          "total_s": 8.132,
          "prompt_tokens": 38,
          "reused_tokens": 0,
          "read_tokens": 38,
          "generated_tokens": 100,
          "prompt_tps": 162.2,
          "prompt_tps_source": "engine",
          "decode_tps": 193.6,
          "decode_tps_source": "engine",
          "prompt_ms": 234.3,
          "decode_ms": 516.4,
          "drafts_offered": 84,
          "drafts_accepted": 73,
          "run": 2,
          "prompt": 0
        },
        {
          "ok": true,
          "err": null,
          "ttft_s": 0.153,
          "total_s": 1.013,
          "prompt_tokens": 29,
          "reused_tokens": 0,
          "read_tokens": 29,
          "generated_tokens": 100,
          "prompt_tps": 191.0,
          "prompt_tps_source": "engine",
          "decode_tps": 116.4,
          "decode_tps_source": "engine",
          "prompt_ms": 151.8,
          "decode_ms": 858.9,
          "drafts_offered": 42,
          "drafts_accepted": 36,
          "run": 2,
          "prompt": 1
        },
        {
          "ok": true,
          "err": null,
          "ttft_s": 0.203,
          "total_s": 1.156,
          "prompt_tokens": 32,
          "reused_tokens": 0,
          "read_tokens": 32,
          "generated_tokens": 100,
          "prompt_tps": 158.6,
          "prompt_tps_source": "engine",
          "decode_tps": 105.6,
          "decode_tps_source": "engine",
          "prompt_ms": 201.8,
          "decode_ms": 947.2,
          "drafts_offered": 36,
          "drafts_accepted": 27,
          "run": 2,
          "prompt": 2
        }
      ],
      "decode_tps": {
        "median": 116.4,
        "min": 105.6,
        "max": 208.2,
        "n": 9
      },
      "ttft_s": {
        "median": 4.589,
        "min": 0.153,
        "max": 12.752,
        "n": 9
      },
      "generated_tokens": {
        "median": 100,
        "min": 100,
        "max": 100,
        "n": 9
      },
      "prompt_tokens": {
        "median": 32,
        "min": 29,
        "max": 38,
        "n": 9
      }
    },
    "prompts": {
      "4K": {
        "target_tokens": 4096,
        "requests": [
          {
            "ok": true,
            "err": null,
            "ttft_s": 11.412,
            "total_s": 11.65,
            "prompt_tokens": 4125,
            "reused_tokens": 0,
            "read_tokens": 4125,
            "generated_tokens": 24,
            "prompt_tps": 1357.5,
            "prompt_tps_source": "engine",
            "decode_tps": 103.2,
            "decode_tps_source": "engine",
            "prompt_ms": 3038.7,
            "decode_ms": 232.6,
            "drafts_offered": 7,
            "drafts_accepted": 7,
            "run": 0
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 6.37,
            "total_s": 6.623,
            "prompt_tokens": 4125,
            "reused_tokens": 0,
            "read_tokens": 4125,
            "generated_tokens": 24,
            "prompt_tps": 1396.5,
            "prompt_tps_source": "engine",
            "decode_tps": 96.7,
            "decode_tps_source": "engine",
            "prompt_ms": 2953.9,
            "decode_ms": 248.1,
            "drafts_offered": 11,
            "drafts_accepted": 7,
            "run": 1
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 5.147,
            "total_s": 5.38,
            "prompt_tokens": 4125,
            "reused_tokens": 0,
            "read_tokens": 4125,
            "generated_tokens": 24,
            "prompt_tps": 1395.3,
            "prompt_tps_source": "engine",
            "decode_tps": 103.4,
            "decode_tps_source": "engine",
            "prompt_ms": 2956.4,
            "decode_ms": 232.1,
            "drafts_offered": 7,
            "drafts_accepted": 7,
            "run": 2
          }
        ],
        "prompt_tps": {
          "median": 1395.3,
          "min": 1357.5,
          "max": 1396.5,
          "n": 3
        },
        "ttft_s": {
          "median": 6.37,
          "min": 5.147,
          "max": 11.412,
          "n": 3
        },
        "prompt_tokens": {
          "median": 4125,
          "min": 4125,
          "max": 4125,
          "n": 3
        },
        "reused_tokens": {
          "median": 0,
          "min": 0,
          "max": 0,
          "n": 3
        }
      },
      "16K": {
        "target_tokens": 16384,
        "requests": [
          {
            "ok": true,
            "err": null,
            "ttft_s": 7.953,
            "total_s": 8.197,
            "prompt_tokens": 16562,
            "reused_tokens": 0,
            "read_tokens": 16562,
            "generated_tokens": 24,
            "prompt_tps": 2087.4,
            "prompt_tps_source": "engine",
            "decode_tps": 98.3,
            "decode_tps_source": "engine",
            "prompt_ms": 7934.4,
            "decode_ms": 244.2,
            "drafts_offered": 10,
            "drafts_accepted": 7,
            "run": 0
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 36.903,
            "total_s": 37.142,
            "prompt_tokens": 16562,
            "reused_tokens": 0,
            "read_tokens": 16562,
            "generated_tokens": 24,
            "prompt_tps": 2058.6,
            "prompt_tps_source": "engine",
            "decode_tps": 102.3,
            "decode_tps_source": "engine",
            "prompt_ms": 8045.4,
            "decode_ms": 234.5,
            "drafts_offered": 7,
            "drafts_accepted": 7,
            "run": 1
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 8.574,
            "total_s": 8.823,
            "prompt_tokens": 16562,
            "reused_tokens": 0,
            "read_tokens": 16562,
            "generated_tokens": 24,
            "prompt_tps": 2083.6,
            "prompt_tps_source": "engine",
            "decode_tps": 98.5,
            "decode_tps_source": "engine",
            "prompt_ms": 7948.9,
            "decode_ms": 243.6,
            "drafts_offered": 10,
            "drafts_accepted": 7,
            "run": 2
          }
        ],
        "prompt_tps": {
          "median": 2083.6,
          "min": 2058.6,
          "max": 2087.4,
          "n": 3
        },
        "ttft_s": {
          "median": 8.574,
          "min": 7.953,
          "max": 36.903,
          "n": 3
        },
        "prompt_tokens": {
          "median": 16562,
          "min": 16562,
          "max": 16562,
          "n": 3
        },
        "reused_tokens": {
          "median": 0,
          "min": 0,
          "max": 0,
          "n": 3
        }
      },
      "32K": {
        "target_tokens": 32768,
        "requests": [
          {
            "ok": true,
            "err": null,
            "ttft_s": 14.44,
            "total_s": 14.684,
            "prompt_tokens": 33126,
            "reused_tokens": 0,
            "read_tokens": 33126,
            "generated_tokens": 24,
            "prompt_tps": 2300.3,
            "prompt_tps_source": "engine",
            "decode_tps": 98.2,
            "decode_tps_source": "engine",
            "prompt_ms": 14400.5,
            "decode_ms": 244.3,
            "drafts_offered": 10,
            "drafts_accepted": 7,
            "run": 0
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 14.467,
            "total_s": 14.702,
            "prompt_tokens": 33126,
            "reused_tokens": 0,
            "read_tokens": 33126,
            "generated_tokens": 24,
            "prompt_tps": 2295.6,
            "prompt_tps_source": "engine",
            "decode_tps": 102.3,
            "decode_tps_source": "engine",
            "prompt_ms": 14430.0,
            "decode_ms": 234.7,
            "drafts_offered": 7,
            "drafts_accepted": 7,
            "run": 1
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 14.445,
            "total_s": 14.695,
            "prompt_tokens": 33126,
            "reused_tokens": 0,
            "read_tokens": 33126,
            "generated_tokens": 24,
            "prompt_tps": 2299.1,
            "prompt_tps_source": "engine",
            "decode_tps": 96.3,
            "decode_tps_source": "engine",
            "prompt_ms": 14408.5,
            "decode_ms": 249.2,
            "drafts_offered": 12,
            "drafts_accepted": 7,
            "run": 2
          }
        ],
        "prompt_tps": {
          "median": 2299.1,
          "min": 2295.6,
          "max": 2300.3,
          "n": 3
        },
        "ttft_s": {
          "median": 14.445,
          "min": 14.44,
          "max": 14.467,
          "n": 3
        },
        "prompt_tokens": {
          "median": 33126,
          "min": 33126,
          "max": 33126,
          "n": 3
        },
        "reused_tokens": {
          "median": 0,
          "min": 0,
          "max": 0,
          "n": 3
        }
      }
    },
    "agent": {
      "sessions": [
        [
          {
            "ok": true,
            "err": null,
            "ttft_s": 2.589,
            "total_s": 2.735,
            "prompt_tokens": 602,
            "reused_tokens": 0,
            "read_tokens": 602,
            "generated_tokens": 23,
            "prompt_tps": 675.3,
            "prompt_tps_source": "engine",
            "decode_tps": 157.3,
            "decode_tps_source": "engine",
            "prompt_ms": 891.4,
            "decode_ms": 146.2,
            "drafts_offered": 20,
            "drafts_accepted": 16,
            "run": 0,
            "turn": 0
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 3.221,
            "total_s": 3.808,
            "prompt_tokens": 4790,
            "reused_tokens": 625,
            "read_tokens": 4165,
            "generated_tokens": 64,
            "prompt_tps": 1297.8,
            "prompt_tps_source": "engine",
            "decode_tps": 109.1,
            "decode_tps_source": "engine",
            "prompt_ms": 3209.4,
            "decode_ms": 586.4,
            "drafts_offered": 30,
            "drafts_accepted": 25,
            "run": 0,
            "turn": 1
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 1.329,
            "total_s": 1.935,
            "prompt_tokens": 6308,
            "reused_tokens": 4853,
            "read_tokens": 1455,
            "generated_tokens": 64,
            "prompt_tps": 1106.5,
            "prompt_tps_source": "engine",
            "decode_tps": 105.5,
            "decode_tps_source": "engine",
            "prompt_ms": 1315.0,
            "decode_ms": 606.4,
            "drafts_offered": 36,
            "drafts_accepted": 25,
            "run": 0,
            "turn": 2
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 2.471,
            "total_s": 3.019,
            "prompt_tokens": 9433,
            "reused_tokens": 6371,
            "read_tokens": 3062,
            "generated_tokens": 57,
            "prompt_tps": 1246.8,
            "prompt_tps_source": "engine",
            "decode_tps": 104.0,
            "decode_tps_source": "engine",
            "prompt_ms": 2455.8,
            "decode_ms": 547.9,
            "drafts_offered": 33,
            "drafts_accepted": 23,
            "run": 0,
            "turn": 3
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 2.223,
            "total_s": 2.653,
            "prompt_tokens": 12145,
            "reused_tokens": 9490,
            "read_tokens": 2655,
            "generated_tokens": 56,
            "prompt_tps": 1203.8,
            "prompt_tps_source": "engine",
            "decode_tps": 130.1,
            "decode_tps_source": "engine",
            "prompt_ms": 2205.6,
            "decode_ms": 430.3,
            "drafts_offered": 40,
            "drafts_accepted": 32,
            "run": 0,
            "turn": 4
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 2.226,
            "total_s": 2.75,
            "prompt_tokens": 14806,
            "reused_tokens": 12201,
            "read_tokens": 2605,
            "generated_tokens": 56,
            "prompt_tps": 1181.0,
            "prompt_tps_source": "engine",
            "decode_tps": 106.9,
            "decode_tps_source": "engine",
            "prompt_ms": 2205.8,
            "decode_ms": 524.0,
            "drafts_offered": 25,
            "drafts_accepted": 22,
            "run": 0,
            "turn": 5
          }
        ],
        [
          {
            "ok": true,
            "err": null,
            "ttft_s": 0.866,
            "total_s": 1.016,
            "prompt_tokens": 602,
            "reused_tokens": 0,
            "read_tokens": 602,
            "generated_tokens": 23,
            "prompt_tps": 698.5,
            "prompt_tps_source": "engine",
            "decode_tps": 153.3,
            "decode_tps_source": "engine",
            "prompt_ms": 861.8,
            "decode_ms": 150.0,
            "drafts_offered": 17,
            "drafts_accepted": 15,
            "run": 1,
            "turn": 0
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 3.167,
            "total_s": 3.758,
            "prompt_tokens": 4790,
            "reused_tokens": 625,
            "read_tokens": 4165,
            "generated_tokens": 64,
            "prompt_tps": 1319.6,
            "prompt_tps_source": "engine",
            "decode_tps": 108.3,
            "decode_tps_source": "engine",
            "prompt_ms": 3156.3,
            "decode_ms": 590.9,
            "drafts_offered": 23,
            "drafts_accepted": 23,
            "run": 1,
            "turn": 1
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 1.317,
            "total_s": 1.916,
            "prompt_tokens": 6308,
            "reused_tokens": 4853,
            "read_tokens": 1455,
            "generated_tokens": 63,
            "prompt_tps": 1115.5,
            "prompt_tps_source": "engine",
            "decode_tps": 105.2,
            "decode_tps_source": "engine",
            "prompt_ms": 1304.4,
            "decode_ms": 598.8,
            "drafts_offered": 33,
            "drafts_accepted": 25,
            "run": 1,
            "turn": 2
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 2.378,
            "total_s": 2.918,
            "prompt_tokens": 9431,
            "reused_tokens": 6371,
            "read_tokens": 3060,
            "generated_tokens": 59,
            "prompt_tps": 1294.5,
            "prompt_tps_source": "engine",
            "decode_tps": 109.3,
            "decode_tps_source": "engine",
            "prompt_ms": 2363.9,
            "decode_ms": 539.6,
            "drafts_offered": 30,
            "drafts_accepted": 25,
            "run": 1,
            "turn": 3
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 2.172,
            "total_s": 2.642,
            "prompt_tokens": 12145,
            "reused_tokens": 9490,
            "read_tokens": 2655,
            "generated_tokens": 64,
            "prompt_tps": 1231.8,
            "prompt_tps_source": "engine",
            "decode_tps": 136.3,
            "decode_tps_source": "engine",
            "prompt_ms": 2155.3,
            "decode_ms": 469.4,
            "drafts_offered": 35,
            "drafts_accepted": 35,
            "run": 1,
            "turn": 4
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 2.172,
            "total_s": 2.659,
            "prompt_tokens": 14815,
            "reused_tokens": 12208,
            "read_tokens": 2607,
            "generated_tokens": 55,
            "prompt_tps": 1209.5,
            "prompt_tps_source": "engine",
            "decode_tps": 113.1,
            "decode_tps_source": "engine",
            "prompt_ms": 2155.4,
            "decode_ms": 486.1,
            "drafts_offered": 26,
            "drafts_accepted": 24,
            "run": 1,
            "turn": 5
          }
        ],
        [
          {
            "ok": true,
            "err": null,
            "ttft_s": 0.885,
            "total_s": 1.177,
            "prompt_tokens": 602,
            "reused_tokens": 0,
            "read_tokens": 602,
            "generated_tokens": 38,
            "prompt_tps": 683.7,
            "prompt_tps_source": "engine",
            "decode_tps": 130.0,
            "decode_tps_source": "engine",
            "prompt_ms": 880.5,
            "decode_ms": 292.2,
            "drafts_offered": 35,
            "drafts_accepted": 23,
            "run": 2,
            "turn": 0
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 3.167,
            "total_s": 3.657,
            "prompt_tokens": 4805,
            "reused_tokens": 640,
            "read_tokens": 4165,
            "generated_tokens": 64,
            "prompt_tps": 1319.5,
            "prompt_tps_source": "engine",
            "decode_tps": 130.7,
            "decode_tps_source": "engine",
            "prompt_ms": 3156.5,
            "decode_ms": 489.6,
            "drafts_offered": 34,
            "drafts_accepted": 33,
            "run": 2,
            "turn": 1
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 1.317,
            "total_s": 1.832,
            "prompt_tokens": 6323,
            "reused_tokens": 4868,
            "read_tokens": 1455,
            "generated_tokens": 64,
            "prompt_tps": 1115.4,
            "prompt_tps_source": "engine",
            "decode_tps": 124.2,
            "decode_tps_source": "engine",
            "prompt_ms": 1304.5,
            "decode_ms": 515.5,
            "drafts_offered": 37,
            "drafts_accepted": 32,
            "run": 2,
            "turn": 2
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 2.379,
            "total_s": 2.877,
            "prompt_tokens": 9448,
            "reused_tokens": 6386,
            "read_tokens": 3062,
            "generated_tokens": 49,
            "prompt_tps": 1294.2,
            "prompt_tps_source": "engine",
            "decode_tps": 98.5,
            "decode_tps_source": "engine",
            "prompt_ms": 2365.9,
            "decode_ms": 497.6,
            "drafts_offered": 21,
            "drafts_accepted": 16,
            "run": 2,
            "turn": 3
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 2.17,
            "total_s": 2.584,
            "prompt_tokens": 12152,
            "reused_tokens": 9497,
            "read_tokens": 2655,
            "generated_tokens": 48,
            "prompt_tps": 1231.8,
            "prompt_tps_source": "engine",
            "decode_tps": 116.1,
            "decode_tps_source": "engine",
            "prompt_ms": 2155.3,
            "decode_ms": 413.4,
            "drafts_offered": 39,
            "drafts_accepted": 25,
            "run": 2,
            "turn": 4
          },
          {
            "ok": true,
            "err": null,
            "ttft_s": 2.172,
            "total_s": 2.611,
            "prompt_tokens": 14805,
            "reused_tokens": 12200,
            "read_tokens": 2605,
            "generated_tokens": 43,
            "prompt_tps": 1208.6,
            "prompt_tps_source": "engine",
            "decode_tps": 97.9,
            "decode_tps_source": "engine",
            "prompt_ms": 2155.3,
            "decode_ms": 439.0,
            "drafts_offered": 14,
            "drafts_accepted": 13,
            "run": 2,
            "turn": 5
          }
        ]
      ],
      "hit_pct": {
        "median": 70.642,
        "min": 70.637,
        "max": 70.669,
        "n": 3
      },
      "reread_tokens": {
        "median": 2,
        "min": 2,
        "max": 2,
        "n": 3
      },
      "new_tokens": {
        "median": 13940,
        "min": 13940,
        "max": 13940,
        "n": 3
      },
      "turn_ttft_s": {
        "median": 2.223,
        "min": 1.317,
        "max": 3.221,
        "n": 15
      },
      "last_turn_prompt_tokens": {
        "median": 14806,
        "min": 14805,
        "max": 14815,
        "n": 3
      },
      "turn_decode_tps": {
        "median": 109.1,
        "min": 97.9,
        "max": 136.3,
        "n": 15
      },
      "first_turn_ttft_s": {
        "median": 0.885,
        "min": 0.866,
        "max": 2.589,
        "n": 3
      }
    },
    "clients": {},
    "skipped": {},
    "failures": []
  }
}

Large-context decode rerun — current 19/21 split

This fills the remaining gap: 131k, 256k, and 324k input contexts measured with DS4_SPLIT=19,21, not the historical automatic split. Configuration is unchanged from the community run above: 2× RTX PRO 6000 Blackwell, Threadripper PRO 9965WX, 256 GB DDR5-5600, 325,000 served context, 24 CPU workers, DSpark auto/confidence 0.65, all routed experts in VRAM, warm RAM-cached Engram. Same terminal/engine build 0.1.49.2 and benchmark helper source 7dd5cf18e68c639a8773e096c5c79f971ea2a9f5.

Method and limits

This is a custom larger-context supplement using upstream strata_bench.chat and digest unchanged, not the stock community suite or Qwen standard protocol. The deterministic record corpus/task matches the earlier supplement; the leading request tag is changed to avoid reusing historical cached prefixes. This produces input lengths one token shorter than the old run. Thinking off, temperature zero, output cap 512.

Three requests at each length: first fresh (verified zero cached tokens), then two exact repeats. The prompt asks for a marker in the middle plus a detailed engineering design. Every response generated 512 tokens and recovered the marker: 9/9 successful requests, 9/9 marker checks, no failures or skipped requests. A capped output and one marker do not establish general answer quality.

These are engine prompt/decode timings; full client TTFT/latency and draft acceptance are in the raw results. Other clients could still use the single-request server, so client latency may include queueing. Weights/Engram were warm; loading is excluded. Repeats measure warm prefix reuse, not independent fresh-prefill trials.

Current results

Actual input tokens Runs × output tokens Decode tok/s median (range) Fresh prefill seconds Fresh prefill tok/s Cached tokens on repeats
131,077 3 × 512 106.7 (106.4–115.2) 53.35 2456.7 131,076; 131,076
256,004 3 × 512 98.5 (98.3–99.6) 105.31 2430.9 256,003; 256,003
324,004 3 × 512 113.3 (113.0–119.3) 134.70 2405.4 324,003; 324,003

Historical comparison

Target context Old automatic decode median Current 19/21 decode median Old fresh prefill seconds Current fresh prefill seconds
131,072 121.7 106.7 61.72 53.35
256,000 105.0 98.5 122.28 105.31
324,000 103.5 113.3 156.15 134.70

The fresh-prefill measurements improved at all three sizes. Decode results are mixed: lower at 131k and 256k, higher at 324k. Do not infer a causal split-only decode change: runs were sequential, request tags differ, and output/draft acceptance differ. Both gains and regressions are retained.

Reproduction

Deterministic synthetic prompt generator
import sys,json,random
from pathlib import Path
sys.path.insert(0,'/opt/strata/terminal/tools/dsv41')
from smoke import tokenizer
t=tokenizer(Path('/data/Strata-data/packs/deepseek-v4.1-flash-ist-das-2.25bpw'))
r=random.Random(41325)
lines=[]
for i in range(26000):
 lines.append(f'Record {i}: station {r.randrange(100,999)} measured {r.randrange(10,99)} units at interval {r.randrange(1000,9999)}; status normal.\n')
ids=t.encode(''.join(lines))
for n in [4096,32768,131072,256000,324000]:
 key=f'cedar-{n}-violet'
 half=(n-120)//2
 text=f'Benchmark {n}. Read these records and remember the single secret marker.\n'+t.decode(ids[:half])+f'\nSECRET MARKER: {key}\n'+t.decode(ids[half:2*half])+f'\nWhat is the secret marker? State it exactly, then explain briefly where it appeared. Do not summarize the records.'
 Path(f'/tmp/prompt-{n}.json').write_text(json.dumps({'text':text,'raw_tokens':len(t.encode(text)),'needle':key}))
 print(n,len(t.encode(text)),flush=True)

Use the deterministic prompt generator included below, copying its generated JSON files to /tmp/strata-benchmark-prompts/. Run the updated script below from the local stack (the upstream checkout is strata-inference/). The credential is read from local .env, never printed.

STRATA_BENCH_TAG=balanced-19-21-long-v1 python3 strata/community-benchmark-2026-10-24/long-decode.py 131072 256000 324000
Supplemental runner (tag/length options added; upstream chat/digest unchanged)
"""Supplement using upstream strata_bench.chat/digest, not the standard suite.
Run from ~/llm; requires benchmark-prompts.py's /tmp/strata-benchmark-prompts files.
Three requests per length: fresh first request, then the identical prompt twice
(to measure warm prefix reuse). Output cap 512, thinking off, temperature zero.
"""
import json
import os
import sys
from pathlib import Path

root = Path(__file__).resolve().parents[2]
sys.path.insert(0, str(root / 'strata-inference/tools'))
from strata_bench import chat, digest

key = next(l.partition('=')[2].strip().strip('\"\'') for l in
           (root / '.env').read_text().splitlines() if l.startswith('LITELLM_MASTER_KEY='))
tag = os.environ.get("STRATA_BENCH_TAG", "long-decode-supplement-20261024")
lengths = [int(x) for x in sys.argv[1:]] or [32768, 131072, 256000, 324000]
for n in lengths:
    data = json.loads(Path(f'/tmp/strata-benchmark-prompts/prompt-{n}.json').read_text())
    prompt = data['text'].rsplit('\nWhat is the secret marker?', 1)[0]
    prompt = f'[{tag}-{n}]\n' + prompt + '''
First state the secret marker exactly. Then write a detailed technical design
for a reliable service ingesting these station records. Cover data validation,
ordering, deduplication, durable storage, indexing, aggregation, monitoring,
crash recovery, and test cases. Include Python pseudocode and explain tradeoffs.
Aim for at least 1000 words; do not stop after stating the marker.'''
    for repeat in range(3):
        print(json.dumps({'event': 'start', 'target_tokens': n, 'repeat': repeat+1}), flush=True)
        response = chat('http://127.0.0.1:8001', key,
                        [{'role': 'user', 'content': prompt}], 512, False)
        row = digest(response)
        row.update(event='result', target_tokens=n, repeat=repeat+1,
                   needle_found=data['needle'] in response.get('text',''))
        print(json.dumps(row), flush=True)

All nine current-configuration request measurements
[
  {
    "ok": true,
    "err": null,
    "ttft_s": 53.532,
    "total_s": 57.976,
    "prompt_tokens": 131077,
    "reused_tokens": 0,
    "read_tokens": 131077,
    "generated_tokens": 512,
    "prompt_tps": 2456.7,
    "prompt_tps_source": "engine",
    "decode_tps": 115.2,
    "decode_tps_source": "engine",
    "prompt_ms": 53354.9,
    "decode_ms": 4444.0,
    "drafts_offered": 296,
    "drafts_accepted": 251,
    "event": "result",
    "target_tokens": 131072,
    "repeat": 1,
    "needle_found": true
  },
  {
    "ok": true,
    "err": null,
    "ttft_s": 0.21,
    "total_s": 5.024,
    "prompt_tokens": 131077,
    "reused_tokens": 131076,
    "read_tokens": 1,
    "generated_tokens": 512,
    "prompt_tps": 21.1,
    "prompt_tps_source": "engine",
    "decode_tps": 106.4,
    "decode_tps_source": "engine",
    "prompt_ms": 47.3,
    "decode_ms": 4813.8,
    "drafts_offered": 244,
    "drafts_accepted": 212,
    "event": "result",
    "target_tokens": 131072,
    "repeat": 2,
    "needle_found": true
  },
  {
    "ok": true,
    "err": null,
    "ttft_s": 0.204,
    "total_s": 5.004,
    "prompt_tokens": 131077,
    "reused_tokens": 131076,
    "read_tokens": 1,
    "generated_tokens": 512,
    "prompt_tps": 21.2,
    "prompt_tps_source": "engine",
    "decode_tps": 106.7,
    "decode_tps_source": "engine",
    "prompt_ms": 47.2,
    "decode_ms": 4799.4,
    "drafts_offered": 244,
    "drafts_accepted": 212,
    "event": "result",
    "target_tokens": 131072,
    "repeat": 3,
    "needle_found": true
  },
  {
    "ok": true,
    "err": null,
    "ttft_s": 105.63,
    "total_s": 110.771,
    "prompt_tokens": 256004,
    "reused_tokens": 0,
    "read_tokens": 256004,
    "generated_tokens": 512,
    "prompt_tps": 2430.9,
    "prompt_tps_source": "engine",
    "decode_tps": 99.6,
    "decode_tps_source": "engine",
    "prompt_ms": 105310.4,
    "decode_ms": 5141.7,
    "drafts_offered": 252,
    "drafts_accepted": 201,
    "event": "result",
    "target_tokens": 256000,
    "repeat": 1,
    "needle_found": true
  },
  {
    "ok": true,
    "err": null,
    "ttft_s": 0.398,
    "total_s": 5.609,
    "prompt_tokens": 256004,
    "reused_tokens": 256003,
    "read_tokens": 1,
    "generated_tokens": 512,
    "prompt_tps": 13.5,
    "prompt_tps_source": "engine",
    "decode_tps": 98.3,
    "decode_tps_source": "engine",
    "prompt_ms": 74.1,
    "decode_ms": 5210.8,
    "drafts_offered": 227,
    "drafts_accepted": 190,
    "event": "result",
    "target_tokens": 256000,
    "repeat": 2,
    "needle_found": true
  },
  {
    "ok": true,
    "err": null,
    "ttft_s": 0.373,
    "total_s": 5.573,
    "prompt_tokens": 256004,
    "reused_tokens": 256003,
    "read_tokens": 1,
    "generated_tokens": 512,
    "prompt_tps": 14.3,
    "prompt_tps_source": "engine",
    "decode_tps": 98.5,
    "decode_tps_source": "engine",
    "prompt_ms": 70.0,
    "decode_ms": 5199.2,
    "drafts_offered": 227,
    "drafts_accepted": 190,
    "event": "result",
    "target_tokens": 256000,
    "repeat": 3,
    "needle_found": true
  },
  {
    "ok": true,
    "err": null,
    "ttft_s": 135.067,
    "total_s": 139.361,
    "prompt_tokens": 324004,
    "reused_tokens": 0,
    "read_tokens": 324004,
    "generated_tokens": 512,
    "prompt_tps": 2405.4,
    "prompt_tps_source": "engine",
    "decode_tps": 119.3,
    "decode_tps_source": "engine",
    "prompt_ms": 134700.8,
    "decode_ms": 4293.5,
    "drafts_offered": 316,
    "drafts_accepted": 278,
    "event": "result",
    "target_tokens": 324000,
    "repeat": 1,
    "needle_found": true
  },
  {
    "ok": true,
    "err": null,
    "ttft_s": 0.485,
    "total_s": 5.016,
    "prompt_tokens": 324004,
    "reused_tokens": 324003,
    "read_tokens": 1,
    "generated_tokens": 512,
    "prompt_tps": 10.1,
    "prompt_tps_source": "engine",
    "decode_tps": 113.0,
    "decode_tps_source": "engine",
    "prompt_ms": 99.1,
    "decode_ms": 4531.2,
    "drafts_offered": 315,
    "drafts_accepted": 261,
    "event": "result",
    "target_tokens": 324000,
    "repeat": 2,
    "needle_found": true
  },
  {
    "ok": true,
    "err": null,
    "ttft_s": 0.467,
    "total_s": 4.988,
    "prompt_tokens": 324004,
    "reused_tokens": 324003,
    "read_tokens": 1,
    "generated_tokens": 512,
    "prompt_tps": 9.7,
    "prompt_tps_source": "engine",
    "decode_tps": 113.3,
    "decode_tps_source": "engine",
    "prompt_ms": 102.7,
    "decode_ms": 4520.8,
    "drafts_offered": 315,
    "drafts_accepted": 261,
    "event": "result",
    "target_tokens": 324000,
    "repeat": 3,
    "needle_found": true
  }
]

Reproduction status

Measured locally

Originally created by @theogravity on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4042 ### What did you measure, or what went wrong Measured DeepSeek V4.1 Flash IST-DAS 2.25-bit (IQ2_XS) locally on 2026-10-24 using Strata Terminal 0.2.4.2 / engine 0.1.49.2, two RTX PRO 6000 Blackwell GPUs, a Threadripper PRO 9965WX, and 256 GB DDR5-5600 RAM. The unmodified community suite completed 36 requests without failures; a separate nine-request supplement measured decode at 131k, 256k, and 324k input tokens. The report below includes the exact configuration and commands, individual measurements, gains and regressions, and measurement limitations. # Community benchmark — current `DS4_SPLIT=19,21` configuration Measured locally on 2026-10-24, same machine/model/released engine and the **same unmodified upstream community speed suite** as the original report. **36 measured requests, zero failures, zero skips**, 235.5 seconds suite wall time excluding loading. This is not the Qwen standard protocol. The larger-context supplement below also measures this **current 19/21 configuration**. ### Configuration and provenance - Inference: **2× RTX PRO 6000 Blackwell Workstation Edition**, 97,887 MiB each, host GPUs 1/2 (container 0/1), PCIe Gen 5 ×16. RTX 5080 on host GPU 0 remains desktop/Winnow only. - Threadripper PRO 9965WX, 24 cores / 48 threads; **256 GB DDR5-5600 installed**, 246.8 GiB OS-visible; NVMe storage. - Ubuntu 26.04.1 host, kernel 7.0.0-38-generic, driver 610.57.04; Ubuntu 24.04 container, CUDA 13 engine package. - Terminal 0.2.4.2 / build 0.1.49.2, terminal commit `dfa3f4025c9f1bc4af8cee201b20a2d223061813`; released DeepSeek engine 0.1.49.2 build `d2d198a49`. Benchmark checkout [`7dd5cf18e68c639a8773e096c5c79f971ea2a9f5`](https://github.com/Niko1221/Strata/blob/7dd5cf18e68c639a8773e096c5c79f971ea2a9f5/tools/strata_bench.py). - Model: `ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-GGUF` revision `cb02422c900df489cea5833e8a92171224059b3c`, four IQ2_XS shards and IQ4_NL Engram; shared DSpark/metadata from Unsloth revision `f924b94f19c1fea02c06a65c8475b0a45e2b88b1`, filenames: `DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XS-00001-of-00004.gguf` through `00004-of-00004.gguf`, `DeepSeek-V4.1-Flash-Engram-IQ4_NL.gguf`, `dspark-DeepSeek-V4.1-Flash-1017-Q8_0.gguf`, and the small `DeepSeek-V4.1-Flash-1017-UD-Q8_K_XL-00001-of-00009.gguf` metadata shard. - **Change: `DS4_SPLIT=19,21`**, versus automatic layer placement previously. 19 trunk layers plus drafter on first GPU, 21 trunk layers plus head on second. The engine still falls back from requested TP2 to whole-layer placement for this checkpoint's block geometry. - Current placement: 76.81 / 79.86 GB of expert weights, 3.31 GB dense weights per card, **zero CPU-offloaded experts**. Previously 94 experts (~0.9 GB) remained on CPU despite free VRAM on the first card. - Unchanged: context 325,000, FP4 KV per API metadata, 24 CPU workers, DSpark auto/confidence 0.65, one request at a time, text only. Full 110.6 GB Engram warmed in reclaimable Linux page cache; weights/cache already warm. No engine reset immediately before this suite. - Background: desktop/Winnow on separate GPU 0, LiteLLM/host services, and **other inference clients remained permitted**. Concurrent queued work visibly affects client TTFT. Do not attribute wall-latency differences solely to the split. - Telemetry sampled every 5 seconds during part of the run (46 samples, not a guaranteed peak): host GPU 1: 79770–79770 MiB observed VRAM, 600 W power limit; host GPU 2: 82480–82480 MiB observed VRAM, 600 W power limit. Available RAM 222.3–222.8 GiB, including reclaimable cache. No OOM/request failures. Effective engine environment/command (credentials omitted): ```sh DS4_SPLIT=19,21 strata-dsv41 --serve --pack PACK --max-context 325000 --eos 1 \ --dspark auto --dspark-conf 0.65 --tp 2 --cpu-threads 24 --layer-split auto ``` The named environment variable controls actual layer counts; the generic `--layer-split auto` argument is ignored by this DeepSeek engine. Exact benchmark command, with `STRATA_KEY` supplied through the environment: ```sh python3 tools/strata_bench.py --url http://127.0.0.1:8001 --runs 3 --long --out /tmp/strata-community-balanced ``` ### Comparison with original community run | Metric (median) | Original automatic split | Current 19/21 split | Change | | --- | ---: | ---: | ---: | | Chat decode tok/s | 113.4 | 116.4 | +2.6% | | 4K fresh prompt tok/s | 1,369.1 | 1,395.3 | +1.9% | | 16K fresh prompt tok/s | 1,906.9 | 2,083.6 | +9.3% | | 32K fresh prompt tok/s | 2,044.5 | 2,299.1 | +12.5% | | Agent follow-up decode tok/s | 116.6 | 109.1 | -6.4% | These are sequential, non-isolated runs, not a randomized controlled experiment. Generated text and DSpark acceptance can differ. The table includes the **agent decode regression**, not only improvements. Chat: 100-token caps; fresh-prompt decode: only 24-token outputs; agent turns: up to 64 tokens. No claim of sustained-output performance follows from these short windows. ## Method Run by `python tools/strata_bench.py --long` against the HTTP API of a Strata server (already running); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests. - short chat: the three questions of `tools/ab_engine.py`, up to 100 new tokens, 3 runs - 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each - agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (`cached_tokens`) and timings (`prompt_n`) - concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests ## Results | 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 | | --- | ---: | ---: | ---: | ---: | --- | --- | --- | | short chat | 32 (29-38) | 0 | 100 (100-100) | 9 | not measured | 116.4 (105.6-208.2) | 4.59 (0.15-12.75) | | 4K prompt, fresh | 4125 (4125-4125) | 0 (0-0) | 24 cap | 3 | 1395.3 (1357.5-1396.5) | 103.2 (96.7-103.4) | 6.37 (5.15-11.41) | | 16K prompt, fresh | 16562 (16562-16562) | 0 (0-0) | 24 cap | 3 | 2083.6 (2058.6-2087.4) | 98.5 (98.3-102.3) | 8.57 (7.95-36.90) | | 32K prompt, fresh | 33126 (33126-33126) | 0 (0-0) | 24 cap | 3 | 2299.1 (2295.6-2300.3) | 98.2 (96.3-102.3) | 14.45 (14.44-14.47) | | agent session, follow-up turns | 14806 (14805-14815) at the last turn | see below | up to 64 | 3 | see below | 109.1 (97.9-136.3) | 2.22 (1.32-3.22) | Ranges are the lowest and highest of the runs; `Runs` counts requests that returned a token. ### Agent session (conversation cache) Cache hit over the follow-up turns: 70.6 % (70.6-70.7); earlier-turn tokens read again per session: 2 (2-2) (earlier turns that the cache did not hold; the 13940 (13940-13940) new tokens of the files are read once); first turn (nothing cached) first token: 0.89 s (0.87-2.59). | Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | | ---: | ---: | ---: | ---: | ---: | ---: | ---: | | 0 | 602 | 0 | 602 | 675.3 | 2.589 | 157.3 | | 1 | 4790 | 625 | 4165 | 1297.8 | 3.221 | 109.1 | | 2 | 6308 | 4853 | 1455 | 1106.5 | 1.329 | 105.5 | | 3 | 9433 | 6371 | 3062 | 1246.8 | 2.471 | 104.0 | | 4 | 12145 | 9490 | 2655 | 1203.8 | 2.223 | 130.1 | | 5 | 14806 | 12201 | 2605 | 1181.0 | 2.226 | 106.9 | The 4K/16K/32K decode cells above were filled from upstream per-request engine timings; its Markdown renderer omits them. All corresponding raw fields appear below. This run's largest fresh prompt is **33,126 tokens** despite 325k configured context. The separate 512-token-output supplement below extends testing through 324,004 input tokens. ### Metadata corrections and limitations The collector again identifies the host's first GPU (RTX 5080), not the actual container inference GPUs. Original raw JSON is preserved unchanged; use the verified GPU list above. `ds4-0.1` is the API's generic engine label, `quant: null` is missing autodetection, and `drafting: off` conflicts with measured DSpark acceptance. These are collector/API metadata limitations. The engine throughput, usage, and cache counters are preserved as measured. No correctness checks were run by this speed suite. <details> <summary>Complete upstream results.json — 19/21 split, all 36 requests</summary> ```json { "schema": 1, "tool": "tools/strata_bench.py", "date": "2026-10-24", "params": { "runs": 3, "think": false, "clients": 0, "long": true, "started_server": false, "command": "python tools/strata_bench.py --long" }, "elapsed_s": 235.51912999153137, "machine": { "gpu": [ "NVIDIA GeForce RTX 5080" ], "gpu_vram_mib": 16303, "gpu_driver": "610.57.04", "cuda": null, "cpu": "AMD Ryzen Threadripper PRO 9965WX 24-Cores", "cpu_cores": 24, "cpu_threads": 48, "ram_gib": 246.8, "os": "Linux 7.0.0-38-generic", "python": "3.14.7", "strata_version": "0.1.49.2", "strata_commit": "7dd5cf18", "engine_version": "ds4-0.1", "model": "deepseek-v4.1-flash", "quant": null, "context": 325000, "parallel_slots": 1, "config": {}, "launch": null, "engine_info": { "model": "deepseek-v4.1-flash", "max_context": 325000, "images": false, "version": "ds4-0.1", "context": 325000, "kv": "fp4", "kv_resident": 325000, "expert_slots": 15360, "engine_kind": "ds4", "cpu_experts": 0, "ram_experts": 0, "engine": "ds4-0.1", "engram_layers": 2, "engram_lookups": 48, "drafting": "off", "drafting_note": "" }, "vram_after": { "elastic": false } }, "results": { "chat": { "requests": [ { "ok": true, "err": null, "ttft_s": 2.453, "total_s": 2.952, "prompt_tokens": 38, "reused_tokens": 0, "read_tokens": 38, "generated_tokens": 100, "prompt_tps": 163.7, "prompt_tps_source": "engine", "decode_tps": 202.8, "decode_tps_source": "engine", "prompt_ms": 232.1, "decode_ms": 493.2, "drafts_offered": 84, "drafts_accepted": 75, "run": 0, "prompt": 0 }, { "ok": true, "err": null, "ttft_s": 8.373, "total_s": 9.277, "prompt_tokens": 29, "reused_tokens": 0, "read_tokens": 29, "generated_tokens": 100, "prompt_tps": 158.3, "prompt_tps_source": "engine", "decode_tps": 111.3, "decode_tps_source": "engine", "prompt_ms": 183.2, "decode_ms": 898.5, "drafts_offered": 36, "drafts_accepted": 32, "run": 0, "prompt": 1 }, { "ok": true, "err": null, "ttft_s": 4.589, "total_s": 5.511, "prompt_tokens": 32, "reused_tokens": 0, "read_tokens": 32, "generated_tokens": 100, "prompt_tps": 136.6, "prompt_tps_source": "engine", "decode_tps": 109.1, "decode_tps_source": "engine", "prompt_ms": 234.2, "decode_ms": 916.8, "drafts_offered": 37, "drafts_accepted": 30, "run": 0, "prompt": 2 }, { "ok": true, "err": null, "ttft_s": 12.752, "total_s": 13.237, "prompt_tokens": 38, "reused_tokens": 0, "read_tokens": 38, "generated_tokens": 100, "prompt_tps": 162.9, "prompt_tps_source": "engine", "decode_tps": 208.2, "decode_tps_source": "engine", "prompt_ms": 233.3, "decode_ms": 480.2, "drafts_offered": 79, "drafts_accepted": 75, "run": 1, "prompt": 0 }, { "ok": true, "err": null, "ttft_s": 6.988, "total_s": 7.847, "prompt_tokens": 29, "reused_tokens": 0, "read_tokens": 29, "generated_tokens": 100, "prompt_tps": 156.8, "prompt_tps_source": "engine", "decode_tps": 117.2, "decode_tps_source": "engine", "prompt_ms": 185.0, "decode_ms": 853.0, "drafts_offered": 36, "drafts_accepted": 35, "run": 1, "prompt": 1 }, { "ok": true, "err": null, "ttft_s": 3.29, "total_s": 4.196, "prompt_tokens": 32, "reused_tokens": 0, "read_tokens": 32, "generated_tokens": 100, "prompt_tps": 136.7, "prompt_tps_source": "engine", "decode_tps": 111.0, "decode_tps_source": "engine", "prompt_ms": 234.1, "decode_ms": 900.9, "drafts_offered": 44, "drafts_accepted": 33, "run": 1, "prompt": 2 }, { "ok": true, "err": null, "ttft_s": 7.615, "total_s": 8.132, "prompt_tokens": 38, "reused_tokens": 0, "read_tokens": 38, "generated_tokens": 100, "prompt_tps": 162.2, "prompt_tps_source": "engine", "decode_tps": 193.6, "decode_tps_source": "engine", "prompt_ms": 234.3, "decode_ms": 516.4, "drafts_offered": 84, "drafts_accepted": 73, "run": 2, "prompt": 0 }, { "ok": true, "err": null, "ttft_s": 0.153, "total_s": 1.013, "prompt_tokens": 29, "reused_tokens": 0, "read_tokens": 29, "generated_tokens": 100, "prompt_tps": 191.0, "prompt_tps_source": "engine", "decode_tps": 116.4, "decode_tps_source": "engine", "prompt_ms": 151.8, "decode_ms": 858.9, "drafts_offered": 42, "drafts_accepted": 36, "run": 2, "prompt": 1 }, { "ok": true, "err": null, "ttft_s": 0.203, "total_s": 1.156, "prompt_tokens": 32, "reused_tokens": 0, "read_tokens": 32, "generated_tokens": 100, "prompt_tps": 158.6, "prompt_tps_source": "engine", "decode_tps": 105.6, "decode_tps_source": "engine", "prompt_ms": 201.8, "decode_ms": 947.2, "drafts_offered": 36, "drafts_accepted": 27, "run": 2, "prompt": 2 } ], "decode_tps": { "median": 116.4, "min": 105.6, "max": 208.2, "n": 9 }, "ttft_s": { "median": 4.589, "min": 0.153, "max": 12.752, "n": 9 }, "generated_tokens": { "median": 100, "min": 100, "max": 100, "n": 9 }, "prompt_tokens": { "median": 32, "min": 29, "max": 38, "n": 9 } }, "prompts": { "4K": { "target_tokens": 4096, "requests": [ { "ok": true, "err": null, "ttft_s": 11.412, "total_s": 11.65, "prompt_tokens": 4125, "reused_tokens": 0, "read_tokens": 4125, "generated_tokens": 24, "prompt_tps": 1357.5, "prompt_tps_source": "engine", "decode_tps": 103.2, "decode_tps_source": "engine", "prompt_ms": 3038.7, "decode_ms": 232.6, "drafts_offered": 7, "drafts_accepted": 7, "run": 0 }, { "ok": true, "err": null, "ttft_s": 6.37, "total_s": 6.623, "prompt_tokens": 4125, "reused_tokens": 0, "read_tokens": 4125, "generated_tokens": 24, "prompt_tps": 1396.5, "prompt_tps_source": "engine", "decode_tps": 96.7, "decode_tps_source": "engine", "prompt_ms": 2953.9, "decode_ms": 248.1, "drafts_offered": 11, "drafts_accepted": 7, "run": 1 }, { "ok": true, "err": null, "ttft_s": 5.147, "total_s": 5.38, "prompt_tokens": 4125, "reused_tokens": 0, "read_tokens": 4125, "generated_tokens": 24, "prompt_tps": 1395.3, "prompt_tps_source": "engine", "decode_tps": 103.4, "decode_tps_source": "engine", "prompt_ms": 2956.4, "decode_ms": 232.1, "drafts_offered": 7, "drafts_accepted": 7, "run": 2 } ], "prompt_tps": { "median": 1395.3, "min": 1357.5, "max": 1396.5, "n": 3 }, "ttft_s": { "median": 6.37, "min": 5.147, "max": 11.412, "n": 3 }, "prompt_tokens": { "median": 4125, "min": 4125, "max": 4125, "n": 3 }, "reused_tokens": { "median": 0, "min": 0, "max": 0, "n": 3 } }, "16K": { "target_tokens": 16384, "requests": [ { "ok": true, "err": null, "ttft_s": 7.953, "total_s": 8.197, "prompt_tokens": 16562, "reused_tokens": 0, "read_tokens": 16562, "generated_tokens": 24, "prompt_tps": 2087.4, "prompt_tps_source": "engine", "decode_tps": 98.3, "decode_tps_source": "engine", "prompt_ms": 7934.4, "decode_ms": 244.2, "drafts_offered": 10, "drafts_accepted": 7, "run": 0 }, { "ok": true, "err": null, "ttft_s": 36.903, "total_s": 37.142, "prompt_tokens": 16562, "reused_tokens": 0, "read_tokens": 16562, "generated_tokens": 24, "prompt_tps": 2058.6, "prompt_tps_source": "engine", "decode_tps": 102.3, "decode_tps_source": "engine", "prompt_ms": 8045.4, "decode_ms": 234.5, "drafts_offered": 7, "drafts_accepted": 7, "run": 1 }, { "ok": true, "err": null, "ttft_s": 8.574, "total_s": 8.823, "prompt_tokens": 16562, "reused_tokens": 0, "read_tokens": 16562, "generated_tokens": 24, "prompt_tps": 2083.6, "prompt_tps_source": "engine", "decode_tps": 98.5, "decode_tps_source": "engine", "prompt_ms": 7948.9, "decode_ms": 243.6, "drafts_offered": 10, "drafts_accepted": 7, "run": 2 } ], "prompt_tps": { "median": 2083.6, "min": 2058.6, "max": 2087.4, "n": 3 }, "ttft_s": { "median": 8.574, "min": 7.953, "max": 36.903, "n": 3 }, "prompt_tokens": { "median": 16562, "min": 16562, "max": 16562, "n": 3 }, "reused_tokens": { "median": 0, "min": 0, "max": 0, "n": 3 } }, "32K": { "target_tokens": 32768, "requests": [ { "ok": true, "err": null, "ttft_s": 14.44, "total_s": 14.684, "prompt_tokens": 33126, "reused_tokens": 0, "read_tokens": 33126, "generated_tokens": 24, "prompt_tps": 2300.3, "prompt_tps_source": "engine", "decode_tps": 98.2, "decode_tps_source": "engine", "prompt_ms": 14400.5, "decode_ms": 244.3, "drafts_offered": 10, "drafts_accepted": 7, "run": 0 }, { "ok": true, "err": null, "ttft_s": 14.467, "total_s": 14.702, "prompt_tokens": 33126, "reused_tokens": 0, "read_tokens": 33126, "generated_tokens": 24, "prompt_tps": 2295.6, "prompt_tps_source": "engine", "decode_tps": 102.3, "decode_tps_source": "engine", "prompt_ms": 14430.0, "decode_ms": 234.7, "drafts_offered": 7, "drafts_accepted": 7, "run": 1 }, { "ok": true, "err": null, "ttft_s": 14.445, "total_s": 14.695, "prompt_tokens": 33126, "reused_tokens": 0, "read_tokens": 33126, "generated_tokens": 24, "prompt_tps": 2299.1, "prompt_tps_source": "engine", "decode_tps": 96.3, "decode_tps_source": "engine", "prompt_ms": 14408.5, "decode_ms": 249.2, "drafts_offered": 12, "drafts_accepted": 7, "run": 2 } ], "prompt_tps": { "median": 2299.1, "min": 2295.6, "max": 2300.3, "n": 3 }, "ttft_s": { "median": 14.445, "min": 14.44, "max": 14.467, "n": 3 }, "prompt_tokens": { "median": 33126, "min": 33126, "max": 33126, "n": 3 }, "reused_tokens": { "median": 0, "min": 0, "max": 0, "n": 3 } } }, "agent": { "sessions": [ [ { "ok": true, "err": null, "ttft_s": 2.589, "total_s": 2.735, "prompt_tokens": 602, "reused_tokens": 0, "read_tokens": 602, "generated_tokens": 23, "prompt_tps": 675.3, "prompt_tps_source": "engine", "decode_tps": 157.3, "decode_tps_source": "engine", "prompt_ms": 891.4, "decode_ms": 146.2, "drafts_offered": 20, "drafts_accepted": 16, "run": 0, "turn": 0 }, { "ok": true, "err": null, "ttft_s": 3.221, "total_s": 3.808, "prompt_tokens": 4790, "reused_tokens": 625, "read_tokens": 4165, "generated_tokens": 64, "prompt_tps": 1297.8, "prompt_tps_source": "engine", "decode_tps": 109.1, "decode_tps_source": "engine", "prompt_ms": 3209.4, "decode_ms": 586.4, "drafts_offered": 30, "drafts_accepted": 25, "run": 0, "turn": 1 }, { "ok": true, "err": null, "ttft_s": 1.329, "total_s": 1.935, "prompt_tokens": 6308, "reused_tokens": 4853, "read_tokens": 1455, "generated_tokens": 64, "prompt_tps": 1106.5, "prompt_tps_source": "engine", "decode_tps": 105.5, "decode_tps_source": "engine", "prompt_ms": 1315.0, "decode_ms": 606.4, "drafts_offered": 36, "drafts_accepted": 25, "run": 0, "turn": 2 }, { "ok": true, "err": null, "ttft_s": 2.471, "total_s": 3.019, "prompt_tokens": 9433, "reused_tokens": 6371, "read_tokens": 3062, "generated_tokens": 57, "prompt_tps": 1246.8, "prompt_tps_source": "engine", "decode_tps": 104.0, "decode_tps_source": "engine", "prompt_ms": 2455.8, "decode_ms": 547.9, "drafts_offered": 33, "drafts_accepted": 23, "run": 0, "turn": 3 }, { "ok": true, "err": null, "ttft_s": 2.223, "total_s": 2.653, "prompt_tokens": 12145, "reused_tokens": 9490, "read_tokens": 2655, "generated_tokens": 56, "prompt_tps": 1203.8, "prompt_tps_source": "engine", "decode_tps": 130.1, "decode_tps_source": "engine", "prompt_ms": 2205.6, "decode_ms": 430.3, "drafts_offered": 40, "drafts_accepted": 32, "run": 0, "turn": 4 }, { "ok": true, "err": null, "ttft_s": 2.226, "total_s": 2.75, "prompt_tokens": 14806, "reused_tokens": 12201, "read_tokens": 2605, "generated_tokens": 56, "prompt_tps": 1181.0, "prompt_tps_source": "engine", "decode_tps": 106.9, "decode_tps_source": "engine", "prompt_ms": 2205.8, "decode_ms": 524.0, "drafts_offered": 25, "drafts_accepted": 22, "run": 0, "turn": 5 } ], [ { "ok": true, "err": null, "ttft_s": 0.866, "total_s": 1.016, "prompt_tokens": 602, "reused_tokens": 0, "read_tokens": 602, "generated_tokens": 23, "prompt_tps": 698.5, "prompt_tps_source": "engine", "decode_tps": 153.3, "decode_tps_source": "engine", "prompt_ms": 861.8, "decode_ms": 150.0, "drafts_offered": 17, "drafts_accepted": 15, "run": 1, "turn": 0 }, { "ok": true, "err": null, "ttft_s": 3.167, "total_s": 3.758, "prompt_tokens": 4790, "reused_tokens": 625, "read_tokens": 4165, "generated_tokens": 64, "prompt_tps": 1319.6, "prompt_tps_source": "engine", "decode_tps": 108.3, "decode_tps_source": "engine", "prompt_ms": 3156.3, "decode_ms": 590.9, "drafts_offered": 23, "drafts_accepted": 23, "run": 1, "turn": 1 }, { "ok": true, "err": null, "ttft_s": 1.317, "total_s": 1.916, "prompt_tokens": 6308, "reused_tokens": 4853, "read_tokens": 1455, "generated_tokens": 63, "prompt_tps": 1115.5, "prompt_tps_source": "engine", "decode_tps": 105.2, "decode_tps_source": "engine", "prompt_ms": 1304.4, "decode_ms": 598.8, "drafts_offered": 33, "drafts_accepted": 25, "run": 1, "turn": 2 }, { "ok": true, "err": null, "ttft_s": 2.378, "total_s": 2.918, "prompt_tokens": 9431, "reused_tokens": 6371, "read_tokens": 3060, "generated_tokens": 59, "prompt_tps": 1294.5, "prompt_tps_source": "engine", "decode_tps": 109.3, "decode_tps_source": "engine", "prompt_ms": 2363.9, "decode_ms": 539.6, "drafts_offered": 30, "drafts_accepted": 25, "run": 1, "turn": 3 }, { "ok": true, "err": null, "ttft_s": 2.172, "total_s": 2.642, "prompt_tokens": 12145, "reused_tokens": 9490, "read_tokens": 2655, "generated_tokens": 64, "prompt_tps": 1231.8, "prompt_tps_source": "engine", "decode_tps": 136.3, "decode_tps_source": "engine", "prompt_ms": 2155.3, "decode_ms": 469.4, "drafts_offered": 35, "drafts_accepted": 35, "run": 1, "turn": 4 }, { "ok": true, "err": null, "ttft_s": 2.172, "total_s": 2.659, "prompt_tokens": 14815, "reused_tokens": 12208, "read_tokens": 2607, "generated_tokens": 55, "prompt_tps": 1209.5, "prompt_tps_source": "engine", "decode_tps": 113.1, "decode_tps_source": "engine", "prompt_ms": 2155.4, "decode_ms": 486.1, "drafts_offered": 26, "drafts_accepted": 24, "run": 1, "turn": 5 } ], [ { "ok": true, "err": null, "ttft_s": 0.885, "total_s": 1.177, "prompt_tokens": 602, "reused_tokens": 0, "read_tokens": 602, "generated_tokens": 38, "prompt_tps": 683.7, "prompt_tps_source": "engine", "decode_tps": 130.0, "decode_tps_source": "engine", "prompt_ms": 880.5, "decode_ms": 292.2, "drafts_offered": 35, "drafts_accepted": 23, "run": 2, "turn": 0 }, { "ok": true, "err": null, "ttft_s": 3.167, "total_s": 3.657, "prompt_tokens": 4805, "reused_tokens": 640, "read_tokens": 4165, "generated_tokens": 64, "prompt_tps": 1319.5, "prompt_tps_source": "engine", "decode_tps": 130.7, "decode_tps_source": "engine", "prompt_ms": 3156.5, "decode_ms": 489.6, "drafts_offered": 34, "drafts_accepted": 33, "run": 2, "turn": 1 }, { "ok": true, "err": null, "ttft_s": 1.317, "total_s": 1.832, "prompt_tokens": 6323, "reused_tokens": 4868, "read_tokens": 1455, "generated_tokens": 64, "prompt_tps": 1115.4, "prompt_tps_source": "engine", "decode_tps": 124.2, "decode_tps_source": "engine", "prompt_ms": 1304.5, "decode_ms": 515.5, "drafts_offered": 37, "drafts_accepted": 32, "run": 2, "turn": 2 }, { "ok": true, "err": null, "ttft_s": 2.379, "total_s": 2.877, "prompt_tokens": 9448, "reused_tokens": 6386, "read_tokens": 3062, "generated_tokens": 49, "prompt_tps": 1294.2, "prompt_tps_source": "engine", "decode_tps": 98.5, "decode_tps_source": "engine", "prompt_ms": 2365.9, "decode_ms": 497.6, "drafts_offered": 21, "drafts_accepted": 16, "run": 2, "turn": 3 }, { "ok": true, "err": null, "ttft_s": 2.17, "total_s": 2.584, "prompt_tokens": 12152, "reused_tokens": 9497, "read_tokens": 2655, "generated_tokens": 48, "prompt_tps": 1231.8, "prompt_tps_source": "engine", "decode_tps": 116.1, "decode_tps_source": "engine", "prompt_ms": 2155.3, "decode_ms": 413.4, "drafts_offered": 39, "drafts_accepted": 25, "run": 2, "turn": 4 }, { "ok": true, "err": null, "ttft_s": 2.172, "total_s": 2.611, "prompt_tokens": 14805, "reused_tokens": 12200, "read_tokens": 2605, "generated_tokens": 43, "prompt_tps": 1208.6, "prompt_tps_source": "engine", "decode_tps": 97.9, "decode_tps_source": "engine", "prompt_ms": 2155.3, "decode_ms": 439.0, "drafts_offered": 14, "drafts_accepted": 13, "run": 2, "turn": 5 } ] ], "hit_pct": { "median": 70.642, "min": 70.637, "max": 70.669, "n": 3 }, "reread_tokens": { "median": 2, "min": 2, "max": 2, "n": 3 }, "new_tokens": { "median": 13940, "min": 13940, "max": 13940, "n": 3 }, "turn_ttft_s": { "median": 2.223, "min": 1.317, "max": 3.221, "n": 15 }, "last_turn_prompt_tokens": { "median": 14806, "min": 14805, "max": 14815, "n": 3 }, "turn_decode_tps": { "median": 109.1, "min": 97.9, "max": 136.3, "n": 15 }, "first_turn_ttft_s": { "median": 0.885, "min": 0.866, "max": 2.589, "n": 3 } }, "clients": {}, "skipped": {}, "failures": [] } } ``` </details> --- ## Large-context decode rerun — current 19/21 split This fills the remaining gap: **131k, 256k, and 324k input contexts measured with `DS4_SPLIT=19,21`**, not the historical automatic split. Configuration is unchanged from the community run above: 2× RTX PRO 6000 Blackwell, Threadripper PRO 9965WX, **256 GB DDR5-5600**, 325,000 served context, 24 CPU workers, DSpark auto/confidence 0.65, all routed experts in VRAM, warm RAM-cached Engram. Same terminal/engine build 0.1.49.2 and benchmark helper source `7dd5cf18e68c639a8773e096c5c79f971ea2a9f5`. ### Method and limits This is a **custom larger-context supplement using upstream `strata_bench.chat` and `digest` unchanged**, not the stock community suite or Qwen standard protocol. The deterministic record corpus/task matches the earlier supplement; the leading request tag is changed to avoid reusing historical cached prefixes. This produces input lengths one token shorter than the old run. Thinking off, temperature zero, output cap 512. Three requests at each length: first fresh (verified zero cached tokens), then two exact repeats. The prompt asks for a marker in the middle plus a detailed engineering design. Every response generated 512 tokens and recovered the marker: **9/9 successful requests, 9/9 marker checks, no failures or skipped requests**. A capped output and one marker do not establish general answer quality. These are engine prompt/decode timings; full client TTFT/latency and draft acceptance are in the raw results. Other clients could still use the single-request server, so client latency may include queueing. Weights/Engram were warm; loading is excluded. Repeats measure warm prefix reuse, not independent fresh-prefill trials. ### Current results | Actual input tokens | Runs × output tokens | Decode tok/s median (range) | Fresh prefill seconds | Fresh prefill tok/s | Cached tokens on repeats | | ---: | --- | --- | ---: | ---: | --- | | 131,077 | 3 × 512 | 106.7 (106.4–115.2) | 53.35 | 2456.7 | 131,076; 131,076 | | 256,004 | 3 × 512 | 98.5 (98.3–99.6) | 105.31 | 2430.9 | 256,003; 256,003 | | 324,004 | 3 × 512 | 113.3 (113.0–119.3) | 134.70 | 2405.4 | 324,003; 324,003 | ### Historical comparison | Target context | Old automatic decode median | Current 19/21 decode median | Old fresh prefill seconds | Current fresh prefill seconds | | --- | ---: | ---: | ---: | ---: | | 131,072 | 121.7 | 106.7 | 61.72 | 53.35 | | 256,000 | 105.0 | 98.5 | 122.28 | 105.31 | | 324,000 | 103.5 | 113.3 | 156.15 | 134.70 | The fresh-prefill measurements improved at all three sizes. Decode results are mixed: lower at 131k and 256k, higher at 324k. Do not infer a causal split-only decode change: runs were sequential, request tags differ, and output/draft acceptance differ. Both gains and regressions are retained. ### Reproduction <details> <summary>Deterministic synthetic prompt generator</summary> ```python import sys,json,random from pathlib import Path sys.path.insert(0,'/opt/strata/terminal/tools/dsv41') from smoke import tokenizer t=tokenizer(Path('/data/Strata-data/packs/deepseek-v4.1-flash-ist-das-2.25bpw')) r=random.Random(41325) lines=[] for i in range(26000): lines.append(f'Record {i}: station {r.randrange(100,999)} measured {r.randrange(10,99)} units at interval {r.randrange(1000,9999)}; status normal.\n') ids=t.encode(''.join(lines)) for n in [4096,32768,131072,256000,324000]: key=f'cedar-{n}-violet' half=(n-120)//2 text=f'Benchmark {n}. Read these records and remember the single secret marker.\n'+t.decode(ids[:half])+f'\nSECRET MARKER: {key}\n'+t.decode(ids[half:2*half])+f'\nWhat is the secret marker? State it exactly, then explain briefly where it appeared. Do not summarize the records.' Path(f'/tmp/prompt-{n}.json').write_text(json.dumps({'text':text,'raw_tokens':len(t.encode(text)),'needle':key})) print(n,len(t.encode(text)),flush=True) ``` </details> Use the deterministic prompt generator included below, copying its generated JSON files to `/tmp/strata-benchmark-prompts/`. Run the updated script below from the local stack (the upstream checkout is `strata-inference/`). The credential is read from local `.env`, never printed. ```sh STRATA_BENCH_TAG=balanced-19-21-long-v1 python3 strata/community-benchmark-2026-10-24/long-decode.py 131072 256000 324000 ``` <details> <summary>Supplemental runner (tag/length options added; upstream chat/digest unchanged)</summary> ```python """Supplement using upstream strata_bench.chat/digest, not the standard suite. Run from ~/llm; requires benchmark-prompts.py's /tmp/strata-benchmark-prompts files. Three requests per length: fresh first request, then the identical prompt twice (to measure warm prefix reuse). Output cap 512, thinking off, temperature zero. """ import json import os import sys from pathlib import Path root = Path(__file__).resolve().parents[2] sys.path.insert(0, str(root / 'strata-inference/tools')) from strata_bench import chat, digest key = next(l.partition('=')[2].strip().strip('\"\'') for l in (root / '.env').read_text().splitlines() if l.startswith('LITELLM_MASTER_KEY=')) tag = os.environ.get("STRATA_BENCH_TAG", "long-decode-supplement-20261024") lengths = [int(x) for x in sys.argv[1:]] or [32768, 131072, 256000, 324000] for n in lengths: data = json.loads(Path(f'/tmp/strata-benchmark-prompts/prompt-{n}.json').read_text()) prompt = data['text'].rsplit('\nWhat is the secret marker?', 1)[0] prompt = f'[{tag}-{n}]\n' + prompt + ''' First state the secret marker exactly. Then write a detailed technical design for a reliable service ingesting these station records. Cover data validation, ordering, deduplication, durable storage, indexing, aggregation, monitoring, crash recovery, and test cases. Include Python pseudocode and explain tradeoffs. Aim for at least 1000 words; do not stop after stating the marker.''' for repeat in range(3): print(json.dumps({'event': 'start', 'target_tokens': n, 'repeat': repeat+1}), flush=True) response = chat('http://127.0.0.1:8001', key, [{'role': 'user', 'content': prompt}], 512, False) row = digest(response) row.update(event='result', target_tokens=n, repeat=repeat+1, needle_found=data['needle'] in response.get('text','')) print(json.dumps(row), flush=True) ``` </details> <details> <summary>All nine current-configuration request measurements</summary> ```json [ { "ok": true, "err": null, "ttft_s": 53.532, "total_s": 57.976, "prompt_tokens": 131077, "reused_tokens": 0, "read_tokens": 131077, "generated_tokens": 512, "prompt_tps": 2456.7, "prompt_tps_source": "engine", "decode_tps": 115.2, "decode_tps_source": "engine", "prompt_ms": 53354.9, "decode_ms": 4444.0, "drafts_offered": 296, "drafts_accepted": 251, "event": "result", "target_tokens": 131072, "repeat": 1, "needle_found": true }, { "ok": true, "err": null, "ttft_s": 0.21, "total_s": 5.024, "prompt_tokens": 131077, "reused_tokens": 131076, "read_tokens": 1, "generated_tokens": 512, "prompt_tps": 21.1, "prompt_tps_source": "engine", "decode_tps": 106.4, "decode_tps_source": "engine", "prompt_ms": 47.3, "decode_ms": 4813.8, "drafts_offered": 244, "drafts_accepted": 212, "event": "result", "target_tokens": 131072, "repeat": 2, "needle_found": true }, { "ok": true, "err": null, "ttft_s": 0.204, "total_s": 5.004, "prompt_tokens": 131077, "reused_tokens": 131076, "read_tokens": 1, "generated_tokens": 512, "prompt_tps": 21.2, "prompt_tps_source": "engine", "decode_tps": 106.7, "decode_tps_source": "engine", "prompt_ms": 47.2, "decode_ms": 4799.4, "drafts_offered": 244, "drafts_accepted": 212, "event": "result", "target_tokens": 131072, "repeat": 3, "needle_found": true }, { "ok": true, "err": null, "ttft_s": 105.63, "total_s": 110.771, "prompt_tokens": 256004, "reused_tokens": 0, "read_tokens": 256004, "generated_tokens": 512, "prompt_tps": 2430.9, "prompt_tps_source": "engine", "decode_tps": 99.6, "decode_tps_source": "engine", "prompt_ms": 105310.4, "decode_ms": 5141.7, "drafts_offered": 252, "drafts_accepted": 201, "event": "result", "target_tokens": 256000, "repeat": 1, "needle_found": true }, { "ok": true, "err": null, "ttft_s": 0.398, "total_s": 5.609, "prompt_tokens": 256004, "reused_tokens": 256003, "read_tokens": 1, "generated_tokens": 512, "prompt_tps": 13.5, "prompt_tps_source": "engine", "decode_tps": 98.3, "decode_tps_source": "engine", "prompt_ms": 74.1, "decode_ms": 5210.8, "drafts_offered": 227, "drafts_accepted": 190, "event": "result", "target_tokens": 256000, "repeat": 2, "needle_found": true }, { "ok": true, "err": null, "ttft_s": 0.373, "total_s": 5.573, "prompt_tokens": 256004, "reused_tokens": 256003, "read_tokens": 1, "generated_tokens": 512, "prompt_tps": 14.3, "prompt_tps_source": "engine", "decode_tps": 98.5, "decode_tps_source": "engine", "prompt_ms": 70.0, "decode_ms": 5199.2, "drafts_offered": 227, "drafts_accepted": 190, "event": "result", "target_tokens": 256000, "repeat": 3, "needle_found": true }, { "ok": true, "err": null, "ttft_s": 135.067, "total_s": 139.361, "prompt_tokens": 324004, "reused_tokens": 0, "read_tokens": 324004, "generated_tokens": 512, "prompt_tps": 2405.4, "prompt_tps_source": "engine", "decode_tps": 119.3, "decode_tps_source": "engine", "prompt_ms": 134700.8, "decode_ms": 4293.5, "drafts_offered": 316, "drafts_accepted": 278, "event": "result", "target_tokens": 324000, "repeat": 1, "needle_found": true }, { "ok": true, "err": null, "ttft_s": 0.485, "total_s": 5.016, "prompt_tokens": 324004, "reused_tokens": 324003, "read_tokens": 1, "generated_tokens": 512, "prompt_tps": 10.1, "prompt_tps_source": "engine", "decode_tps": 113.0, "decode_tps_source": "engine", "prompt_ms": 99.1, "decode_ms": 4531.2, "drafts_offered": 315, "drafts_accepted": 261, "event": "result", "target_tokens": 324000, "repeat": 2, "needle_found": true }, { "ok": true, "err": null, "ttft_s": 0.467, "total_s": 4.988, "prompt_tokens": 324004, "reused_tokens": 324003, "read_tokens": 1, "generated_tokens": 512, "prompt_tps": 9.7, "prompt_tps_source": "engine", "decode_tps": 113.3, "decode_tps_source": "engine", "prompt_ms": 102.7, "decode_ms": 4520.8, "drafts_offered": 315, "drafts_accepted": 261, "event": "result", "target_tokens": 324000, "repeat": 3, "needle_found": true } ] ``` </details> ### Reproduction status Measured locally
Author
Owner

@github-actions[bot] commented on GitHub (Oct 25, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Fill in "What did you measure, or what went wrong".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6391784532 --> @github-actions[bot] commented on GitHub (Oct 25, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Fill in "What did you measure, or what went wrong". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@yundddd commented on GitHub (Oct 25, 2026):

Can you run IQ2_XXS and on a single pro 6000?

<!-- gh-comment-id:6392680831 --> @yundddd commented on GitHub (Oct 25, 2026): Can you run IQ2_XXS and on a single pro 6000?
Author
Owner

@github-actions[bot] commented on GitHub (Oct 25, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6405082189 --> @github-actions[bot] commented on GitHub (Oct 25, 2026): Thanks, this follows the format now.
Author
Owner

@Niko1221 commented on GitHub (Oct 29, 2026):

Thank you for measuring this and writing it up. We are building a Strata website with a page for community benchmarks, and results like these will be added there when it launches, so we are closing this here. If your numbers change with a new version, you are welcome to post them again.

<!-- gh-comment-id:6495695504 --> @Niko1221 commented on GitHub (Oct 29, 2026): Thank you for measuring this and writing it up. We are building a Strata website with a page for community benchmarks, and results like these will be added there when it launches, so we are closing this here. If your numbers change with a new version, you are welcome to post them again.
Sign in to join this conversation.
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
Niko1221/Strata#1745
No description provided.