From fe63d57a8d3eb9e4882dc42f18385910dd1bbc2a Mon Sep 17 00:00:00 2001 From: Dmitry-B <7815398+Dmitry-B@users.noreply.github.com> Date: Tue, 6 Oct 2026 13:16:00 +0200 Subject: [PATCH] =?UTF-8?q?bench:=20community=20report=20=E2=80=94=20RTX?= =?UTF-8?q?=204090,=20Ryzen=209=207950X,=20Flash-Next=20IQ3=5FS=20(#624)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bench folder ported from PR #624 by Dmitry-B, authorship kept. Trimmed for 0.1.40.2: 0 raw dumps/logs/binaries left out (listed in TRIMMED.md of each folder). Not ported: docs/COMMUNITY_BENCHMARKS.md. --- .../README.md | 53 ++ .../config.json | 67 +++ .../needles.json | 56 +++ .../runs.json | 435 +++++++++++++++++ .../README.md | 53 ++ .../config.json | 67 +++ .../needles.json | 56 +++ .../runs.json | 435 +++++++++++++++++ .../README.md | 53 ++ .../config.json | 69 +++ .../env.json | 147 ++++++ .../needles.json | 56 +++ .../runs.json | 438 +++++++++++++++++ .../README.md | 53 ++ .../config.json | 69 +++ .../env.json | 147 ++++++ .../needles.json | 56 +++ .../runs.json | 438 +++++++++++++++++ .../README.md | 83 ++++ .../config.json | 91 ++++ .../env.json | 169 +++++++ .../needles.json | 56 +++ .../runs.json | 460 ++++++++++++++++++ .../README.md | 83 ++++ .../config.json | 91 ++++ .../env.json | 169 +++++++ .../needles.json | 56 +++ .../runs.json | 460 ++++++++++++++++++ 28 files changed, 4466 insertions(+) create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3s-140k-code/README.md create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3s-140k-code/config.json create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3s-140k-code/needles.json create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3s-140k-code/runs.json create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3s-140k-ru/README.md create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3s-140k-ru/config.json create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3s-140k-ru/needles.json create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3s-140k-ru/runs.json create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/README.md create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/config.json create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/env.json create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/needles.json create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/runs.json create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/README.md create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/config.json create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/env.json create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/needles.json create mode 100644 bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/runs.json create mode 100644 bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/README.md create mode 100644 bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/config.json create mode 100644 bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/env.json create mode 100644 bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/needles.json create mode 100644 bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/runs.json create mode 100644 bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/README.md create mode 100644 bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/config.json create mode 100644 bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/env.json create mode 100644 bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/needles.json create mode 100644 bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/runs.json diff --git a/bench/results/2026-10-03-community-rtx4090-iq3s-140k-code/README.md b/bench/results/2026-10-03-community-rtx4090-iq3s-140k-code/README.md new file mode 100644 index 00000000..7c73a1b1 --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3s-140k-code/README.md @@ -0,0 +1,53 @@ +# Community benchmark: NVIDIA GeForce RTX 4090 + +Measured on 2026-10-03 by [Dmitry-B](https://github.com/Dmitry-B). This tests Strata 0.1.38 with qwen3.8-flash-next-iq3_s and a 143360-token context. Prompts are code-explanation text; greedy decoding, a 256-token output cap, three runs per configuration; TTFT measured over streaming. These are synthetic workloads; they do not establish general answer quality. + +## Hardware and software + +- GPU: NVIDIA GeForce RTX 4090; 23028 MiB reported VRAM; 480.00 W power limit; PCIe bus 00000000:01:00.0; PCIe link speed and width: not measured. GPU clocks were not fixed. +- CPU: AMD Ryzen 9 7950X 16-Core Processor (32 logical CPUs). +- RAM: 46464 MiB installed; storage layout: see env.json (lsblk output). +- Ubuntu 26.04.1 LTS, kernel 7.0.0-38-generic; NVIDIA driver 610.57.04; release 13.4, V13.4.92. +- Strata commit `99f3dbd0b21d1401b3769e0c0d963913607f380b` (branch main); engine 0.1.38, release binary from the repository's engine/ directory. +- Background workloads: a dsh/Authentik/Caddy web stack and stock Ubuntu services; the GPU was dedicated to Strata but the operating system was not isolated. + +## Model and configuration + +- Model: qwen3.8-flash-next-iq3_s (the Strata server's model name); GGUF filenames, sizes, and modification times are in env.json (no hashes). +- Context 143360; INT8 KV; resident experts; GPU vision - see the config copy below. +- Draft vocabulary subset: `draft_vocab=cyrillic` (the English/code subset plus the whole Cyrillic script, ~106k rows). This is wider than the default `en` subset; draft acceptance on English text was unaffected (78-80%), but it can cost a few percent of decode speed. + +```text +/home/dgbox/Strata/engine/strata --serve --pack /home/dgbox/Strata-data/packs/iq3_s --native /home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf /home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile /home/dgbox/Strata/data/expert-profile-learned-iq3s.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/dgbox/Strata-data/mtp/rt --max-context 143360 --kv int8 --resident-experts --vision --vram-reserve-mib 989 --control-vector-scaled /home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0 --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer --spec-min-p 0.5 --expert-profile-save /home/dgbox/Strata/data/expert-profile-learned-iq3s.bin --expert-profile-save-every 10 +``` + +Full server config: [config.json](config.json) (was at /home/dgbox/Strata/strata-iq3s-140k-resident.json), environment details: [env.json](env.json). + +## Method + +- Warm-up: one 4K-token prompt (64 generated tokens), excluded from the measurements. +- Every measured prompt carries a random marker, so the prompt-prefix cache is not reused; the table's reused column reports the actual reused token counts from the engine. +- Throughput comes from the engine's timing fields (prompt_per_second / predicted_per_second). TTFT is the time to the first non-empty streaming delta, ignoring keep-alives. Total latency (wall) is the whole request time measured at the client. +- temperature=0, reasoning_effort=none, a 256-token output cap (1024 for the generation-only case). The model often stopped early on the repetitive text; actual generated lengths are in the table. +- The expert cache was warmed by the warm-up run and earlier sessions; the expert profile state is in the config copy. +- Memory: peak VRAM/RAM sampled every 2 seconds during the measured runs, plus a start snapshot. + +## Results + +| Configuration | Actual prompt tokens | Reused tokens | Generated tokens | Runs | Prompt tok/s median and range | Decode tok/s median and range | TTFT s median and range | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| 4096-prompt | 3971 | 0 | 105 | 3 | 2058.6 (range 2057.9-2061.4, n=3) | 77.5 (range 77.5-96.6, n=3) | 1.95 s (range 1.95-1.95, n=3) | +| 32768-prompt | 31307 | 0 | 103 | 3 | 2948.0 (range 2944.4-2971.6, n=3) | 97.2 (range 96.0-97.6, n=3) | 10.71 s (range 10.63-10.72, n=3) | +| 131072-prompt | 125011 | 0 | 103 | 3 | 3047.8 (range 3047.7-3050.2, n=3) | 84.4 (range 83.6-92.5, n=3) | 41.32 s (range 41.29-41.33, n=3) | +| gen-only | 163 | 0 | 1024 | 3 | 226.0 (range 218.7-236.0, n=3) | 88.7 (range 67.9-92.3, n=3) | 0.74 s (range 0.71-0.77, n=3) | + +- Total latency (client, wall): 4096-prompt - 3.3 s (range 3.0-4.08, n=3); 32768-prompt - 11.77 s (range 11.7-11.77, n=3); 131072-prompt - 42.45 s (range 42.43-42.51, n=3); gen-only - 11.82 s (range 2.28-12.24, n=3). +- Memory: {"start_snapshot": {"vram_used_mib": 22116, "ram_used_kib": 46312940}, "peak_vram_used_mib": 22116, "peak_ram_used_kib": 46948172, "note": "peak = maximum of 2-second samples taken during the measured runs"} +- Every run with its draft statistics (accepted/total): [runs.json](runs.json). +- Recall check (needle): [needles.json](needles.json). + +## Correctness and limitations + +- Speed measurements do not establish general answer quality. The recall check passed 6/6 at 32K and 128K across depths 10/50/90; see needles.json. +- The GPU was not fully isolated: background services may have added small noise. +- Prompts are synthetic (repeated text with a random marker); real workloads will show different prefix reuse and draft acceptance. \ No newline at end of file diff --git a/bench/results/2026-10-03-community-rtx4090-iq3s-140k-code/config.json b/bench/results/2026-10-03-community-rtx4090-iq3s-140k-code/config.json new file mode 100644 index 00000000..f6e20ed0 --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3s-140k-code/config.json @@ -0,0 +1,67 @@ +{ + "exe": "/home/dgbox/Strata/engine/strata", + "args": [ + "--pack", + "/home/dgbox/Strata-data/packs/iq3_s", + "--native", + "/home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf", + "--ple-gguf", + "/home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf", + "--expert-profile", + "/home/dgbox/Strata/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--mtp", + "/home/dgbox/Strata-data/mtp/rt", + "--max-context", + "143360", + "--kv", + "int8", + "--resident-experts", + "--vision", + "--vram-reserve-mib", + "989", + "--control-vector-scaled", + "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0", + "--control-vector-layer-range", + "4", + "44", + "--cvec-mode", + "project", + "--cvec-dir", + "per-layer", + "--spec-min-p", + "0.5" + ], + "cwd": "/home/dgbox/Strata", + "tokenizer": "/home/dgbox/Strata-data/packs/iq3_s/tokenizer", + "model_name": "qwen3.8-flash-next-iq3_s", + "draft_vocab": "cyrillic", + "expert_profile_save": "/home/dgbox/Strata/data/expert-profile-learned-iq3s.bin", + "expert_profile_save_every": 10, + "env": { + "STRATA_PF_FUSED": "1" + }, + "log": "/home/dgbox/Strata/strata-iq3s-resident.log", + "lib_dirs": [ + "/usr/local/cuda/bin", + "/usr/local/cuda/lib64" + ], + "port": 8080, + "host": "0.0.0.0", + "gpu": 0, + "gpus_asked": true, + "vision": { + "exe": "/home/dgbox/Strata/engine/strata-vision", + "mmproj": "/home/dgbox/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + }, + "engine_silence_s": 180, + "fit_max_tokens": true +} \ No newline at end of file diff --git a/bench/results/2026-10-03-community-rtx4090-iq3s-140k-code/needles.json b/bench/results/2026-10-03-community-rtx4090-iq3s-140k-code/needles.json new file mode 100644 index 00000000..6f336a73 --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3s-140k-code/needles.json @@ -0,0 +1,56 @@ +[ + { + "length": "32k", + "depth": 10, + "prompt_tokens": 31969, + "seconds": 11.1, + "found": true, + "word": "meadow-copper-504", + "answer": "meadow-copper-504" + }, + { + "length": "32k", + "depth": 50, + "prompt_tokens": 31969, + "seconds": 11.0, + "found": true, + "word": "falcon-quartz-940", + "answer": "falcon-quartz-940" + }, + { + "length": "32k", + "depth": 90, + "prompt_tokens": 31970, + "seconds": 6.1, + "found": true, + "word": "willow-cobalt-696", + "answer": "willow-cobalt-696" + }, + { + "length": "128k", + "depth": 10, + "prompt_tokens": 122755, + "seconds": 39.8, + "found": true, + "word": "falcon-saffron-138", + "answer": "falcon-saffron-138" + }, + { + "length": "128k", + "depth": 50, + "prompt_tokens": 122753, + "seconds": 40.0, + "found": true, + "word": "quartz-tundra-528", + "answer": "quartz-tundra-528" + }, + { + "length": "128k", + "depth": 90, + "prompt_tokens": 122753, + "seconds": 35.0, + "found": true, + "word": "quartz-glacier-192", + "answer": "quartz-glacier-192" + } +] \ No newline at end of file diff --git a/bench/results/2026-10-03-community-rtx4090-iq3s-140k-code/runs.json b/bench/results/2026-10-03-community-rtx4090-iq3s-140k-code/runs.json new file mode 100644 index 00000000..49441450 --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3s-140k-code/runs.json @@ -0,0 +1,435 @@ +{ + "label": "rtx4090-iq3s-140k-code", + "env": { + "collected_at": "2026-10-03T15:21:58", + "gpu": { + "name": "NVIDIA GeForce RTX 4090", + "vram_mib": "23028", + "driver": "610.57.04", + "power_limit_w": "480.00", + "pci_bus": "00000000:01:00.0" + }, + "gpu_link": "Failed to parse --display/-d flags", + "cpu": { + "model": "AMD Ryzen 9 7950X 16-Core Processor", + "logical_cpus": "32" + }, + "ram_total_kib": "47579468", + "os": "Ubuntu 26.04.1 LTS", + "kernel": "7.0.0-38-generic", + "cuda": "release 13.4, V13.4.92", + "storage": "", + "strata_commit": "99f3dbd0b21d1401b3769e0c0d963913607f380b", + "strata_branch": "main", + "engine_version": "0.1.38", + "model_name": "qwen3.8-flash-next-iq3_s", + "context": { + "native": 143360, + "max_positions": 143360 + }, + "cache_max_tokens": 143360, + "vision": { + "enabled": true, + "available": true, + "error": null + }, + "engine_launch_command": "/home/dgbox/Strata/engine/strata --serve --pack /home/dgbox/Strata-data/packs/iq3_s --native /home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf /home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile /home/dgbox/Strata/data/expert-profile-learned-iq3s.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/dgbox/Strata-data/mtp/rt --max-context 143360 --kv int8 --resident-experts --vision --vram-reserve-mib 989 --control-vector-scaled /home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0 --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer --spec-min-p 0.5 --expert-profile-save /home/dgbox/Strata/data/expert-profile-learned-iq3s.bin --expert-profile-save-every 10", + "model_files": [ + { + "flag": "--pack", + "path": "/home/dgbox/Strata-data/packs/iq3_s", + "kind": "dir" + }, + { + "flag": "--native", + "path": "/home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf", + "size_bytes": 54817524224, + "mtime": "2026-10-02T21:55:35" + }, + { + "flag": "--ple-gguf", + "path": "/home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf", + "size_bytes": 28800138432, + "mtime": "2026-09-30T17:44:33" + }, + { + "flag": "--expert-profile", + "path": "/home/dgbox/Strata/data/expert-profile-learned-iq3s.bin", + "size_bytes": 196632, + "mtime": "2026-10-03T15:20:08" + }, + { + "flag": "--mtp", + "path": "/home/dgbox/Strata-data/mtp/rt", + "kind": "dir" + }, + { + "flag": "--control-vector-scaled", + "path": "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf", + "size_bytes": 483520, + "mtime": "2026-09-30T17:07:53" + }, + { + "flag": "--expert-profile-save", + "path": "/home/dgbox/Strata/data/expert-profile-learned-iq3s.bin", + "size_bytes": 196632, + "mtime": "2026-10-03T15:20:08" + } + ], + "server_config_path": "/home/dgbox/Strata/strata-iq3s-140k-resident.json", + "server_config": { + "exe": "/home/dgbox/Strata/engine/strata", + "args": [ + "--pack", + "/home/dgbox/Strata-data/packs/iq3_s", + "--native", + "/home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf", + "--ple-gguf", + "/home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf", + "--expert-profile", + "/home/dgbox/Strata/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--mtp", + "/home/dgbox/Strata-data/mtp/rt", + "--max-context", + "143360", + "--kv", + "int8", + "--resident-experts", + "--vision", + "--vram-reserve-mib", + "989", + "--control-vector-scaled", + "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0", + "--control-vector-layer-range", + "4", + "44", + "--cvec-mode", + "project", + "--cvec-dir", + "per-layer", + "--spec-min-p", + "0.5" + ], + "cwd": "/home/dgbox/Strata", + "tokenizer": "/home/dgbox/Strata-data/packs/iq3_s/tokenizer", + "model_name": "qwen3.8-flash-next-iq3_s", + "draft_vocab": "cyrillic", + "expert_profile_save": "/home/dgbox/Strata/data/expert-profile-learned-iq3s.bin", + "expert_profile_save_every": 10, + "env": { + "STRATA_PF_FUSED": "1" + }, + "log": "/home/dgbox/Strata/strata-iq3s-resident.log", + "lib_dirs": [ + "/usr/local/cuda/bin", + "/usr/local/cuda/lib64" + ], + "port": 8080, + "host": "0.0.0.0", + "gpu": 0, + "gpus_asked": true, + "vision": { + "exe": "/home/dgbox/Strata/engine/strata-vision", + "mmproj": "/home/dgbox/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + }, + "engine_silence_s": 180, + "fit_max_tokens": true + } + }, + "memory": { + "start_snapshot": { + "vram_used_mib": 22116, + "ram_used_kib": 46312940 + }, + "peak_vram_used_mib": 22116, + "peak_ram_used_kib": 46948172, + "note": "peak = maximum of 2-second samples taken during the measured runs" + }, + "results": [ + { + "case": "4096-prompt", + "target_prompt_tokens": 4096, + "max_tokens": 256, + "prompt_tok_s": { + "median": 2058.6, + "min": 2057.9, + "max": 2061.4, + "n": 3 + }, + "gen_tok_s": { + "median": 77.5, + "min": 77.5, + "max": 96.6, + "n": 3 + }, + "ttft": { + "median": 1.95, + "min": 1.95, + "max": 1.95, + "n": 3 + }, + "wall": { + "median": 3.3, + "min": 3.0, + "max": 4.08, + "n": 3 + }, + "draft_ok": 251, + "draft_n": 322, + "all": [ + { + "prompt_n": 3971, + "prompt_s": 2057.9, + "gen_n": 105, + "gen_s": 77.5, + "draft_n": 89, + "draft_ok": 74, + "cached": 0, + "ttft_s": 1.954, + "wall_s": 3.3, + "text": "The text provided is a repetitive block of the same paragraph. Here is the singl" + }, + { + "prompt_n": 3971, + "prompt_s": 2058.6, + "gen_n": 166, + "gen_s": 77.5, + "draft_n": 155, + "draft_ok": 105, + "cached": 0, + "ttft_s": 1.953, + "wall_s": 4.08, + "text": "The text provided is a repetitive block of the same paragraph. Here is the singl" + }, + { + "prompt_n": 3971, + "prompt_s": 2061.4, + "gen_n": 103, + "gen_s": 96.6, + "draft_n": 78, + "draft_ok": 72, + "cached": 0, + "ttft_s": 1.949, + "wall_s": 3.0, + "text": "The text provided is a repetitive block of the same paragraph. Here is the uniqu" + } + ] + }, + { + "case": "32768-prompt", + "target_prompt_tokens": 32768, + "max_tokens": 256, + "prompt_tok_s": { + "median": 2948.0, + "min": 2944.4, + "max": 2971.6, + "n": 3 + }, + "gen_tok_s": { + "median": 97.2, + "min": 96.0, + "max": 97.6, + "n": 3 + }, + "ttft": { + "median": 10.71, + "min": 10.63, + "max": 10.72, + "n": 3 + }, + "wall": { + "median": 11.77, + "min": 11.7, + "max": 11.77, + "n": 3 + }, + "draft_ok": 214, + "draft_n": 256, + "all": [ + { + "prompt_n": 31307, + "prompt_s": 2948.0, + "gen_n": 103, + "gen_s": 96.0, + "draft_n": 84, + "draft_ok": 71, + "cached": 0, + "ttft_s": 10.713, + "wall_s": 11.77, + "text": "The text provided is a repetitive loop of the same paragraph. Here is the unique" + }, + { + "prompt_n": 31307, + "prompt_s": 2971.6, + "gen_n": 105, + "gen_s": 97.6, + "draft_n": 86, + "draft_ok": 72, + "cached": 0, + "ttft_s": 10.632, + "wall_s": 11.7, + "text": "The text provided is a repetitive loop of the same paragraph. Here is the single" + }, + { + "prompt_n": 31307, + "prompt_s": 2944.4, + "gen_n": 103, + "gen_s": 97.2, + "draft_n": 86, + "draft_ok": 71, + "cached": 0, + "ttft_s": 10.725, + "wall_s": 11.77, + "text": "The text provided is a repetitive loop of the same paragraph. Here is the unique" + } + ] + }, + { + "case": "131072-prompt", + "target_prompt_tokens": 131072, + "max_tokens": 256, + "prompt_tok_s": { + "median": 3047.8, + "min": 3047.7, + "max": 3050.2, + "n": 3 + }, + "gen_tok_s": { + "median": 84.4, + "min": 83.6, + "max": 92.5, + "n": 3 + }, + "ttft": { + "median": 41.32, + "min": 41.29, + "max": 41.33, + "n": 3 + }, + "wall": { + "median": 42.45, + "min": 42.43, + "max": 42.51, + "n": 3 + }, + "draft_ok": 202, + "draft_n": 262, + "all": [ + { + "prompt_n": 125011, + "prompt_s": 3047.8, + "gen_n": 103, + "gen_s": 92.5, + "draft_n": 87, + "draft_ok": 69, + "cached": 0, + "ttft_s": 41.326, + "wall_s": 42.43, + "text": "The text provided is a repetitive loop of the same paragraph. Here is the unique" + }, + { + "prompt_n": 125011, + "prompt_s": 3047.7, + "gen_n": 95, + "gen_s": 83.6, + "draft_n": 82, + "draft_ok": 64, + "cached": 0, + "ttft_s": 41.324, + "wall_s": 42.45, + "text": "The text provided is a single sentence repeated hundreds of times. Here is the u" + }, + { + "prompt_n": 125011, + "prompt_s": 3050.2, + "gen_n": 104, + "gen_s": 84.4, + "draft_n": 93, + "draft_ok": 69, + "cached": 0, + "ttft_s": 41.29, + "wall_s": 42.51, + "text": "The text provided is a repetition of the same paragraph. Here is the single, uni" + } + ] + }, + { + "case": "gen-only", + "target_prompt_tokens": 120, + "max_tokens": 1024, + "prompt_tok_s": { + "median": 226.0, + "min": 218.7, + "max": 236.0, + "n": 3 + }, + "gen_tok_s": { + "median": 88.7, + "min": 67.9, + "max": 92.3, + "n": 3 + }, + "ttft": { + "median": 0.74, + "min": 0.71, + "max": 0.77, + "n": 3 + }, + "wall": { + "median": 11.82, + "min": 2.28, + "max": 12.24, + "n": 3 + }, + "draft_ok": 1438, + "draft_n": 1812, + "all": [ + { + "prompt_n": 163, + "prompt_s": 236.0, + "gen_n": 1024, + "gen_s": 88.7, + "draft_n": 859, + "draft_ok": 680, + "cached": 0, + "ttft_s": 0.709, + "wall_s": 12.24, + "text": "Based on the description provided, here is a conceptual implementation in **Rust" + }, + { + "prompt_n": 163, + "prompt_s": 218.7, + "gen_n": 104, + "gen_s": 67.9, + "draft_n": 90, + "draft_ok": 74, + "cached": 0, + "ttft_s": 0.77, + "wall_s": 2.28, + "text": "The text provided is a duplicate of the same paragraph. Here is the cleaned, sin" + }, + { + "prompt_n": 163, + "prompt_s": 226.0, + "gen_n": 1024, + "gen_s": 92.3, + "draft_n": 863, + "draft_ok": 684, + "cached": 0, + "ttft_s": 0.741, + "wall_s": 11.82, + "text": "Based on the description provided, here is a conceptual implementation in **Rust" + } + ] + } + ] +} \ No newline at end of file diff --git a/bench/results/2026-10-03-community-rtx4090-iq3s-140k-ru/README.md b/bench/results/2026-10-03-community-rtx4090-iq3s-140k-ru/README.md new file mode 100644 index 00000000..75bfdbdd --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3s-140k-ru/README.md @@ -0,0 +1,53 @@ +# Community benchmark: NVIDIA GeForce RTX 4090 + +Measured on 2026-10-03 by [Dmitry-B](https://github.com/Dmitry-B). This tests Strata 0.1.38 with qwen3.8-flash-next-iq3_s and a 143360-token context. Prompts are Russian prose; greedy decoding, a 256-token output cap, three runs per configuration; TTFT measured over streaming. These are synthetic workloads; they do not establish general answer quality. + +## Hardware and software + +- GPU: NVIDIA GeForce RTX 4090; 23028 MiB reported VRAM; 480.00 W power limit; PCIe bus 00000000:01:00.0; PCIe link speed and width: not measured. GPU clocks were not fixed. +- CPU: AMD Ryzen 9 7950X 16-Core Processor (32 logical CPUs). +- RAM: 46464 MiB installed; storage layout: see env.json (lsblk output). +- Ubuntu 26.04.1 LTS, kernel 7.0.0-38-generic; NVIDIA driver 610.57.04; release 13.4, V13.4.92. +- Strata commit `99f3dbd0b21d1401b3769e0c0d963913607f380b` (branch main); engine 0.1.38, release binary from the repository's engine/ directory. +- Background workloads: a dsh/Authentik/Caddy web stack and stock Ubuntu services; the GPU was dedicated to Strata but the operating system was not isolated. + +## Model and configuration + +- Model: qwen3.8-flash-next-iq3_s (the Strata server's model name); GGUF filenames, sizes, and modification times are in env.json (no hashes). +- Context 143360; INT8 KV; resident experts; GPU vision - see the config copy below. +- Draft vocabulary subset: `draft_vocab=cyrillic` (the English/code subset plus the whole Cyrillic script, ~106k rows). This is wider than the default `en` subset; draft acceptance on English text was unaffected (78-80%), but it can cost a few percent of decode speed. + +```text +/home/dgbox/Strata/engine/strata --serve --pack /home/dgbox/Strata-data/packs/iq3_s --native /home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf /home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile /home/dgbox/Strata/data/expert-profile-learned-iq3s.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/dgbox/Strata-data/mtp/rt --max-context 143360 --kv int8 --resident-experts --vision --vram-reserve-mib 989 --control-vector-scaled /home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0 --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer --spec-min-p 0.5 --expert-profile-save /home/dgbox/Strata/data/expert-profile-learned-iq3s.bin --expert-profile-save-every 10 +``` + +Full server config: [config.json](config.json) (was at /home/dgbox/Strata/strata-iq3s-140k-resident.json), environment details: [env.json](env.json). + +## Method + +- Warm-up: one 4K-token prompt (64 generated tokens), excluded from the measurements. +- Every measured prompt carries a random marker, so the prompt-prefix cache is not reused; the table's reused column reports the actual reused token counts from the engine. +- Throughput comes from the engine's timing fields (prompt_per_second / predicted_per_second). TTFT is the time to the first non-empty streaming delta, ignoring keep-alives. Total latency (wall) is the whole request time measured at the client. +- temperature=0, reasoning_effort=none, a 256-token output cap (1024 for the generation-only case). The model often stopped early on the repetitive text; actual generated lengths are in the table. +- The expert cache was warmed by the warm-up run and earlier sessions; the expert profile state is in the config copy. +- Memory: peak VRAM/RAM sampled every 2 seconds during the measured runs, plus a start snapshot. + +## Results + +| Configuration | Actual prompt tokens | Reused tokens | Generated tokens | Runs | Prompt tok/s median and range | Decode tok/s median and range | TTFT s median and range | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| 4096-prompt | 4028 | 0 | 102 | 3 | 2084.2 (range 2078.8-2086.5, n=3) | 76.1 (range 62.4-91.3, n=3) | 1.96 s (range 1.96-1.97, n=3) | +| 32768-prompt | 31828 | 0 | 102 | 3 | 2991.1 (range 2987.3-2997.6, n=3) | 102.5 (range 101.9-104.2, n=3) | 10.78 s (range 10.75-10.79, n=3) | +| 131072-prompt | 127228 | 0 | 102 | 3 | 3077.9 (range 3075.9-3079.6, n=3) | 102.2 (range 97.7-105.2, n=3) | 41.81 s (range 41.8-41.86, n=3) | +| gen-only | 228 | 0 | 826 | 3 | 312.6 (range 305.6-314.0, n=3) | 65.9 (range 54.6-66.5, n=3) | 0.75 s (range 0.74-0.77, n=3) | + +- Total latency (client, wall): 4096-prompt - 3.29 s (range 3.07-3.59, n=3); 32768-prompt - 11.77 s (range 11.72-11.78, n=3); 131072-prompt - 42.82 s (range 42.8-42.83, n=3); gen-only - 13.18 s (range 5.31-13.49, n=3). +- Memory: {"start_snapshot": {"vram_used_mib": 22116, "ram_used_kib": 46273424}, "peak_vram_used_mib": 22116, "peak_ram_used_kib": 46918576, "note": "peak = maximum of 2-second samples taken during the measured runs"} +- Every run with its draft statistics (accepted/total): [runs.json](runs.json). +- Recall check (needle): [needles.json](needles.json). + +## Correctness and limitations + +- Speed measurements do not establish general answer quality. The recall check passed 6/6 at 32K and 128K across depths 10/50/90; see needles.json. +- The GPU was not fully isolated: background services may have added small noise. +- Prompts are synthetic (repeated text with a random marker); real workloads will show different prefix reuse and draft acceptance. \ No newline at end of file diff --git a/bench/results/2026-10-03-community-rtx4090-iq3s-140k-ru/config.json b/bench/results/2026-10-03-community-rtx4090-iq3s-140k-ru/config.json new file mode 100644 index 00000000..f6e20ed0 --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3s-140k-ru/config.json @@ -0,0 +1,67 @@ +{ + "exe": "/home/dgbox/Strata/engine/strata", + "args": [ + "--pack", + "/home/dgbox/Strata-data/packs/iq3_s", + "--native", + "/home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf", + "--ple-gguf", + "/home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf", + "--expert-profile", + "/home/dgbox/Strata/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--mtp", + "/home/dgbox/Strata-data/mtp/rt", + "--max-context", + "143360", + "--kv", + "int8", + "--resident-experts", + "--vision", + "--vram-reserve-mib", + "989", + "--control-vector-scaled", + "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0", + "--control-vector-layer-range", + "4", + "44", + "--cvec-mode", + "project", + "--cvec-dir", + "per-layer", + "--spec-min-p", + "0.5" + ], + "cwd": "/home/dgbox/Strata", + "tokenizer": "/home/dgbox/Strata-data/packs/iq3_s/tokenizer", + "model_name": "qwen3.8-flash-next-iq3_s", + "draft_vocab": "cyrillic", + "expert_profile_save": "/home/dgbox/Strata/data/expert-profile-learned-iq3s.bin", + "expert_profile_save_every": 10, + "env": { + "STRATA_PF_FUSED": "1" + }, + "log": "/home/dgbox/Strata/strata-iq3s-resident.log", + "lib_dirs": [ + "/usr/local/cuda/bin", + "/usr/local/cuda/lib64" + ], + "port": 8080, + "host": "0.0.0.0", + "gpu": 0, + "gpus_asked": true, + "vision": { + "exe": "/home/dgbox/Strata/engine/strata-vision", + "mmproj": "/home/dgbox/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + }, + "engine_silence_s": 180, + "fit_max_tokens": true +} \ No newline at end of file diff --git a/bench/results/2026-10-03-community-rtx4090-iq3s-140k-ru/needles.json b/bench/results/2026-10-03-community-rtx4090-iq3s-140k-ru/needles.json new file mode 100644 index 00000000..b7506fca --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3s-140k-ru/needles.json @@ -0,0 +1,56 @@ +[ + { + "length": "32k", + "depth": 10, + "prompt_tokens": 31969, + "seconds": 11.4, + "found": true, + "word": "meadow-copper-504", + "answer": "meadow-copper-504" + }, + { + "length": "32k", + "depth": 50, + "prompt_tokens": 31969, + "seconds": 11.0, + "found": true, + "word": "falcon-quartz-940", + "answer": "falcon-quartz-940" + }, + { + "length": "32k", + "depth": 90, + "prompt_tokens": 31970, + "seconds": 6.1, + "found": true, + "word": "willow-cobalt-696", + "answer": "willow-cobalt-696" + }, + { + "length": "128k", + "depth": 10, + "prompt_tokens": 122755, + "seconds": 39.8, + "found": true, + "word": "falcon-saffron-138", + "answer": "falcon-saffron-138" + }, + { + "length": "128k", + "depth": 50, + "prompt_tokens": 122753, + "seconds": 40.1, + "found": true, + "word": "quartz-tundra-528", + "answer": "quartz-tundra-528" + }, + { + "length": "128k", + "depth": 90, + "prompt_tokens": 122753, + "seconds": 35.0, + "found": true, + "word": "quartz-glacier-192", + "answer": "quartz-glacier-192" + } +] \ No newline at end of file diff --git a/bench/results/2026-10-03-community-rtx4090-iq3s-140k-ru/runs.json b/bench/results/2026-10-03-community-rtx4090-iq3s-140k-ru/runs.json new file mode 100644 index 00000000..ed90656f --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3s-140k-ru/runs.json @@ -0,0 +1,435 @@ +{ + "label": "rtx4090-iq3s-140k-ru", + "env": { + "collected_at": "2026-10-03T15:10:51", + "gpu": { + "name": "NVIDIA GeForce RTX 4090", + "vram_mib": "23028", + "driver": "610.57.04", + "power_limit_w": "480.00", + "pci_bus": "00000000:01:00.0" + }, + "gpu_link": "Failed to parse --display/-d flags", + "cpu": { + "model": "AMD Ryzen 9 7950X 16-Core Processor", + "logical_cpus": "32" + }, + "ram_total_kib": "47579468", + "os": "Ubuntu 26.04.1 LTS", + "kernel": "7.0.0-38-generic", + "cuda": "release 13.4, V13.4.92", + "storage": "", + "strata_commit": "99f3dbd0b21d1401b3769e0c0d963913607f380b", + "strata_branch": "main", + "engine_version": "0.1.38", + "model_name": "qwen3.8-flash-next-iq3_s", + "context": { + "native": 143360, + "max_positions": 143360 + }, + "cache_max_tokens": 143360, + "vision": { + "enabled": true, + "available": true, + "error": null + }, + "engine_launch_command": "/home/dgbox/Strata/engine/strata --serve --pack /home/dgbox/Strata-data/packs/iq3_s --native /home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf /home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile /home/dgbox/Strata/data/expert-profile-learned-iq3s.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/dgbox/Strata-data/mtp/rt --max-context 143360 --kv int8 --resident-experts --vision --vram-reserve-mib 989 --control-vector-scaled /home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0 --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer --spec-min-p 0.5 --expert-profile-save /home/dgbox/Strata/data/expert-profile-learned-iq3s.bin --expert-profile-save-every 10", + "model_files": [ + { + "flag": "--pack", + "path": "/home/dgbox/Strata-data/packs/iq3_s", + "kind": "dir" + }, + { + "flag": "--native", + "path": "/home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf", + "size_bytes": 54817524224, + "mtime": "2026-10-02T21:55:35" + }, + { + "flag": "--ple-gguf", + "path": "/home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf", + "size_bytes": 28800138432, + "mtime": "2026-09-30T17:44:33" + }, + { + "flag": "--expert-profile", + "path": "/home/dgbox/Strata/data/expert-profile-learned-iq3s.bin", + "size_bytes": 196632, + "mtime": "2026-10-03T15:09:42" + }, + { + "flag": "--mtp", + "path": "/home/dgbox/Strata-data/mtp/rt", + "kind": "dir" + }, + { + "flag": "--control-vector-scaled", + "path": "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf", + "size_bytes": 483520, + "mtime": "2026-09-30T17:07:53" + }, + { + "flag": "--expert-profile-save", + "path": "/home/dgbox/Strata/data/expert-profile-learned-iq3s.bin", + "size_bytes": 196632, + "mtime": "2026-10-03T15:09:42" + } + ], + "server_config_path": "/home/dgbox/Strata/strata-iq3s-140k-resident.json", + "server_config": { + "exe": "/home/dgbox/Strata/engine/strata", + "args": [ + "--pack", + "/home/dgbox/Strata-data/packs/iq3_s", + "--native", + "/home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf", + "--ple-gguf", + "/home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf", + "--expert-profile", + "/home/dgbox/Strata/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--mtp", + "/home/dgbox/Strata-data/mtp/rt", + "--max-context", + "143360", + "--kv", + "int8", + "--resident-experts", + "--vision", + "--vram-reserve-mib", + "989", + "--control-vector-scaled", + "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0", + "--control-vector-layer-range", + "4", + "44", + "--cvec-mode", + "project", + "--cvec-dir", + "per-layer", + "--spec-min-p", + "0.5" + ], + "cwd": "/home/dgbox/Strata", + "tokenizer": "/home/dgbox/Strata-data/packs/iq3_s/tokenizer", + "model_name": "qwen3.8-flash-next-iq3_s", + "draft_vocab": "cyrillic", + "expert_profile_save": "/home/dgbox/Strata/data/expert-profile-learned-iq3s.bin", + "expert_profile_save_every": 10, + "env": { + "STRATA_PF_FUSED": "1" + }, + "log": "/home/dgbox/Strata/strata-iq3s-resident.log", + "lib_dirs": [ + "/usr/local/cuda/bin", + "/usr/local/cuda/lib64" + ], + "port": 8080, + "host": "0.0.0.0", + "gpu": 0, + "gpus_asked": true, + "vision": { + "exe": "/home/dgbox/Strata/engine/strata-vision", + "mmproj": "/home/dgbox/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/home/dgbox/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + }, + "engine_silence_s": 180, + "fit_max_tokens": true + } + }, + "memory": { + "start_snapshot": { + "vram_used_mib": 22116, + "ram_used_kib": 46273424 + }, + "peak_vram_used_mib": 22116, + "peak_ram_used_kib": 46918576, + "note": "peak = maximum of 2-second samples taken during the measured runs" + }, + "results": [ + { + "case": "4096-prompt", + "target_prompt_tokens": 4096, + "max_tokens": 256, + "prompt_tok_s": { + "median": 2084.2, + "min": 2078.8, + "max": 2086.5, + "n": 3 + }, + "gen_tok_s": { + "median": 76.1, + "min": 62.4, + "max": 91.3, + "n": 3 + }, + "ttft": { + "median": 1.96, + "min": 1.96, + "max": 1.97, + "n": 3 + }, + "wall": { + "median": 3.29, + "min": 3.07, + "max": 3.59, + "n": 3 + }, + "draft_ok": 189, + "draft_n": 257, + "all": [ + { + "prompt_n": 4028, + "prompt_s": 2078.8, + "gen_n": 102, + "gen_s": 62.4, + "draft_n": 88, + "draft_ok": 63, + "cached": 0, + "ttft_s": 1.969, + "wall_s": 3.59, + "text": "Зимний вечер медленно опускался на город, и фонари зажигались один за другим вдо" + }, + { + "prompt_n": 4028, + "prompt_s": 2084.2, + "gen_n": 102, + "gen_s": 76.1, + "draft_n": 84, + "draft_ok": 62, + "cached": 0, + "ttft_s": 1.962, + "wall_s": 3.29, + "text": "Зимний вечер медленно опускался на город, и фонари зажигались один за другим вдо" + }, + { + "prompt_n": 4028, + "prompt_s": 2086.5, + "gen_n": 102, + "gen_s": 91.3, + "draft_n": 85, + "draft_ok": 64, + "cached": 0, + "ttft_s": 1.961, + "wall_s": 3.07, + "text": "Зимний вечер медленно опускался на город, и фонари зажигались один за другим вдо" + } + ] + }, + { + "case": "32768-prompt", + "target_prompt_tokens": 32768, + "max_tokens": 256, + "prompt_tok_s": { + "median": 2991.1, + "min": 2987.3, + "max": 2997.6, + "n": 3 + }, + "gen_tok_s": { + "median": 102.5, + "min": 101.9, + "max": 104.2, + "n": 3 + }, + "ttft": { + "median": 10.78, + "min": 10.75, + "max": 10.79, + "n": 3 + }, + "wall": { + "median": 11.77, + "min": 11.72, + "max": 11.78, + "n": 3 + }, + "draft_ok": 196, + "draft_n": 245, + "all": [ + { + "prompt_n": 31828, + "prompt_s": 2991.1, + "gen_n": 102, + "gen_s": 102.5, + "draft_n": 81, + "draft_ok": 66, + "cached": 0, + "ttft_s": 10.783, + "wall_s": 11.77, + "text": "Зимний вечер медленно опускался на город, и фонари зажигались один за другим вдо" + }, + { + "prompt_n": 31828, + "prompt_s": 2987.3, + "gen_n": 102, + "gen_s": 101.9, + "draft_n": 83, + "draft_ok": 65, + "cached": 0, + "ttft_s": 10.795, + "wall_s": 11.78, + "text": "Зимний вечер медленно опускался на город, и фонари зажигались один за другим вдо" + }, + { + "prompt_n": 31828, + "prompt_s": 2997.6, + "gen_n": 102, + "gen_s": 104.2, + "draft_n": 81, + "draft_ok": 65, + "cached": 0, + "ttft_s": 10.754, + "wall_s": 11.72, + "text": "Зимний вечер медленно опускался на город, и фонари зажигались один за другим вдо" + } + ] + }, + { + "case": "131072-prompt", + "target_prompt_tokens": 131072, + "max_tokens": 256, + "prompt_tok_s": { + "median": 3077.9, + "min": 3075.9, + "max": 3079.6, + "n": 3 + }, + "gen_tok_s": { + "median": 102.2, + "min": 97.7, + "max": 105.2, + "n": 3 + }, + "ttft": { + "median": 41.81, + "min": 41.8, + "max": 41.86, + "n": 3 + }, + "wall": { + "median": 42.82, + "min": 42.8, + "max": 42.83, + "n": 3 + }, + "draft_ok": 197, + "draft_n": 246, + "all": [ + { + "prompt_n": 127228, + "prompt_s": 3079.6, + "gen_n": 102, + "gen_s": 97.7, + "draft_n": 83, + "draft_ok": 65, + "cached": 0, + "ttft_s": 41.8, + "wall_s": 42.83, + "text": "Зимний вечер медленно опускался на город, и фонари зажигались один за другим вдо" + }, + { + "prompt_n": 127228, + "prompt_s": 3075.9, + "gen_n": 102, + "gen_s": 105.2, + "draft_n": 81, + "draft_ok": 67, + "cached": 0, + "ttft_s": 41.864, + "wall_s": 42.82, + "text": "Зимний вечер медленно опускался на город, и фонари зажигались один за другим вдо" + }, + { + "prompt_n": 127228, + "prompt_s": 3077.9, + "gen_n": 102, + "gen_s": 102.2, + "draft_n": 82, + "draft_ok": 65, + "cached": 0, + "ttft_s": 41.814, + "wall_s": 42.8, + "text": "Зимний вечер медленно опускался на город, и фонари зажигались один за другим вдо" + } + ] + }, + { + "case": "gen-only", + "target_prompt_tokens": 120, + "max_tokens": 1024, + "prompt_tok_s": { + "median": 312.6, + "min": 305.6, + "max": 314.0, + "n": 3 + }, + "gen_tok_s": { + "median": 65.9, + "min": 54.6, + "max": 66.5, + "n": 3 + }, + "ttft": { + "median": 0.75, + "min": 0.74, + "max": 0.77, + "n": 3 + }, + "wall": { + "median": 13.18, + "min": 5.31, + "max": 13.49, + "n": 3 + }, + "draft_ok": 673, + "draft_n": 1508, + "all": [ + { + "prompt_n": 228, + "prompt_s": 314.0, + "gen_n": 250, + "gen_s": 54.6, + "draft_n": 194, + "draft_ok": 82, + "cached": 0, + "ttft_s": 0.742, + "wall_s": 5.31, + "text": "Этот текст представляет собой атмосферную зарисовку, построенную на приёме **пов" + }, + { + "prompt_n": 228, + "prompt_s": 312.6, + "gen_n": 840, + "gen_s": 65.9, + "draft_n": 673, + "draft_ok": 300, + "cached": 0, + "ttft_s": 0.747, + "wall_s": 13.49, + "text": "Этот текст представляет собой атмосферную зарисовку, построенную на приёме **пов" + }, + { + "prompt_n": 228, + "prompt_s": 305.6, + "gen_n": 826, + "gen_s": 66.5, + "draft_n": 641, + "draft_ok": 291, + "cached": 0, + "ttft_s": 0.765, + "wall_s": 13.18, + "text": "Этот текст представляет собой атмосферную зарисовку, построенную на приёме **пов" + } + ] + } + ] +} \ No newline at end of file diff --git a/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/README.md b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/README.md new file mode 100644 index 00000000..a95222b1 --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/README.md @@ -0,0 +1,53 @@ +# Community benchmark: NVIDIA GeForce RTX 4090 + +Measured on 2026-10-03 by [Dmitry-B](https://github.com/Dmitry-B). This tests Strata 0.1.38 with qwen3.8-flash-next-iq3_xxs and a 204800-token context. Prompts are code-explanation text; greedy decoding, a 256-token output cap, three runs per configuration; TTFT measured over streaming. These are synthetic workloads; they do not establish general answer quality. + +## Hardware and software + +- GPU: NVIDIA GeForce RTX 4090; 23028 MiB reported VRAM; 480.00 W power limit; PCIe bus 00000000:01:00.0; PCIe link speed and width: not measured. GPU clocks were not fixed. +- CPU: AMD Ryzen 9 7950X 16-Core Processor (32 logical CPUs). +- RAM: 46464 MiB installed; storage layout: see env.json (lsblk output). +- Ubuntu 26.04.1 LTS, kernel 7.0.0-38-generic; NVIDIA driver 610.57.04; release 13.4, V13.4.92. +- Strata commit `1d5e1eaa0867b1fb2a531fc62150957f10056b6e` (branch bench/2026-10-03-rtx4090-community); engine 0.1.38, release binary from the repository's engine/ directory. +- Background workloads: a dsh/Authentik/Caddy web stack and stock Ubuntu services; the GPU was dedicated to Strata but the operating system was not isolated. + +## Model and configuration + +- Model: qwen3.8-flash-next-iq3_xxs (the Strata server's model name); GGUF filenames, sizes, and modification times are in env.json (no hashes). +- Context 204800; INT8 KV; resident experts; GPU vision - see the config copy below. +- Draft vocabulary subset: `draft_vocab=cyrillic` (the English/code subset plus the whole Cyrillic script, ~106k rows). This is wider than the default `en` subset; draft acceptance on English text was unaffected (78-80%), but it can cost a few percent of decode speed. + +```text +/home/dgbox/Strata/engine/strata --serve --pack /home/dgbox/Strata-data/packs/iq3_xxs --native /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile /home/dgbox/Strata/data/expert-profile-learned.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/dgbox/Strata-data/mtp/rt --max-context 204800 --kv int8 --mmap-experts --vision --vram-reserve-mib 989 --control-vector-scaled /home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0 --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer --pcie-frac 0.00 --spec-min-p 0.50 --pool-workers 10 --expert-profile-save /home/dgbox/Strata/data/expert-profile-learned.bin --expert-profile-save-every 10 +``` + +Full server config: [config.json](config.json) (was at /home/dgbox/Strata/strata-200k.json), environment details: [env.json](env.json). + +## Method + +- Warm-up: one 4K-token prompt (64 generated tokens), excluded from the measurements. +- Every measured prompt carries a random marker, so the prompt-prefix cache is not reused; the table's reused column reports the actual reused token counts from the engine. +- Throughput comes from the engine's timing fields (prompt_per_second / predicted_per_second). TTFT is the time to the first non-empty streaming delta, ignoring keep-alives. Total latency (wall) is the whole request time measured at the client. +- temperature=0, reasoning_effort=none, a 256-token output cap (1024 for the generation-only case). The model often stopped early on the repetitive text; actual generated lengths are in the table. +- The expert cache was warmed by the warm-up run and earlier sessions; the expert profile state is in the config copy. +- Memory: peak VRAM/RAM sampled every 2 seconds during the measured runs, plus a start snapshot. + +## Results + +| Configuration | Actual prompt tokens | Reused tokens | Generated tokens | Runs | Prompt tok/s median and range | Decode tok/s median and range | TTFT s median and range | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| 4096-prompt | 3971 | 0 | 256 | 3 | 1844.3 (range 1817.0-1880.3, n=3) | 118.0 (range 107.0-129.6, n=3) | 2.18 s (range 2.13-2.21, n=3) | +| 32768-prompt | 31307 | 0 | 256 | 3 | 2976.2 (range 2806.6-3016.6, n=3) | 127.9 (range 124.2-129.5, n=3) | 10.6 s (range 10.46-11.24, n=3) | +| 131072-prompt | 125011 | 0 | 256 | 3 | 2962.3 (range 2906.5-2964.9, n=3) | 108.4 (range 101.5-114.8, n=3) | 42.5 s (range 42.46-43.31, n=3) | +| gen-only | 163 | 0 | 1024 | 3 | 200.0 (range 194.1-213.8, n=3) | 133.0 (range 130.2-138.9, n=3) | 0.83 s (range 0.78-0.86, n=3) | + +- Total latency (client, wall): 4096-prompt - 4.37 s (range 4.14-4.51, n=3); 32768-prompt - 12.57 s (range 12.45-13.29, n=3); 131072-prompt - 44.72 s (range 43.84-45.66, n=3); gen-only - 8.46 s (range 8.21-8.68, n=3). +- Memory: {"start_snapshot": {"vram_used_mib": 22022, "ram_used_kib": 5871364}, "peak_vram_used_mib": 22022, "peak_ram_used_kib": 6581284, "note": "пик — максимум опросов каждые 2 с во время замеров"} +- Every run with its draft statistics (accepted/total): [runs.json](runs.json). +- Recall check (needle): [needles.json](needles.json). + +## Correctness and limitations + +- Speed measurements do not establish general answer quality. The recall check passed 6/6 at 32K and 128K across depths 10/50/90; see needles.json. +- The GPU was not fully isolated: background services may have added small noise. +- Prompts are synthetic (repeated text with a random marker); real workloads will show different prefix reuse and draft acceptance. \ No newline at end of file diff --git a/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/config.json b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/config.json new file mode 100644 index 00000000..47349e50 --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/config.json @@ -0,0 +1,69 @@ +{ + "exe": "/home/dgbox/Strata/engine/strata", + "args": [ + "--pack", + "/home/dgbox/Strata-data/packs/iq3_xxs", + "--native", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "/home/dgbox/Strata/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--mtp", + "/home/dgbox/Strata-data/mtp/rt", + "--max-context", + "204800", + "--kv", + "int8", + "--mmap-experts", + "--vision", + "--vram-reserve-mib", + "989", + "--control-vector-scaled", + "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0", + "--control-vector-layer-range", + "4", + "44", + "--cvec-mode", + "project", + "--cvec-dir", + "per-layer", + "--pcie-frac", + "0.00", + "--spec-min-p", + "0.50", + "--pool-workers", + "10" + ], + "cwd": "/home/dgbox/Strata", + "tokenizer": "/home/dgbox/Strata-data/packs/iq3_xxs/tokenizer", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "draft_vocab": "cyrillic", + "expert_profile_save": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "expert_profile_save_every": 10, + "env": { + "STRATA_PF_FUSED": "1" + }, + "log": "/home/dgbox/Strata/strata-200k.log", + "lib_dirs": [ + "/usr/local/cuda/bin", + "/usr/local/cuda/lib64" + ], + "port": 8080, + "host": "0.0.0.0", + "gpu": 0, + "gpus_asked": true, + "vision": { + "exe": "/home/dgbox/Strata/engine/strata-vision", + "mmproj": "/home/dgbox/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + } +} \ No newline at end of file diff --git a/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/env.json b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/env.json new file mode 100644 index 00000000..ed076089 --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/env.json @@ -0,0 +1,147 @@ +{ + "collected_at": "2026-10-03T17:17:52", + "gpu": { + "name": "NVIDIA GeForce RTX 4090", + "vram_mib": "23028", + "driver": "610.57.04", + "power_limit_w": "480.00", + "pci_bus": "00000000:01:00.0" + }, + "gpu_link": "Failed to parse --display/-d flags", + "cpu": { + "model": "AMD Ryzen 9 7950X 16-Core Processor", + "logical_cpus": "32" + }, + "ram_total_kib": "47579468", + "os": "Ubuntu 26.04.1 LTS", + "kernel": "7.0.0-38-generic", + "cuda": "release 13.4, V13.4.92", + "storage": "", + "strata_commit": "1d5e1eaa0867b1fb2a531fc62150957f10056b6e", + "strata_branch": "bench/2026-10-03-rtx4090-community", + "engine_version": "0.1.38", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "context": { + "native": 204800, + "max_positions": 204800 + }, + "cache_max_tokens": 204800, + "vision": { + "enabled": true, + "available": true, + "error": null + }, + "engine_launch_command": "/home/dgbox/Strata/engine/strata --serve --pack /home/dgbox/Strata-data/packs/iq3_xxs --native /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile /home/dgbox/Strata/data/expert-profile-learned.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/dgbox/Strata-data/mtp/rt --max-context 204800 --kv int8 --mmap-experts --vision --vram-reserve-mib 989 --control-vector-scaled /home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0 --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer --pcie-frac 0.00 --spec-min-p 0.50 --pool-workers 10 --expert-profile-save /home/dgbox/Strata/data/expert-profile-learned.bin --expert-profile-save-every 10", + "model_files": [ + { + "flag": "--pack", + "path": "/home/dgbox/Strata-data/packs/iq3_xxs", + "kind": "dir" + }, + { + "flag": "--native", + "path": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "size_bytes": 47039860096, + "mtime": "2026-09-30T17:39:46" + }, + { + "flag": "--ple-gguf", + "path": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "size_bytes": 28800138432, + "mtime": "2026-09-30T17:44:33" + }, + { + "flag": "--expert-profile", + "path": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "size_bytes": 196632, + "mtime": "2026-10-03T02:28:04" + }, + { + "flag": "--mtp", + "path": "/home/dgbox/Strata-data/mtp/rt", + "kind": "dir" + }, + { + "flag": "--control-vector-scaled", + "path": "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf", + "size_bytes": 483520, + "mtime": "2026-09-30T17:07:53" + }, + { + "flag": "--expert-profile-save", + "path": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "size_bytes": 196632, + "mtime": "2026-10-03T02:28:04" + } + ], + "server_config_path": "/home/dgbox/Strata/strata-200k.json", + "server_config": { + "exe": "/home/dgbox/Strata/engine/strata", + "args": [ + "--pack", + "/home/dgbox/Strata-data/packs/iq3_xxs", + "--native", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "/home/dgbox/Strata/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--mtp", + "/home/dgbox/Strata-data/mtp/rt", + "--max-context", + "204800", + "--kv", + "int8", + "--mmap-experts", + "--vision", + "--vram-reserve-mib", + "989", + "--control-vector-scaled", + "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0", + "--control-vector-layer-range", + "4", + "44", + "--cvec-mode", + "project", + "--cvec-dir", + "per-layer", + "--pcie-frac", + "0.00", + "--spec-min-p", + "0.50", + "--pool-workers", + "10" + ], + "cwd": "/home/dgbox/Strata", + "tokenizer": "/home/dgbox/Strata-data/packs/iq3_xxs/tokenizer", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "draft_vocab": "cyrillic", + "expert_profile_save": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "expert_profile_save_every": 10, + "env": { + "STRATA_PF_FUSED": "1" + }, + "log": "/home/dgbox/Strata/strata-200k.log", + "lib_dirs": [ + "/usr/local/cuda/bin", + "/usr/local/cuda/lib64" + ], + "port": 8080, + "host": "0.0.0.0", + "gpu": 0, + "gpus_asked": true, + "vision": { + "exe": "/home/dgbox/Strata/engine/strata-vision", + "mmproj": "/home/dgbox/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + } + } +} diff --git a/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/needles.json b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/needles.json new file mode 100644 index 00000000..7f3c3d0d --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/needles.json @@ -0,0 +1,56 @@ +[ + { + "length": "32k", + "depth": 10, + "prompt_tokens": 32075, + "seconds": 11.5, + "found": true, + "word": "meadow-copper-504", + "answer": "meadow-copper-504" + }, + { + "length": "32k", + "depth": 50, + "prompt_tokens": 32075, + "seconds": 10.7, + "found": true, + "word": "falcon-quartz-940", + "answer": "falcon-quartz-940" + }, + { + "length": "32k", + "depth": 90, + "prompt_tokens": 32076, + "seconds": 5.5, + "found": true, + "word": "willow-cobalt-696", + "answer": "willow-cobalt-696" + }, + { + "length": "128k", + "depth": 10, + "prompt_tokens": 122835, + "seconds": 41.0, + "found": true, + "word": "falcon-saffron-138", + "answer": "falcon-saffron-138" + }, + { + "length": "128k", + "depth": 50, + "prompt_tokens": 122833, + "seconds": 40.9, + "found": true, + "word": "quartz-tundra-528", + "answer": "quartz-tundra-528" + }, + { + "length": "128k", + "depth": 90, + "prompt_tokens": 122833, + "seconds": 35.6, + "found": true, + "word": "quartz-glacier-192", + "answer": "quartz-glacier-192" + } +] \ No newline at end of file diff --git a/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/runs.json b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/runs.json new file mode 100644 index 00000000..12aec899 --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-code/runs.json @@ -0,0 +1,438 @@ +{ + "label": "rtx4090-iq3xxs-200k-code", + "style": "code", + "env": { + "collected_at": "2026-10-03T17:17:52", + "gpu": { + "name": "NVIDIA GeForce RTX 4090", + "vram_mib": "23028", + "driver": "610.57.04", + "power_limit_w": "480.00", + "pci_bus": "00000000:01:00.0" + }, + "gpu_link": "Failed to parse --display/-d flags", + "cpu": { + "model": "AMD Ryzen 9 7950X 16-Core Processor", + "logical_cpus": "32" + }, + "ram_total_kib": "47579468", + "os": "Ubuntu 26.04.1 LTS", + "kernel": "7.0.0-38-generic", + "cuda": "release 13.4, V13.4.92", + "storage": "", + "strata_commit": "1d5e1eaa0867b1fb2a531fc62150957f10056b6e", + "strata_branch": "bench/2026-10-03-rtx4090-community", + "engine_version": "0.1.38", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "context": { + "native": 204800, + "max_positions": 204800 + }, + "cache_max_tokens": 204800, + "vision": { + "enabled": true, + "available": true, + "error": null + }, + "engine_launch_command": "/home/dgbox/Strata/engine/strata --serve --pack /home/dgbox/Strata-data/packs/iq3_xxs --native /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile /home/dgbox/Strata/data/expert-profile-learned.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/dgbox/Strata-data/mtp/rt --max-context 204800 --kv int8 --mmap-experts --vision --vram-reserve-mib 989 --control-vector-scaled /home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0 --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer --pcie-frac 0.00 --spec-min-p 0.50 --pool-workers 10 --expert-profile-save /home/dgbox/Strata/data/expert-profile-learned.bin --expert-profile-save-every 10", + "model_files": [ + { + "flag": "--pack", + "path": "/home/dgbox/Strata-data/packs/iq3_xxs", + "kind": "dir" + }, + { + "flag": "--native", + "path": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "size_bytes": 47039860096, + "mtime": "2026-09-30T17:39:46" + }, + { + "flag": "--ple-gguf", + "path": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "size_bytes": 28800138432, + "mtime": "2026-09-30T17:44:33" + }, + { + "flag": "--expert-profile", + "path": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "size_bytes": 196632, + "mtime": "2026-10-03T02:28:04" + }, + { + "flag": "--mtp", + "path": "/home/dgbox/Strata-data/mtp/rt", + "kind": "dir" + }, + { + "flag": "--control-vector-scaled", + "path": "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf", + "size_bytes": 483520, + "mtime": "2026-09-30T17:07:53" + }, + { + "flag": "--expert-profile-save", + "path": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "size_bytes": 196632, + "mtime": "2026-10-03T02:28:04" + } + ], + "server_config_path": "/home/dgbox/Strata/strata-200k.json", + "server_config": { + "exe": "/home/dgbox/Strata/engine/strata", + "args": [ + "--pack", + "/home/dgbox/Strata-data/packs/iq3_xxs", + "--native", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "/home/dgbox/Strata/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--mtp", + "/home/dgbox/Strata-data/mtp/rt", + "--max-context", + "204800", + "--kv", + "int8", + "--mmap-experts", + "--vision", + "--vram-reserve-mib", + "989", + "--control-vector-scaled", + "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0", + "--control-vector-layer-range", + "4", + "44", + "--cvec-mode", + "project", + "--cvec-dir", + "per-layer", + "--pcie-frac", + "0.00", + "--spec-min-p", + "0.50", + "--pool-workers", + "10" + ], + "cwd": "/home/dgbox/Strata", + "tokenizer": "/home/dgbox/Strata-data/packs/iq3_xxs/tokenizer", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "draft_vocab": "cyrillic", + "expert_profile_save": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "expert_profile_save_every": 10, + "env": { + "STRATA_PF_FUSED": "1" + }, + "log": "/home/dgbox/Strata/strata-200k.log", + "lib_dirs": [ + "/usr/local/cuda/bin", + "/usr/local/cuda/lib64" + ], + "port": 8080, + "host": "0.0.0.0", + "gpu": 0, + "gpus_asked": true, + "vision": { + "exe": "/home/dgbox/Strata/engine/strata-vision", + "mmproj": "/home/dgbox/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + } + } + }, + "memory": { + "start_snapshot": { + "vram_used_mib": 22022, + "ram_used_kib": 5871364 + }, + "peak_vram_used_mib": 22022, + "peak_ram_used_kib": 6581284, + "note": "пик — максимум опросов каждые 2 с во время замеров" + }, + "results": [ + { + "case": "4096-prompt", + "target_prompt_tokens": 4096, + "max_tokens": 256, + "prompt_tok_s": { + "median": 1844.3, + "min": 1817.0, + "max": 1880.3, + "n": 3 + }, + "gen_tok_s": { + "median": 118.0, + "min": 107.0, + "max": 129.6, + "n": 3 + }, + "ttft": { + "median": 2.18, + "min": 2.13, + "max": 2.21, + "n": 3 + }, + "wall": { + "median": 4.37, + "min": 4.14, + "max": 4.51, + "n": 3 + }, + "draft_ok": 496, + "draft_n": 659, + "all": [ + { + "prompt_n": 3971, + "prompt_s": 1880.3, + "gen_n": 256, + "gen_s": 107.0, + "draft_n": 213, + "draft_ok": 164, + "cached": 0, + "ttft_s": 2.134, + "wall_s": 4.51, + "text": "Based on the description provided, here is a Rust implementation of the `parse_r" + }, + { + "prompt_n": 3971, + "prompt_s": 1817.0, + "gen_n": 256, + "gen_s": 118.0, + "draft_n": 228, + "draft_ok": 164, + "cached": 0, + "ttft_s": 2.208, + "wall_s": 4.37, + "text": "Based on the description provided, here is a conceptual implementation of the `p" + }, + { + "prompt_n": 3971, + "prompt_s": 1844.3, + "gen_n": 256, + "gen_s": 129.6, + "draft_n": 218, + "draft_ok": 168, + "cached": 0, + "ttft_s": 2.176, + "wall_s": 4.14, + "text": "Based on the description provided, here is a Rust implementation of the `parse_r" + } + ] + }, + { + "case": "32768-prompt", + "target_prompt_tokens": 32768, + "max_tokens": 256, + "prompt_tok_s": { + "median": 2976.2, + "min": 2806.6, + "max": 3016.6, + "n": 3 + }, + "gen_tok_s": { + "median": 127.9, + "min": 124.2, + "max": 129.5, + "n": 3 + }, + "ttft": { + "median": 10.6, + "min": 10.46, + "max": 11.24, + "n": 3 + }, + "wall": { + "median": 12.57, + "min": 12.45, + "max": 13.29, + "n": 3 + }, + "draft_ok": 505, + "draft_n": 665, + "all": [ + { + "prompt_n": 31307, + "prompt_s": 2806.6, + "gen_n": 256, + "gen_s": 124.2, + "draft_n": 218, + "draft_ok": 168, + "cached": 0, + "ttft_s": 11.241, + "wall_s": 13.29, + "text": "Based on the description provided, here is a conceptual implementation of the `p" + }, + { + "prompt_n": 31307, + "prompt_s": 2976.2, + "gen_n": 256, + "gen_s": 129.5, + "draft_n": 221, + "draft_ok": 169, + "cached": 0, + "ttft_s": 10.604, + "wall_s": 12.57, + "text": "Based on the description provided, here is a conceptual implementation of the `p" + }, + { + "prompt_n": 31307, + "prompt_s": 3016.6, + "gen_n": 256, + "gen_s": 127.9, + "draft_n": 226, + "draft_ok": 168, + "cached": 0, + "ttft_s": 10.462, + "wall_s": 12.45, + "text": "Based on the description provided, here is a conceptual implementation of the `p" + } + ] + }, + { + "case": "131072-prompt", + "target_prompt_tokens": 131072, + "max_tokens": 256, + "prompt_tok_s": { + "median": 2962.3, + "min": 2906.5, + "max": 2964.9, + "n": 3 + }, + "gen_tok_s": { + "median": 108.4, + "min": 101.5, + "max": 114.8, + "n": 3 + }, + "ttft": { + "median": 42.5, + "min": 42.46, + "max": 43.31, + "n": 3 + }, + "wall": { + "median": 44.72, + "min": 43.84, + "max": 45.66, + "n": 3 + }, + "draft_ok": 407, + "draft_n": 552, + "all": [ + { + "prompt_n": 125011, + "prompt_s": 2906.5, + "gen_n": 256, + "gen_s": 108.4, + "draft_n": 222, + "draft_ok": 158, + "cached": 0, + "ttft_s": 43.311, + "wall_s": 45.66, + "text": "Based on the description provided, here is a conceptual implementation of the `p" + }, + { + "prompt_n": 125011, + "prompt_s": 2964.9, + "gen_n": 142, + "gen_s": 101.5, + "draft_n": 120, + "draft_ok": 88, + "cached": 0, + "ttft_s": 42.46, + "wall_s": 43.84, + "text": "Based on the text provided, here is a summary of the function `parse_record`:\n\n*" + }, + { + "prompt_n": 125011, + "prompt_s": 2962.3, + "gen_n": 256, + "gen_s": 114.8, + "draft_n": 210, + "draft_ok": 161, + "cached": 0, + "ttft_s": 42.5, + "wall_s": 44.72, + "text": "Based on the description provided, here is a conceptual implementation of the `p" + } + ] + }, + { + "case": "gen-only", + "target_prompt_tokens": 120, + "max_tokens": 1024, + "prompt_tok_s": { + "median": 200.0, + "min": 194.1, + "max": 213.8, + "n": 3 + }, + "gen_tok_s": { + "median": 133.0, + "min": 130.2, + "max": 138.9, + "n": 3 + }, + "ttft": { + "median": 0.83, + "min": 0.78, + "max": 0.86, + "n": 3 + }, + "wall": { + "median": 8.46, + "min": 8.21, + "max": 8.68, + "n": 3 + }, + "draft_ok": 2079, + "draft_n": 2616, + "all": [ + { + "prompt_n": 163, + "prompt_s": 213.8, + "gen_n": 1024, + "gen_s": 133.0, + "draft_n": 874, + "draft_ok": 697, + "cached": 0, + "ttft_s": 0.777, + "wall_s": 8.46, + "text": "Based on the description provided, here is a Rust implementation of the `parse_r" + }, + { + "prompt_n": 163, + "prompt_s": 194.1, + "gen_n": 1024, + "gen_s": 138.9, + "draft_n": 866, + "draft_ok": 700, + "cached": 0, + "ttft_s": 0.858, + "wall_s": 8.21, + "text": "Based on the description provided, here is a Rust implementation of the `parse_r" + }, + { + "prompt_n": 163, + "prompt_s": 200.0, + "gen_n": 1024, + "gen_s": 130.2, + "draft_n": 876, + "draft_ok": 682, + "cached": 0, + "ttft_s": 0.834, + "wall_s": 8.68, + "text": "Based on the description provided, here is a conceptual implementation of the `p" + } + ] + } + ] +} \ No newline at end of file diff --git a/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/README.md b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/README.md new file mode 100644 index 00000000..03b3b682 --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/README.md @@ -0,0 +1,53 @@ +# Community benchmark: NVIDIA GeForce RTX 4090 + +Measured on 2026-10-03 by [Dmitry-B](https://github.com/Dmitry-B). This tests Strata 0.1.38 with qwen3.8-flash-next-iq3_xxs and a 204800-token context. Prompts are Russian prose; greedy decoding, a 256-token output cap, three runs per configuration; TTFT measured over streaming. These are synthetic workloads; they do not establish general answer quality. + +## Hardware and software + +- GPU: NVIDIA GeForce RTX 4090; 23028 MiB reported VRAM; 480.00 W power limit; PCIe bus 00000000:01:00.0; PCIe link speed and width: not measured. GPU clocks were not fixed. +- CPU: AMD Ryzen 9 7950X 16-Core Processor (32 logical CPUs). +- RAM: 46464 MiB installed; storage layout: see env.json (lsblk output). +- Ubuntu 26.04.1 LTS, kernel 7.0.0-38-generic; NVIDIA driver 610.57.04; release 13.4, V13.4.92. +- Strata commit `1d5e1eaa0867b1fb2a531fc62150957f10056b6e` (branch bench/2026-10-03-rtx4090-community); engine 0.1.38, release binary from the repository's engine/ directory. +- Background workloads: a dsh/Authentik/Caddy web stack and stock Ubuntu services; the GPU was dedicated to Strata but the operating system was not isolated. + +## Model and configuration + +- Model: qwen3.8-flash-next-iq3_xxs (the Strata server's model name); GGUF filenames, sizes, and modification times are in env.json (no hashes). +- Context 204800; INT8 KV; resident experts; GPU vision - see the config copy below. +- Draft vocabulary subset: `draft_vocab=cyrillic` (the English/code subset plus the whole Cyrillic script, ~106k rows). This is wider than the default `en` subset; draft acceptance on English text was unaffected (78-80%), but it can cost a few percent of decode speed. + +```text +/home/dgbox/Strata/engine/strata --serve --pack /home/dgbox/Strata-data/packs/iq3_xxs --native /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile /home/dgbox/Strata/data/expert-profile-learned.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/dgbox/Strata-data/mtp/rt --max-context 204800 --kv int8 --mmap-experts --vision --vram-reserve-mib 989 --control-vector-scaled /home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0 --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer --pcie-frac 0.00 --spec-min-p 0.50 --pool-workers 10 --expert-profile-save /home/dgbox/Strata/data/expert-profile-learned.bin --expert-profile-save-every 10 +``` + +Full server config: [config.json](config.json) (was at /home/dgbox/Strata/strata-200k.json), environment details: [env.json](env.json). + +## Method + +- Warm-up: one 4K-token prompt (64 generated tokens), excluded from the measurements. +- Every measured prompt carries a random marker, so the prompt-prefix cache is not reused; the table's reused column reports the actual reused token counts from the engine. +- Throughput comes from the engine's timing fields (prompt_per_second / predicted_per_second). TTFT is the time to the first non-empty streaming delta, ignoring keep-alives. Total latency (wall) is the whole request time measured at the client. +- temperature=0, reasoning_effort=none, a 256-token output cap (1024 for the generation-only case). The model often stopped early on the repetitive text; actual generated lengths are in the table. +- The expert cache was warmed by the warm-up run and earlier sessions; the expert profile state is in the config copy. +- Memory: peak VRAM/RAM sampled every 2 seconds during the measured runs, plus a start snapshot. + +## Results + +| Configuration | Actual prompt tokens | Reused tokens | Generated tokens | Runs | Prompt tok/s median and range | Decode tok/s median and range | TTFT s median and range | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| 4096-prompt | 4028 | 0 | 142 | 3 | 1823.8 (range 1797.2-1892.1, n=3) | 94.2 (range 80.1-95.2, n=3) | 2.24 s (range 2.16-2.27, n=3) | +| 32768-prompt | 31828 | 0 | 256 | 3 | 2912.0 (range 2793.9-2962.9, n=3) | 85.6 (range 74.9-86.8, n=3) | 11.06 s (range 10.87-11.52, n=3) | +| 131072-prompt | 127228 | 0 | 119 | 3 | 2984.2 (range 2957.9-2986.1, n=3) | 90.3 (range 86.2-102.8, n=3) | 43.11 s (range 43.08-43.5, n=3) | +| gen-only | 228 | 0 | 450 | 3 | 279.7 (range 274.0-297.8, n=3) | 82.9 (range 82.8-85.8, n=3) | 0.83 s (range 0.78-0.85, n=3) | + +- Total latency (client, wall): 4096-prompt - 3.75 s (range 3.73-3.86, n=3); 32768-prompt - 14.04 s (range 13.6-14.93, n=3); 131072-prompt - 44.52 s (range 44.26-44.86, n=3); gen-only - 6.27 s (range 5.08-9.74, n=3). +- Memory: {"start_snapshot": {"vram_used_mib": 22022, "ram_used_kib": 5819728}, "peak_vram_used_mib": 22022, "peak_ram_used_kib": 6529600, "note": "пик — максимум опросов каждые 2 с во время замеров"} +- Every run with its draft statistics (accepted/total): [runs.json](runs.json). +- Recall check (needle): [needles.json](needles.json). + +## Correctness and limitations + +- Speed measurements do not establish general answer quality. The recall check passed 6/6 at 32K and 128K across depths 10/50/90; see needles.json. +- The GPU was not fully isolated: background services may have added small noise. +- Prompts are synthetic (repeated text with a random marker); real workloads will show different prefix reuse and draft acceptance. \ No newline at end of file diff --git a/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/config.json b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/config.json new file mode 100644 index 00000000..47349e50 --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/config.json @@ -0,0 +1,69 @@ +{ + "exe": "/home/dgbox/Strata/engine/strata", + "args": [ + "--pack", + "/home/dgbox/Strata-data/packs/iq3_xxs", + "--native", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "/home/dgbox/Strata/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--mtp", + "/home/dgbox/Strata-data/mtp/rt", + "--max-context", + "204800", + "--kv", + "int8", + "--mmap-experts", + "--vision", + "--vram-reserve-mib", + "989", + "--control-vector-scaled", + "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0", + "--control-vector-layer-range", + "4", + "44", + "--cvec-mode", + "project", + "--cvec-dir", + "per-layer", + "--pcie-frac", + "0.00", + "--spec-min-p", + "0.50", + "--pool-workers", + "10" + ], + "cwd": "/home/dgbox/Strata", + "tokenizer": "/home/dgbox/Strata-data/packs/iq3_xxs/tokenizer", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "draft_vocab": "cyrillic", + "expert_profile_save": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "expert_profile_save_every": 10, + "env": { + "STRATA_PF_FUSED": "1" + }, + "log": "/home/dgbox/Strata/strata-200k.log", + "lib_dirs": [ + "/usr/local/cuda/bin", + "/usr/local/cuda/lib64" + ], + "port": 8080, + "host": "0.0.0.0", + "gpu": 0, + "gpus_asked": true, + "vision": { + "exe": "/home/dgbox/Strata/engine/strata-vision", + "mmproj": "/home/dgbox/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + } +} \ No newline at end of file diff --git a/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/env.json b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/env.json new file mode 100644 index 00000000..467706b3 --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/env.json @@ -0,0 +1,147 @@ +{ + "collected_at": "2026-10-03T17:11:53", + "gpu": { + "name": "NVIDIA GeForce RTX 4090", + "vram_mib": "23028", + "driver": "610.57.04", + "power_limit_w": "480.00", + "pci_bus": "00000000:01:00.0" + }, + "gpu_link": "Failed to parse --display/-d flags", + "cpu": { + "model": "AMD Ryzen 9 7950X 16-Core Processor", + "logical_cpus": "32" + }, + "ram_total_kib": "47579468", + "os": "Ubuntu 26.04.1 LTS", + "kernel": "7.0.0-38-generic", + "cuda": "release 13.4, V13.4.92", + "storage": "", + "strata_commit": "1d5e1eaa0867b1fb2a531fc62150957f10056b6e", + "strata_branch": "bench/2026-10-03-rtx4090-community", + "engine_version": "0.1.38", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "context": { + "native": 204800, + "max_positions": 204800 + }, + "cache_max_tokens": 204800, + "vision": { + "enabled": true, + "available": true, + "error": null + }, + "engine_launch_command": "/home/dgbox/Strata/engine/strata --serve --pack /home/dgbox/Strata-data/packs/iq3_xxs --native /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile /home/dgbox/Strata/data/expert-profile-learned.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/dgbox/Strata-data/mtp/rt --max-context 204800 --kv int8 --mmap-experts --vision --vram-reserve-mib 989 --control-vector-scaled /home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0 --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer --pcie-frac 0.00 --spec-min-p 0.50 --pool-workers 10 --expert-profile-save /home/dgbox/Strata/data/expert-profile-learned.bin --expert-profile-save-every 10", + "model_files": [ + { + "flag": "--pack", + "path": "/home/dgbox/Strata-data/packs/iq3_xxs", + "kind": "dir" + }, + { + "flag": "--native", + "path": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "size_bytes": 47039860096, + "mtime": "2026-09-30T17:39:46" + }, + { + "flag": "--ple-gguf", + "path": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "size_bytes": 28800138432, + "mtime": "2026-09-30T17:44:33" + }, + { + "flag": "--expert-profile", + "path": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "size_bytes": 196632, + "mtime": "2026-10-03T02:28:04" + }, + { + "flag": "--mtp", + "path": "/home/dgbox/Strata-data/mtp/rt", + "kind": "dir" + }, + { + "flag": "--control-vector-scaled", + "path": "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf", + "size_bytes": 483520, + "mtime": "2026-09-30T17:07:53" + }, + { + "flag": "--expert-profile-save", + "path": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "size_bytes": 196632, + "mtime": "2026-10-03T02:28:04" + } + ], + "server_config_path": "/home/dgbox/Strata/strata-200k.json", + "server_config": { + "exe": "/home/dgbox/Strata/engine/strata", + "args": [ + "--pack", + "/home/dgbox/Strata-data/packs/iq3_xxs", + "--native", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "/home/dgbox/Strata/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--mtp", + "/home/dgbox/Strata-data/mtp/rt", + "--max-context", + "204800", + "--kv", + "int8", + "--mmap-experts", + "--vision", + "--vram-reserve-mib", + "989", + "--control-vector-scaled", + "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0", + "--control-vector-layer-range", + "4", + "44", + "--cvec-mode", + "project", + "--cvec-dir", + "per-layer", + "--pcie-frac", + "0.00", + "--spec-min-p", + "0.50", + "--pool-workers", + "10" + ], + "cwd": "/home/dgbox/Strata", + "tokenizer": "/home/dgbox/Strata-data/packs/iq3_xxs/tokenizer", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "draft_vocab": "cyrillic", + "expert_profile_save": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "expert_profile_save_every": 10, + "env": { + "STRATA_PF_FUSED": "1" + }, + "log": "/home/dgbox/Strata/strata-200k.log", + "lib_dirs": [ + "/usr/local/cuda/bin", + "/usr/local/cuda/lib64" + ], + "port": 8080, + "host": "0.0.0.0", + "gpu": 0, + "gpus_asked": true, + "vision": { + "exe": "/home/dgbox/Strata/engine/strata-vision", + "mmproj": "/home/dgbox/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + } + } +} diff --git a/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/needles.json b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/needles.json new file mode 100644 index 00000000..8226e356 --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/needles.json @@ -0,0 +1,56 @@ +[ + { + "length": "32k", + "depth": 10, + "prompt_tokens": 32075, + "seconds": 11.3, + "found": true, + "word": "meadow-copper-504", + "answer": "meadow-copper-504" + }, + { + "length": "32k", + "depth": 50, + "prompt_tokens": 32075, + "seconds": 10.7, + "found": true, + "word": "falcon-quartz-940", + "answer": "falcon-quartz-940" + }, + { + "length": "32k", + "depth": 90, + "prompt_tokens": 32076, + "seconds": 5.6, + "found": true, + "word": "willow-cobalt-696", + "answer": "willow-cobalt-696" + }, + { + "length": "128k", + "depth": 10, + "prompt_tokens": 122835, + "seconds": 41.7, + "found": true, + "word": "falcon-saffron-138", + "answer": "falcon-saffron-138" + }, + { + "length": "128k", + "depth": 50, + "prompt_tokens": 122833, + "seconds": 40.9, + "found": true, + "word": "quartz-tundra-528", + "answer": "quartz-tundra-528" + }, + { + "length": "128k", + "depth": 90, + "prompt_tokens": 122833, + "seconds": 35.7, + "found": true, + "word": "quartz-glacier-192", + "answer": "quartz-glacier-192" + } +] \ No newline at end of file diff --git a/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/runs.json b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/runs.json new file mode 100644 index 00000000..b97a3392 --- /dev/null +++ b/bench/results/2026-10-03-community-rtx4090-iq3xxs-200k-ru/runs.json @@ -0,0 +1,438 @@ +{ + "label": "rtx4090-iq3xxs-200k-ru", + "style": "ru", + "env": { + "collected_at": "2026-10-03T17:11:53", + "gpu": { + "name": "NVIDIA GeForce RTX 4090", + "vram_mib": "23028", + "driver": "610.57.04", + "power_limit_w": "480.00", + "pci_bus": "00000000:01:00.0" + }, + "gpu_link": "Failed to parse --display/-d flags", + "cpu": { + "model": "AMD Ryzen 9 7950X 16-Core Processor", + "logical_cpus": "32" + }, + "ram_total_kib": "47579468", + "os": "Ubuntu 26.04.1 LTS", + "kernel": "7.0.0-38-generic", + "cuda": "release 13.4, V13.4.92", + "storage": "", + "strata_commit": "1d5e1eaa0867b1fb2a531fc62150957f10056b6e", + "strata_branch": "bench/2026-10-03-rtx4090-community", + "engine_version": "0.1.38", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "context": { + "native": 204800, + "max_positions": 204800 + }, + "cache_max_tokens": 204800, + "vision": { + "enabled": true, + "available": true, + "error": null + }, + "engine_launch_command": "/home/dgbox/Strata/engine/strata --serve --pack /home/dgbox/Strata-data/packs/iq3_xxs --native /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile /home/dgbox/Strata/data/expert-profile-learned.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/dgbox/Strata-data/mtp/rt --max-context 204800 --kv int8 --mmap-experts --vision --vram-reserve-mib 989 --control-vector-scaled /home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0 --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer --pcie-frac 0.00 --spec-min-p 0.50 --pool-workers 10 --expert-profile-save /home/dgbox/Strata/data/expert-profile-learned.bin --expert-profile-save-every 10", + "model_files": [ + { + "flag": "--pack", + "path": "/home/dgbox/Strata-data/packs/iq3_xxs", + "kind": "dir" + }, + { + "flag": "--native", + "path": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "size_bytes": 47039860096, + "mtime": "2026-09-30T17:39:46" + }, + { + "flag": "--ple-gguf", + "path": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "size_bytes": 28800138432, + "mtime": "2026-09-30T17:44:33" + }, + { + "flag": "--expert-profile", + "path": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "size_bytes": 196632, + "mtime": "2026-10-03T02:28:04" + }, + { + "flag": "--mtp", + "path": "/home/dgbox/Strata-data/mtp/rt", + "kind": "dir" + }, + { + "flag": "--control-vector-scaled", + "path": "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf", + "size_bytes": 483520, + "mtime": "2026-09-30T17:07:53" + }, + { + "flag": "--expert-profile-save", + "path": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "size_bytes": 196632, + "mtime": "2026-10-03T02:28:04" + } + ], + "server_config_path": "/home/dgbox/Strata/strata-200k.json", + "server_config": { + "exe": "/home/dgbox/Strata/engine/strata", + "args": [ + "--pack", + "/home/dgbox/Strata-data/packs/iq3_xxs", + "--native", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "/home/dgbox/Strata/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--mtp", + "/home/dgbox/Strata-data/mtp/rt", + "--max-context", + "204800", + "--kv", + "int8", + "--mmap-experts", + "--vision", + "--vram-reserve-mib", + "989", + "--control-vector-scaled", + "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0", + "--control-vector-layer-range", + "4", + "44", + "--cvec-mode", + "project", + "--cvec-dir", + "per-layer", + "--pcie-frac", + "0.00", + "--spec-min-p", + "0.50", + "--pool-workers", + "10" + ], + "cwd": "/home/dgbox/Strata", + "tokenizer": "/home/dgbox/Strata-data/packs/iq3_xxs/tokenizer", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "draft_vocab": "cyrillic", + "expert_profile_save": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "expert_profile_save_every": 10, + "env": { + "STRATA_PF_FUSED": "1" + }, + "log": "/home/dgbox/Strata/strata-200k.log", + "lib_dirs": [ + "/usr/local/cuda/bin", + "/usr/local/cuda/lib64" + ], + "port": 8080, + "host": "0.0.0.0", + "gpu": 0, + "gpus_asked": true, + "vision": { + "exe": "/home/dgbox/Strata/engine/strata-vision", + "mmproj": "/home/dgbox/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + } + } + }, + "memory": { + "start_snapshot": { + "vram_used_mib": 22022, + "ram_used_kib": 5819728 + }, + "peak_vram_used_mib": 22022, + "peak_ram_used_kib": 6529600, + "note": "пик — максимум опросов каждые 2 с во время замеров" + }, + "results": [ + { + "case": "4096-prompt", + "target_prompt_tokens": 4096, + "max_tokens": 256, + "prompt_tok_s": { + "median": 1823.8, + "min": 1797.2, + "max": 1892.1, + "n": 3 + }, + "gen_tok_s": { + "median": 94.2, + "min": 80.1, + "max": 95.2, + "n": 3 + }, + "ttft": { + "median": 2.24, + "min": 2.16, + "max": 2.27, + "n": 3 + }, + "wall": { + "median": 3.75, + "min": 3.73, + "max": 3.86, + "n": 3 + }, + "draft_ok": 147, + "draft_n": 271, + "all": [ + { + "prompt_n": 4028, + "prompt_s": 1892.1, + "gen_n": 137, + "gen_s": 80.1, + "draft_n": 88, + "draft_ok": 47, + "cached": 0, + "ttft_s": 2.159, + "wall_s": 3.86, + "text": "Это очень атмосферный и меланхоличный текст. Повторение одного и того же абзаца " + }, + { + "prompt_n": 4028, + "prompt_s": 1797.2, + "gen_n": 142, + "gen_s": 95.2, + "draft_n": 87, + "draft_ok": 50, + "cached": 0, + "ttft_s": 2.27, + "wall_s": 3.75, + "text": "Это очень атмосферный и меланхоличный текст. Повторение одного и того же абзаца " + }, + { + "prompt_n": 4028, + "prompt_s": 1823.8, + "gen_n": 142, + "gen_s": 94.2, + "draft_n": 96, + "draft_ok": 50, + "cached": 0, + "ttft_s": 2.238, + "wall_s": 3.73, + "text": "Это очень атмосферный и меланхоличный текст. Повторение одного и того же абзаца " + } + ] + }, + { + "case": "32768-prompt", + "target_prompt_tokens": 32768, + "max_tokens": 256, + "prompt_tok_s": { + "median": 2912.0, + "min": 2793.9, + "max": 2962.9, + "n": 3 + }, + "gen_tok_s": { + "median": 85.6, + "min": 74.9, + "max": 86.8, + "n": 3 + }, + "ttft": { + "median": 11.06, + "min": 10.87, + "max": 11.52, + "n": 3 + }, + "wall": { + "median": 14.04, + "min": 13.6, + "max": 14.93, + "n": 3 + }, + "draft_ok": 312, + "draft_n": 534, + "all": [ + { + "prompt_n": 31828, + "prompt_s": 2793.9, + "gen_n": 256, + "gen_s": 74.9, + "draft_n": 180, + "draft_ok": 101, + "cached": 0, + "ttft_s": 11.521, + "wall_s": 14.93, + "text": "Это текст представляет собой **повторяющийся фрагмент** (loop), который многокра" + }, + { + "prompt_n": 31828, + "prompt_s": 2912.0, + "gen_n": 256, + "gen_s": 85.6, + "draft_n": 186, + "draft_ok": 105, + "cached": 0, + "ttft_s": 11.059, + "wall_s": 14.04, + "text": "Это текст представляет собой **повторяющийся фрагмент** (loop), который многокра" + }, + { + "prompt_n": 31828, + "prompt_s": 2962.9, + "gen_n": 238, + "gen_s": 86.8, + "draft_n": 168, + "draft_ok": 106, + "cached": 0, + "ttft_s": 10.869, + "wall_s": 13.6, + "text": "Это текст представляет собой **повторяющийся фрагмент** (loop), который многокра" + } + ] + }, + { + "case": "131072-prompt", + "target_prompt_tokens": 131072, + "max_tokens": 256, + "prompt_tok_s": { + "median": 2984.2, + "min": 2957.9, + "max": 2986.1, + "n": 3 + }, + "gen_tok_s": { + "median": 90.3, + "min": 86.2, + "max": 102.8, + "n": 3 + }, + "ttft": { + "median": 43.11, + "min": 43.08, + "max": 43.5, + "n": 3 + }, + "wall": { + "median": 44.52, + "min": 44.26, + "max": 44.86, + "n": 3 + }, + "draft_ok": 174, + "draft_n": 252, + "all": [ + { + "prompt_n": 127228, + "prompt_s": 2957.9, + "gen_n": 118, + "gen_s": 86.2, + "draft_n": 73, + "draft_ok": 54, + "cached": 0, + "ttft_s": 43.499, + "wall_s": 44.86, + "text": "Это текст, который многократно повторяется. Вот его уникальная часть:\n\nЗимний ве" + }, + { + "prompt_n": 127228, + "prompt_s": 2986.1, + "gen_n": 131, + "gen_s": 90.3, + "draft_n": 97, + "draft_ok": 62, + "cached": 0, + "ttft_s": 43.081, + "wall_s": 44.52, + "text": "Это текст, который многократно повторяется. Вот его содержание:\n\n**Зимний вечер " + }, + { + "prompt_n": 127228, + "prompt_s": 2984.2, + "gen_n": 119, + "gen_s": 102.8, + "draft_n": 82, + "draft_ok": 58, + "cached": 0, + "ttft_s": 43.113, + "wall_s": 44.26, + "text": "Это текст, который многократно повторяется. Вот его уникальная часть:\n\n**Зимний " + } + ] + }, + { + "case": "gen-only", + "target_prompt_tokens": 120, + "max_tokens": 1024, + "prompt_tok_s": { + "median": 279.7, + "min": 274.0, + "max": 297.8, + "n": 3 + }, + "gen_tok_s": { + "median": 82.9, + "min": 82.8, + "max": 85.8, + "n": 3 + }, + "ttft": { + "median": 0.83, + "min": 0.78, + "max": 0.85, + "n": 3 + }, + "wall": { + "median": 6.27, + "min": 5.08, + "max": 9.74, + "n": 3 + }, + "draft_ok": 500, + "draft_n": 1230, + "all": [ + { + "prompt_n": 228, + "prompt_s": 297.8, + "gen_n": 770, + "gen_s": 85.8, + "draft_n": 614, + "draft_ok": 266, + "cached": 0, + "ttft_s": 0.779, + "wall_s": 9.74, + "text": "Этот текст представляет собой атмосферную зарисовку зимнего города, написанную в" + }, + { + "prompt_n": 228, + "prompt_s": 274.0, + "gen_n": 450, + "gen_s": 82.9, + "draft_n": 354, + "draft_ok": 131, + "cached": 0, + "ttft_s": 0.848, + "wall_s": 6.27, + "text": "Этот текст представляет собой атмосферную зарисовку зимнего города, написанную в" + }, + { + "prompt_n": 228, + "prompt_s": 279.7, + "gen_n": 353, + "gen_s": 82.8, + "draft_n": 262, + "draft_ok": 103, + "cached": 0, + "ttft_s": 0.832, + "wall_s": 5.08, + "text": "Этот текст представляет собой атмосферную зарисовку зимнего города, написанную в" + } + ] + } + ] +} \ No newline at end of file diff --git a/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/README.md b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/README.md new file mode 100644 index 00000000..059cc530 --- /dev/null +++ b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/README.md @@ -0,0 +1,83 @@ +# Community benchmark: NVIDIA GeForce RTX 4090 + +Measured on 2026-10-04 by [Dmitry-B](https://github.com/Dmitry-B). This tests Strata 0.1.39 with qwen3.8-flash-next-iq3_xxs and a 204800-token context. Prompts are code-explanation text; greedy decoding, a 256-token output cap, three runs per configuration; TTFT measured over streaming. These are synthetic workloads; they do not establish general answer quality. + +## Hardware and software + +- GPU: NVIDIA GeForce RTX 4090; 23028 MiB reported VRAM; 480.00 W power limit; PCIe bus 00000000:01:00.0; PCIe link speed and width: not measured. GPU clocks were not fixed. +- CPU: AMD Ryzen 9 7950X 16-Core Processor (32 logical CPUs). +- RAM: 46464 MiB installed; storage layout: see env.json (lsblk output). +- Ubuntu 26.04.1 LTS, kernel 7.0.0-38-generic; NVIDIA driver 610.57.04; release 13.4, V13.4.92. +- Strata commit `2900da3ba8de27a467b4b3fcea6a4ca2a9061bea` (branch bench/2026-10-03-rtx4090-community); engine 0.1.39, release binary from the repository's engine/ directory. +- Background workloads: a dsh/Authentik/Caddy web stack and stock Ubuntu services; the GPU was dedicated to Strata but the operating system was not isolated. + +## Model and configuration + +- Model: qwen3.8-flash-next-iq3_xxs (the Strata server's model name); GGUF filenames, sizes, and modification times are in env.json (no hashes). +- Context 204800; INT8 KV; resident experts; GPU vision - see the config copy below. +- Draft vocabulary subset: `draft_vocab=cyrillic` (the English/code subset plus the whole Cyrillic script, ~106k rows). This is wider than the default `en` subset; draft acceptance on English text was unaffected (78-80%), but it can cost a few percent of decode speed. + +```text +/home/dgbox/Strata/engine/strata --serve --pack /home/dgbox/Strata-data/packs/iq3_xxs --native /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile /home/dgbox/Strata/data/expert-profile-learned.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/dgbox/Strata-data/mtp/rt --max-context 204800 --kv int8 --mmap-experts --vision --vram-reserve-mib 989 --control-vector-scaled /home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0 --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer --pcie-frac 0.00 --spec-min-p 0.50 --pool-workers 10 --expert-profile-save /home/dgbox/Strata/data/expert-profile-learned.bin --expert-profile-save-every 10 +``` + +Full server config: [config.json](config.json) (was at /home/dgbox/Strata/strata-200k.json), environment details: [env.json](env.json). + +## Method + +- Warm-up: one 4K-token prompt (64 generated tokens), excluded from the measurements. +- Every measured prompt carries a random marker, so the prompt-prefix cache is not reused; the table's reused column reports the actual reused token counts from the engine. +- Throughput comes from the engine's timing fields (prompt_per_second / predicted_per_second). TTFT is the time to the first non-empty streaming delta, ignoring keep-alives. Total latency (wall) is the whole request time measured at the client. +- temperature=0, reasoning_effort=none, a 256-token output cap (1024 for the generation-only case). The model often stopped early on the repetitive text; actual generated lengths are in the table. +- The expert cache was warmed by the warm-up run and earlier sessions; the expert profile state is in the config copy. +- Memory: peak VRAM/RAM sampled every 2 seconds during the measured runs, plus a start snapshot. + +## Results + +| Configuration | Actual prompt tokens | Reused tokens | Generated tokens | Runs | Prompt tok/s median and range | Decode tok/s median and range | TTFT s median and range | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| 4096-prompt | 3971 | 0 | 256 | 3 | 1966.2 (range 1952.4-1967.7, n=3) | 123.6 (range 109.6-134.3, n=3) | 2.04 s (range 2.04-2.06, n=3) | +| 32768-prompt | 31307 | 0 | 256 | 3 | 2973.7 (range 2952.3-3130.1, n=3) | 134.9 (range 123.8-136.0, n=3) | 10.61 s (range 10.09-10.69, n=3) | +| 131072-prompt | 125011 | 0 | 183 | 3 | 3084.9 (range 3043.4-3109.1, n=3) | 120.3 (range 91.5-124.1, n=3) | 40.82 s (range 40.51-91.16, n=3) | +| gen-only | 163 | 0 | 1024 | 3 | 205.3 (range 204.7-219.0, n=3) | 135.8 (range 135.2-138.6, n=3) | 0.81 s (range 0.76-0.82, n=3) | + +- Total latency (client, wall): 4096-prompt - 4.1 s (range 3.94-4.38, n=3); 32768-prompt - 12.48 s (range 11.97-12.75, n=3); 131072-prompt - 42.87 s (range 42.02-92.7, n=3); gen-only - 8.29 s (range 8.18-8.37, n=3). +- Memory: {"start_snapshot": {"vram_used_mib": 22031, "ram_used_kib": 5931132}, "peak_vram_used_mib": 22031, "peak_ram_used_kib": 6667592, "note": "пик — максимум опросов каждые 2 с во время замеров"} +- Every run with its draft statistics (accepted/total): [runs.json](runs.json). +- Recall check (needle): [needles.json](needles.json). + +## Correctness and limitations + +- Speed measurements do not establish general answer quality. The recall check passed 6/6 at 32K and 128K across depths 10/50/90; see needles.json. +- The GPU was not fully isolated: background services may have added small noise. +- Prompts are synthetic (repeated text with a random marker); real workloads will show different prefix reuse and draft acceptance. +- One measured run is contaminated by the interactive session this machine was also serving: a 139,527-token request + from another client was served between two 131072-prompt runs (the server answers one sequence at a time), which is + why that case's TTFT and wall ranges reach 91 s and 93 s. The engine-side timings of that run are unaffected + (125,011 tokens read at 3043 tok/s, the same as its two neighbours); only the client-side waiting is inflated. + + +## Comparison with engine 0.1.38 + +The same PC, the same model and the same run configuration as +[2026-10-03-community-rtx4090-iq3xxs-200k-code](../2026-10-03-community-rtx4090-iq3xxs-200k-code/README.md) +(engine 0.1.38, Strata commit `1d5e1ea`). Only the Strata version changed: 0.1.38 -> 0.1.39, source build, same +CUDA 13.4, same `sm_89`, same arguments, same `expert-profile-learned.bin`. The engine's auto prompt chunk is +unchanged in both (`prompt chunk auto: 8192` in the server log), so the byte-budget ring of #583 does not apply to +this configuration. + +| Configuration | Prompt tok/s 0.1.38 -> 0.1.39 | Decode tok/s 0.1.38 -> 0.1.39 | TTFT s 0.1.38 -> 0.1.39 | +| --- | --- | --- | --- | +| 4096-prompt | 1844.3 -> 1966.2 (+6.6%) | 118.0 -> 123.6 (+4.7%) | 2.18 -> 2.04 | +| 32768-prompt | 2976.2 -> 2973.7 (-0.1%) | 127.9 -> 134.9 (+5.5%) | 10.6 -> 10.61 | +| 131072-prompt | 2962.3 -> 3084.9 (+4.1%) | 108.4 -> 120.3 (+11.0%) | 42.5 -> 40.82 | +| gen-only | 200.0 -> 205.3 (+2.7%) | 133.0 -> 135.8 (+2.1%) | 0.83 -> 0.81 | + +- Prompt throughput is the comparable number: it comes from the engine's own timing, and the ranges are tight in both + runs (2906-2965 and 3021-3110 tok/s at 131072-prompt). +- Decode medians are the least comparable column. Every measured prompt carries a random marker, and on this repetitive + text the model stops early at a different point each run, so the generated lengths differ between the two reports + (for example 142 vs 256 tokens at 4096-prompt). A shorter answer and a longer one do not have the same draft + acceptance. The `gen-only` case, which always runs to the 1024-token cap, is the cleanest decode comparison of the + four. +- Recall: 6/6 at 32K and 128K in both versions. diff --git a/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/config.json b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/config.json new file mode 100644 index 00000000..db8a113a --- /dev/null +++ b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/config.json @@ -0,0 +1,91 @@ +{ + "exe": "/home/dgbox/Strata/engine/strata", + "args": [ + "--pack", + "/home/dgbox/Strata-data/packs/iq3_xxs", + "--native", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "/home/dgbox/Strata/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--mtp", + "/home/dgbox/Strata-data/mtp/rt", + "--max-context", + "204800", + "--kv", + "int8", + "--mmap-experts", + "--vision", + "--vram-reserve-mib", + "989", + "--control-vector-scaled", + "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0", + "--control-vector-layer-range", + "4", + "44", + "--cvec-mode", + "project", + "--cvec-dir", + "per-layer", + "--pcie-frac", + "0.00", + "--spec-min-p", + "0.50", + "--pool-workers", + "10" + ], + "cwd": "/home/dgbox/Strata", + "tokenizer": "/home/dgbox/Strata-data/packs/iq3_xxs/tokenizer", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "draft_vocab": "cyrillic", + "expert_profile_save": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "expert_profile_save_every": 10, + "env": { + "STRATA_PF_FUSED": "1" + }, + "log": "/home/dgbox/Strata/strata-200k.log", + "lib_dirs": [ + "/usr/local/cuda/bin", + "/usr/local/cuda/lib64" + ], + "port": 8080, + "host": "0.0.0.0", + "gpu": 0, + "gpus_asked": true, + "vision": { + "exe": "/home/dgbox/Strata/engine/strata-vision", + "mmproj": "/home/dgbox/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + }, + "mcp_servers": { + "crawl4ai": { + "command": "/home/dgbox/.local/share/pi-node/node-v22.22.3-linux-x64/bin/node", + "args": [ + "/home/dgbox/.local/share/pi-node/node-v22.22.3-linux-x64/lib/node_modules/crawl4ai-mcp-sse-stdio/bin/crawl4ai-mcp.js", + "--stdio" + ], + "env": { + "NODE_TLS_REJECT_UNAUTHORIZED": "0", + "CRAWL4AI_ENDPOINT": "https://192.168.2.162/crawl4ai/", + "CRAWL4AI_BEARER_TOKEN": "e23ba58da6893c74399f49382bfa88cb52f8938e84d24e99ad558ddab80723af" + } + }, + "search": { + "command": "/usr/bin/python3", + "args": [ + "/home/dgbox/scripts/searxng-mcp.py" + ] + } + }, + "reasoning_effort": "low", + "fit_max_tokens": true +} \ No newline at end of file diff --git a/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/env.json b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/env.json new file mode 100644 index 00000000..05a3b2d6 --- /dev/null +++ b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/env.json @@ -0,0 +1,169 @@ +{ + "collected_at": "2026-10-04T18:24:50", + "gpu": { + "name": "NVIDIA GeForce RTX 4090", + "vram_mib": "23028", + "driver": "610.57.04", + "power_limit_w": "480.00", + "pci_bus": "00000000:01:00.0" + }, + "gpu_link": "Failed to parse --display/-d flags", + "cpu": { + "model": "AMD Ryzen 9 7950X 16-Core Processor", + "logical_cpus": "32" + }, + "ram_total_kib": "47579476", + "os": "Ubuntu 26.04.1 LTS", + "kernel": "7.0.0-38-generic", + "cuda": "release 13.4, V13.4.92", + "storage": "", + "strata_commit": "2900da3ba8de27a467b4b3fcea6a4ca2a9061bea", + "strata_branch": "bench/2026-10-03-rtx4090-community", + "engine_version": "0.1.39", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "context": { + "native": 204800, + "max_positions": 204800 + }, + "cache_max_tokens": 204800, + "vision": { + "enabled": true, + "available": true, + "error": null + }, + "engine_launch_command": "/home/dgbox/Strata/engine/strata --serve --pack /home/dgbox/Strata-data/packs/iq3_xxs --native /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile /home/dgbox/Strata/data/expert-profile-learned.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/dgbox/Strata-data/mtp/rt --max-context 204800 --kv int8 --mmap-experts --vision --vram-reserve-mib 989 --control-vector-scaled /home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0 --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer --pcie-frac 0.00 --spec-min-p 0.50 --pool-workers 10 --expert-profile-save /home/dgbox/Strata/data/expert-profile-learned.bin --expert-profile-save-every 10", + "model_files": [ + { + "flag": "--pack", + "path": "/home/dgbox/Strata-data/packs/iq3_xxs", + "kind": "dir" + }, + { + "flag": "--native", + "path": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "size_bytes": 47039860096, + "mtime": "2026-09-30T17:39:46" + }, + { + "flag": "--ple-gguf", + "path": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "size_bytes": 28800138432, + "mtime": "2026-09-30T17:44:33" + }, + { + "flag": "--expert-profile", + "path": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "size_bytes": 196632, + "mtime": "2026-10-04T18:22:30" + }, + { + "flag": "--mtp", + "path": "/home/dgbox/Strata-data/mtp/rt", + "kind": "dir" + }, + { + "flag": "--control-vector-scaled", + "path": "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf", + "size_bytes": 483520, + "mtime": "2026-09-30T17:07:53" + }, + { + "flag": "--expert-profile-save", + "path": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "size_bytes": 196632, + "mtime": "2026-10-04T18:22:30" + } + ], + "server_config_path": "/home/dgbox/Strata/strata-200k.json", + "server_config": { + "exe": "/home/dgbox/Strata/engine/strata", + "args": [ + "--pack", + "/home/dgbox/Strata-data/packs/iq3_xxs", + "--native", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "/home/dgbox/Strata/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--mtp", + "/home/dgbox/Strata-data/mtp/rt", + "--max-context", + "204800", + "--kv", + "int8", + "--mmap-experts", + "--vision", + "--vram-reserve-mib", + "989", + "--control-vector-scaled", + "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0", + "--control-vector-layer-range", + "4", + "44", + "--cvec-mode", + "project", + "--cvec-dir", + "per-layer", + "--pcie-frac", + "0.00", + "--spec-min-p", + "0.50", + "--pool-workers", + "10" + ], + "cwd": "/home/dgbox/Strata", + "tokenizer": "/home/dgbox/Strata-data/packs/iq3_xxs/tokenizer", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "draft_vocab": "cyrillic", + "expert_profile_save": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "expert_profile_save_every": 10, + "env": { + "STRATA_PF_FUSED": "1" + }, + "log": "/home/dgbox/Strata/strata-200k.log", + "lib_dirs": [ + "/usr/local/cuda/bin", + "/usr/local/cuda/lib64" + ], + "port": 8080, + "host": "0.0.0.0", + "gpu": 0, + "gpus_asked": true, + "vision": { + "exe": "/home/dgbox/Strata/engine/strata-vision", + "mmproj": "/home/dgbox/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + }, + "mcp_servers": { + "crawl4ai": { + "command": "/home/dgbox/.local/share/pi-node/node-v22.22.3-linux-x64/bin/node", + "args": [ + "/home/dgbox/.local/share/pi-node/node-v22.22.3-linux-x64/lib/node_modules/crawl4ai-mcp-sse-stdio/bin/crawl4ai-mcp.js", + "--stdio" + ], + "env": { + "NODE_TLS_REJECT_UNAUTHORIZED": "0", + "CRAWL4AI_ENDPOINT": "https://192.168.2.162/crawl4ai/", + "CRAWL4AI_BEARER_TOKEN": "e23ba58da6893c74399f49382bfa88cb52f8938e84d24e99ad558ddab80723af" + } + }, + "search": { + "command": "/usr/bin/python3", + "args": [ + "/home/dgbox/scripts/searxng-mcp.py" + ] + } + }, + "reasoning_effort": "low", + "fit_max_tokens": true + } +} diff --git a/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/needles.json b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/needles.json new file mode 100644 index 00000000..822d2c7c --- /dev/null +++ b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/needles.json @@ -0,0 +1,56 @@ +[ + { + "length": "32k", + "depth": 10, + "prompt_tokens": 32257, + "seconds": 10.7, + "found": true, + "word": "meadow-copper-504", + "answer": "meadow-copper-504" + }, + { + "length": "32k", + "depth": 50, + "prompt_tokens": 32257, + "seconds": 10.3, + "found": true, + "word": "falcon-quartz-940", + "answer": "falcon-quartz-940" + }, + { + "length": "32k", + "depth": 90, + "prompt_tokens": 32258, + "seconds": 5.4, + "found": true, + "word": "willow-cobalt-696", + "answer": "willow-cobalt-696" + }, + { + "length": "128k", + "depth": 10, + "prompt_tokens": 125509, + "seconds": 41.0, + "found": true, + "word": "falcon-saffron-138", + "answer": "falcon-saffron-138" + }, + { + "length": "128k", + "depth": 50, + "prompt_tokens": 125507, + "seconds": 41.0, + "found": true, + "word": "quartz-tundra-528", + "answer": "quartz-tundra-528" + }, + { + "length": "128k", + "depth": 90, + "prompt_tokens": 125507, + "seconds": 35.8, + "found": true, + "word": "quartz-glacier-192", + "answer": "quartz-glacier-192" + } +] \ No newline at end of file diff --git a/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/runs.json b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/runs.json new file mode 100644 index 00000000..f2e3ebd5 --- /dev/null +++ b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-code/runs.json @@ -0,0 +1,460 @@ +{ + "label": "rtx4090-iq3xxs-200k-code", + "style": "code", + "env": { + "collected_at": "2026-10-04T18:24:50", + "gpu": { + "name": "NVIDIA GeForce RTX 4090", + "vram_mib": "23028", + "driver": "610.57.04", + "power_limit_w": "480.00", + "pci_bus": "00000000:01:00.0" + }, + "gpu_link": "Failed to parse --display/-d flags", + "cpu": { + "model": "AMD Ryzen 9 7950X 16-Core Processor", + "logical_cpus": "32" + }, + "ram_total_kib": "47579476", + "os": "Ubuntu 26.04.1 LTS", + "kernel": "7.0.0-38-generic", + "cuda": "release 13.4, V13.4.92", + "storage": "", + "strata_commit": "2900da3ba8de27a467b4b3fcea6a4ca2a9061bea", + "strata_branch": "bench/2026-10-03-rtx4090-community", + "engine_version": "0.1.39", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "context": { + "native": 204800, + "max_positions": 204800 + }, + "cache_max_tokens": 204800, + "vision": { + "enabled": true, + "available": true, + "error": null + }, + "engine_launch_command": "/home/dgbox/Strata/engine/strata --serve --pack /home/dgbox/Strata-data/packs/iq3_xxs --native /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile /home/dgbox/Strata/data/expert-profile-learned.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/dgbox/Strata-data/mtp/rt --max-context 204800 --kv int8 --mmap-experts --vision --vram-reserve-mib 989 --control-vector-scaled /home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0 --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer --pcie-frac 0.00 --spec-min-p 0.50 --pool-workers 10 --expert-profile-save /home/dgbox/Strata/data/expert-profile-learned.bin --expert-profile-save-every 10", + "model_files": [ + { + "flag": "--pack", + "path": "/home/dgbox/Strata-data/packs/iq3_xxs", + "kind": "dir" + }, + { + "flag": "--native", + "path": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "size_bytes": 47039860096, + "mtime": "2026-09-30T17:39:46" + }, + { + "flag": "--ple-gguf", + "path": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "size_bytes": 28800138432, + "mtime": "2026-09-30T17:44:33" + }, + { + "flag": "--expert-profile", + "path": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "size_bytes": 196632, + "mtime": "2026-10-04T18:22:30" + }, + { + "flag": "--mtp", + "path": "/home/dgbox/Strata-data/mtp/rt", + "kind": "dir" + }, + { + "flag": "--control-vector-scaled", + "path": "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf", + "size_bytes": 483520, + "mtime": "2026-09-30T17:07:53" + }, + { + "flag": "--expert-profile-save", + "path": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "size_bytes": 196632, + "mtime": "2026-10-04T18:22:30" + } + ], + "server_config_path": "/home/dgbox/Strata/strata-200k.json", + "server_config": { + "exe": "/home/dgbox/Strata/engine/strata", + "args": [ + "--pack", + "/home/dgbox/Strata-data/packs/iq3_xxs", + "--native", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "/home/dgbox/Strata/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--mtp", + "/home/dgbox/Strata-data/mtp/rt", + "--max-context", + "204800", + "--kv", + "int8", + "--mmap-experts", + "--vision", + "--vram-reserve-mib", + "989", + "--control-vector-scaled", + "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0", + "--control-vector-layer-range", + "4", + "44", + "--cvec-mode", + "project", + "--cvec-dir", + "per-layer", + "--pcie-frac", + "0.00", + "--spec-min-p", + "0.50", + "--pool-workers", + "10" + ], + "cwd": "/home/dgbox/Strata", + "tokenizer": "/home/dgbox/Strata-data/packs/iq3_xxs/tokenizer", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "draft_vocab": "cyrillic", + "expert_profile_save": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "expert_profile_save_every": 10, + "env": { + "STRATA_PF_FUSED": "1" + }, + "log": "/home/dgbox/Strata/strata-200k.log", + "lib_dirs": [ + "/usr/local/cuda/bin", + "/usr/local/cuda/lib64" + ], + "port": 8080, + "host": "0.0.0.0", + "gpu": 0, + "gpus_asked": true, + "vision": { + "exe": "/home/dgbox/Strata/engine/strata-vision", + "mmproj": "/home/dgbox/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + }, + "mcp_servers": { + "crawl4ai": { + "command": "/home/dgbox/.local/share/pi-node/node-v22.22.3-linux-x64/bin/node", + "args": [ + "/home/dgbox/.local/share/pi-node/node-v22.22.3-linux-x64/lib/node_modules/crawl4ai-mcp-sse-stdio/bin/crawl4ai-mcp.js", + "--stdio" + ], + "env": { + "NODE_TLS_REJECT_UNAUTHORIZED": "0", + "CRAWL4AI_ENDPOINT": "https://192.168.2.162/crawl4ai/", + "CRAWL4AI_BEARER_TOKEN": "e23ba58da6893c74399f49382bfa88cb52f8938e84d24e99ad558ddab80723af" + } + }, + "search": { + "command": "/usr/bin/python3", + "args": [ + "/home/dgbox/scripts/searxng-mcp.py" + ] + } + }, + "reasoning_effort": "low", + "fit_max_tokens": true + } + }, + "memory": { + "start_snapshot": { + "vram_used_mib": 22031, + "ram_used_kib": 5931132 + }, + "peak_vram_used_mib": 22031, + "peak_ram_used_kib": 6667592, + "note": "пик — максимум опросов каждые 2 с во время замеров" + }, + "results": [ + { + "case": "4096-prompt", + "target_prompt_tokens": 4096, + "max_tokens": 256, + "prompt_tok_s": { + "median": 1966.2, + "min": 1952.4, + "max": 1967.7, + "n": 3 + }, + "gen_tok_s": { + "median": 123.6, + "min": 109.6, + "max": 134.3, + "n": 3 + }, + "ttft": { + "median": 2.04, + "min": 2.04, + "max": 2.06, + "n": 3 + }, + "wall": { + "median": 4.1, + "min": 3.94, + "max": 4.38, + "n": 3 + }, + "draft_ok": 492, + "draft_n": 670, + "all": [ + { + "prompt_n": 3971, + "prompt_s": 1952.4, + "gen_n": 256, + "gen_s": 109.6, + "draft_n": 232, + "draft_ok": 164, + "cached": 0, + "ttft_s": 2.056, + "wall_s": 4.38, + "text": "Based on the description provided, here is a conceptual implementation of the `p" + }, + { + "prompt_n": 3971, + "prompt_s": 1967.7, + "gen_n": 256, + "gen_s": 123.6, + "draft_n": 222, + "draft_ok": 161, + "cached": 0, + "ttft_s": 2.04, + "wall_s": 4.1, + "text": "Based on the description provided, here is a conceptual implementation of the `p" + }, + { + "prompt_n": 3971, + "prompt_s": 1966.2, + "gen_n": 256, + "gen_s": 134.3, + "draft_n": 216, + "draft_ok": 167, + "cached": 0, + "ttft_s": 2.042, + "wall_s": 3.94, + "text": "Based on the description provided, here is a Rust implementation of the `parse_r" + } + ] + }, + { + "case": "32768-prompt", + "target_prompt_tokens": 32768, + "max_tokens": 256, + "prompt_tok_s": { + "median": 2973.7, + "min": 2952.3, + "max": 3130.1, + "n": 3 + }, + "gen_tok_s": { + "median": 134.9, + "min": 123.8, + "max": 136.0, + "n": 3 + }, + "ttft": { + "median": 10.61, + "min": 10.09, + "max": 10.69, + "n": 3 + }, + "wall": { + "median": 12.48, + "min": 11.97, + "max": 12.75, + "n": 3 + }, + "draft_ok": 504, + "draft_n": 653, + "all": [ + { + "prompt_n": 31307, + "prompt_s": 2952.3, + "gen_n": 256, + "gen_s": 123.8, + "draft_n": 217, + "draft_ok": 167, + "cached": 0, + "ttft_s": 10.691, + "wall_s": 12.75, + "text": "Based on the description provided, here is a conceptual implementation of the `p" + }, + { + "prompt_n": 31307, + "prompt_s": 2973.7, + "gen_n": 256, + "gen_s": 136.0, + "draft_n": 217, + "draft_ok": 170, + "cached": 0, + "ttft_s": 10.612, + "wall_s": 12.48, + "text": "Based on the description provided, here is a conceptual implementation of the `p" + }, + { + "prompt_n": 31307, + "prompt_s": 3130.1, + "gen_n": 256, + "gen_s": 134.9, + "draft_n": 219, + "draft_ok": 167, + "cached": 0, + "ttft_s": 10.087, + "wall_s": 11.97, + "text": "Based on the description provided, here is a conceptual implementation of the `p" + } + ] + }, + { + "case": "131072-prompt", + "target_prompt_tokens": 131072, + "max_tokens": 256, + "prompt_tok_s": { + "median": 3084.9, + "min": 3043.4, + "max": 3109.1, + "n": 3 + }, + "gen_tok_s": { + "median": 120.3, + "min": 91.5, + "max": 124.1, + "n": 3 + }, + "ttft": { + "median": 40.82, + "min": 40.51, + "max": 91.16, + "n": 3 + }, + "wall": { + "median": 42.87, + "min": 42.02, + "max": 92.7, + "n": 3 + }, + "draft_ok": 364, + "draft_n": 489, + "all": [ + { + "prompt_n": 125011, + "prompt_s": 3084.9, + "gen_n": 256, + "gen_s": 124.1, + "draft_n": 213, + "draft_ok": 163, + "cached": 0, + "ttft_s": 40.816, + "wall_s": 42.87, + "text": "Based on the description provided, here is a conceptual implementation of the `p" + }, + { + "prompt_n": 125011, + "prompt_s": 3043.4, + "gen_n": 142, + "gen_s": 91.5, + "draft_n": 123, + "draft_ok": 87, + "cached": 0, + "ttft_s": 91.161, + "wall_s": 92.7, + "text": "Based on the text provided, here is a summary of the function `parse_record`:\n\n*" + }, + { + "prompt_n": 125011, + "prompt_s": 3109.1, + "gen_n": 183, + "gen_s": 120.3, + "draft_n": 153, + "draft_ok": 114, + "cached": 0, + "ttft_s": 40.511, + "wall_s": 42.02, + "text": "Based on the text provided, here is a summary of the function `parse_record`:\n\n*" + } + ] + }, + { + "case": "gen-only", + "target_prompt_tokens": 120, + "max_tokens": 1024, + "prompt_tok_s": { + "median": 205.3, + "min": 204.7, + "max": 219.0, + "n": 3 + }, + "gen_tok_s": { + "median": 135.8, + "min": 135.2, + "max": 138.6, + "n": 3 + }, + "ttft": { + "median": 0.81, + "min": 0.76, + "max": 0.82, + "n": 3 + }, + "wall": { + "median": 8.29, + "min": 8.18, + "max": 8.37, + "n": 3 + }, + "draft_ok": 2042, + "draft_n": 2626, + "all": [ + { + "prompt_n": 163, + "prompt_s": 219.0, + "gen_n": 1024, + "gen_s": 135.8, + "draft_n": 875, + "draft_ok": 685, + "cached": 0, + "ttft_s": 0.757, + "wall_s": 8.29, + "text": "Based on the description provided, here is a Rust implementation of the `parse_r" + }, + { + "prompt_n": 163, + "prompt_s": 205.3, + "gen_n": 1024, + "gen_s": 138.6, + "draft_n": 874, + "draft_ok": 682, + "cached": 0, + "ttft_s": 0.813, + "wall_s": 8.18, + "text": "Based on the description provided, here is a conceptual implementation in **Rust" + }, + { + "prompt_n": 163, + "prompt_s": 204.7, + "gen_n": 1024, + "gen_s": 135.2, + "draft_n": 877, + "draft_ok": 675, + "cached": 0, + "ttft_s": 0.816, + "wall_s": 8.37, + "text": "Based on the description provided, here is a conceptual implementation of the `p" + } + ] + } + ] +} \ No newline at end of file diff --git a/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/README.md b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/README.md new file mode 100644 index 00000000..2fa2c668 --- /dev/null +++ b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/README.md @@ -0,0 +1,83 @@ +# Community benchmark: NVIDIA GeForce RTX 4090 + +Measured on 2026-10-04 by [Dmitry-B](https://github.com/Dmitry-B). This tests Strata 0.1.39 with qwen3.8-flash-next-iq3_xxs and a 204800-token context. Prompts are Russian prose; greedy decoding, a 256-token output cap, three runs per configuration; TTFT measured over streaming. These are synthetic workloads; they do not establish general answer quality. + +## Hardware and software + +- GPU: NVIDIA GeForce RTX 4090; 23028 MiB reported VRAM; 480.00 W power limit; PCIe bus 00000000:01:00.0; PCIe link speed and width: not measured. GPU clocks were not fixed. +- CPU: AMD Ryzen 9 7950X 16-Core Processor (32 logical CPUs). +- RAM: 46464 MiB installed; storage layout: see env.json (lsblk output). +- Ubuntu 26.04.1 LTS, kernel 7.0.0-38-generic; NVIDIA driver 610.57.04; release 13.4, V13.4.92. +- Strata commit `2900da3ba8de27a467b4b3fcea6a4ca2a9061bea` (branch bench/2026-10-03-rtx4090-community); engine 0.1.39, release binary from the repository's engine/ directory. +- Background workloads: a dsh/Authentik/Caddy web stack and stock Ubuntu services; the GPU was dedicated to Strata but the operating system was not isolated. + +## Model and configuration + +- Model: qwen3.8-flash-next-iq3_xxs (the Strata server's model name); GGUF filenames, sizes, and modification times are in env.json (no hashes). +- Context 204800; INT8 KV; resident experts; GPU vision - see the config copy below. +- Draft vocabulary subset: `draft_vocab=cyrillic` (the English/code subset plus the whole Cyrillic script, ~106k rows). This is wider than the default `en` subset; draft acceptance on English text was unaffected (78-80%), but it can cost a few percent of decode speed. + +```text +/home/dgbox/Strata/engine/strata --serve --pack /home/dgbox/Strata-data/packs/iq3_xxs --native /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile /home/dgbox/Strata/data/expert-profile-learned.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/dgbox/Strata-data/mtp/rt --max-context 204800 --kv int8 --mmap-experts --vision --vram-reserve-mib 989 --control-vector-scaled /home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0 --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer --pcie-frac 0.00 --spec-min-p 0.50 --pool-workers 10 --expert-profile-save /home/dgbox/Strata/data/expert-profile-learned.bin --expert-profile-save-every 10 +``` + +Full server config: [config.json](config.json) (was at /home/dgbox/Strata/strata-200k.json), environment details: [env.json](env.json). + +## Method + +- Warm-up: one 4K-token prompt (64 generated tokens), excluded from the measurements. +- Every measured prompt carries a random marker, so the prompt-prefix cache is not reused; the table's reused column reports the actual reused token counts from the engine. +- Throughput comes from the engine's timing fields (prompt_per_second / predicted_per_second). TTFT is the time to the first non-empty streaming delta, ignoring keep-alives. Total latency (wall) is the whole request time measured at the client. +- temperature=0, reasoning_effort=none, a 256-token output cap (1024 for the generation-only case). The model often stopped early on the repetitive text; actual generated lengths are in the table. +- The expert cache was warmed by the warm-up run and earlier sessions; the expert profile state is in the config copy. +- Memory: peak VRAM/RAM sampled every 2 seconds during the measured runs, plus a start snapshot. + +## Results + +| Configuration | Actual prompt tokens | Reused tokens | Generated tokens | Runs | Prompt tok/s median and range | Decode tok/s median and range | TTFT s median and range | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| 4096-prompt | 4028 | 0 | 256 | 3 | 1907.8 (range 1851.9-1994.3, n=3) | 81.1 (range 80.6-90.5, n=3) | 2.14 s (range 2.05-2.2, n=3) | +| 32768-prompt | 31828 | 0 | 237 | 3 | 3128.0 (range 3086.6-3128.4, n=3) | 90.5 (range 87.3-105.8, n=3) | 10.31 s (range 10.3-10.44, n=3) | +| 131072-prompt | 127228 | 0 | 157 | 3 | 3126.4 (range 3057.4-3147.3, n=3) | 87.8 (range 85.3-94.5, n=3) | 41.17 s (range 40.89-42.09, n=3) | +| gen-only | 228 | 0 | 858 | 3 | 296.2 (range 291.7-306.6, n=3) | 93.6 (range 83.3-97.6, n=3) | 0.78 s (range 0.76-0.8, n=3) | + +- Total latency (client, wall): 4096-prompt - 5.19 s (range 5.02-5.3, n=3); 32768-prompt - 12.91 s (range 11.26-13.36, n=3); 131072-prompt - 42.54 s (range 42.5-44.95, n=3); gen-only - 9.92 s (range 4.09-10.24, n=3). +- Memory: {"start_snapshot": {"vram_used_mib": 22030, "ram_used_kib": 5921064}, "peak_vram_used_mib": 22030, "peak_ram_used_kib": 6698492, "note": "пик — максимум опросов каждые 2 с во время замеров"} +- Every run with its draft statistics (accepted/total): [runs.json](runs.json). +- Recall check (needle): [needles.json](needles.json). + +## Correctness and limitations + +- Speed measurements do not establish general answer quality. The recall check passed 6/6 at 32K and 128K across depths 10/50/90; see needles.json. +- The GPU was not fully isolated: background services may have added small noise. +- Prompts are synthetic (repeated text with a random marker); real workloads will show different prefix reuse and draft acceptance. +- One measured run is contaminated by the interactive session this machine was also serving: a 139,527-token request + from another client was served between two 131072-prompt runs (the server answers one sequence at a time), which is + why that case's TTFT and wall ranges reach 91 s and 93 s. The engine-side timings of that run are unaffected + (125,011 tokens read at 3043 tok/s, the same as its two neighbours); only the client-side waiting is inflated. + + +## Comparison with engine 0.1.38 + +The same PC, the same model and the same run configuration as +[2026-10-03-community-rtx4090-iq3xxs-200k-ru](../2026-10-03-community-rtx4090-iq3xxs-200k-ru/README.md) +(engine 0.1.38, Strata commit `1d5e1ea`). Only the Strata version changed: 0.1.38 -> 0.1.39, source build, same +CUDA 13.4, same `sm_89`, same arguments, same `expert-profile-learned.bin`. The engine's auto prompt chunk is +unchanged in both (`prompt chunk auto: 8192` in the server log), so the byte-budget ring of #583 does not apply to +this configuration. + +| Configuration | Prompt tok/s 0.1.38 -> 0.1.39 | Decode tok/s 0.1.38 -> 0.1.39 | TTFT s 0.1.38 -> 0.1.39 | +| --- | --- | --- | --- | +| 4096-prompt | 1823.8 -> 1907.8 (+4.6%) | 94.2 -> 81.1 (-13.9%) | 2.24 -> 2.14 | +| 32768-prompt | 2912.0 -> 3128.0 (+7.4%) | 85.6 -> 90.5 (+5.7%) | 11.06 -> 10.31 | +| 131072-prompt | 2984.2 -> 3126.4 (+4.8%) | 90.3 -> 87.8 (-2.8%) | 43.11 -> 41.17 | +| gen-only | 279.7 -> 296.2 (+5.9%) | 82.9 -> 93.6 (+12.9%) | 0.83 -> 0.78 | + +- Prompt throughput is the comparable number: it comes from the engine's own timing, and the ranges are tight in both + runs (2958-2986 and 3057-3147 tok/s at 131072-prompt). +- Decode medians are the least comparable column. Every measured prompt carries a random marker, and on this repetitive + text the model stops early at a different point each run, so the generated lengths differ between the two reports + (for example 142 vs 256 tokens at 4096-prompt). A shorter answer and a longer one do not have the same draft + acceptance. The `gen-only` case, which always runs to the 1024-token cap, is the cleanest decode comparison of the + four. +- Recall: 6/6 at 32K and 128K in both versions. diff --git a/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/config.json b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/config.json new file mode 100644 index 00000000..db8a113a --- /dev/null +++ b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/config.json @@ -0,0 +1,91 @@ +{ + "exe": "/home/dgbox/Strata/engine/strata", + "args": [ + "--pack", + "/home/dgbox/Strata-data/packs/iq3_xxs", + "--native", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "/home/dgbox/Strata/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--mtp", + "/home/dgbox/Strata-data/mtp/rt", + "--max-context", + "204800", + "--kv", + "int8", + "--mmap-experts", + "--vision", + "--vram-reserve-mib", + "989", + "--control-vector-scaled", + "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0", + "--control-vector-layer-range", + "4", + "44", + "--cvec-mode", + "project", + "--cvec-dir", + "per-layer", + "--pcie-frac", + "0.00", + "--spec-min-p", + "0.50", + "--pool-workers", + "10" + ], + "cwd": "/home/dgbox/Strata", + "tokenizer": "/home/dgbox/Strata-data/packs/iq3_xxs/tokenizer", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "draft_vocab": "cyrillic", + "expert_profile_save": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "expert_profile_save_every": 10, + "env": { + "STRATA_PF_FUSED": "1" + }, + "log": "/home/dgbox/Strata/strata-200k.log", + "lib_dirs": [ + "/usr/local/cuda/bin", + "/usr/local/cuda/lib64" + ], + "port": 8080, + "host": "0.0.0.0", + "gpu": 0, + "gpus_asked": true, + "vision": { + "exe": "/home/dgbox/Strata/engine/strata-vision", + "mmproj": "/home/dgbox/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + }, + "mcp_servers": { + "crawl4ai": { + "command": "/home/dgbox/.local/share/pi-node/node-v22.22.3-linux-x64/bin/node", + "args": [ + "/home/dgbox/.local/share/pi-node/node-v22.22.3-linux-x64/lib/node_modules/crawl4ai-mcp-sse-stdio/bin/crawl4ai-mcp.js", + "--stdio" + ], + "env": { + "NODE_TLS_REJECT_UNAUTHORIZED": "0", + "CRAWL4AI_ENDPOINT": "https://192.168.2.162/crawl4ai/", + "CRAWL4AI_BEARER_TOKEN": "e23ba58da6893c74399f49382bfa88cb52f8938e84d24e99ad558ddab80723af" + } + }, + "search": { + "command": "/usr/bin/python3", + "args": [ + "/home/dgbox/scripts/searxng-mcp.py" + ] + } + }, + "reasoning_effort": "low", + "fit_max_tokens": true +} \ No newline at end of file diff --git a/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/env.json b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/env.json new file mode 100644 index 00000000..bd729c0b --- /dev/null +++ b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/env.json @@ -0,0 +1,169 @@ +{ + "collected_at": "2026-10-04T18:31:30", + "gpu": { + "name": "NVIDIA GeForce RTX 4090", + "vram_mib": "23028", + "driver": "610.57.04", + "power_limit_w": "480.00", + "pci_bus": "00000000:01:00.0" + }, + "gpu_link": "Failed to parse --display/-d flags", + "cpu": { + "model": "AMD Ryzen 9 7950X 16-Core Processor", + "logical_cpus": "32" + }, + "ram_total_kib": "47579476", + "os": "Ubuntu 26.04.1 LTS", + "kernel": "7.0.0-38-generic", + "cuda": "release 13.4, V13.4.92", + "storage": "", + "strata_commit": "2900da3ba8de27a467b4b3fcea6a4ca2a9061bea", + "strata_branch": "bench/2026-10-03-rtx4090-community", + "engine_version": "0.1.39", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "context": { + "native": 204800, + "max_positions": 204800 + }, + "cache_max_tokens": 204800, + "vision": { + "enabled": true, + "available": true, + "error": null + }, + "engine_launch_command": "/home/dgbox/Strata/engine/strata --serve --pack /home/dgbox/Strata-data/packs/iq3_xxs --native /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile /home/dgbox/Strata/data/expert-profile-learned.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/dgbox/Strata-data/mtp/rt --max-context 204800 --kv int8 --mmap-experts --vision --vram-reserve-mib 989 --control-vector-scaled /home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0 --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer --pcie-frac 0.00 --spec-min-p 0.50 --pool-workers 10 --expert-profile-save /home/dgbox/Strata/data/expert-profile-learned.bin --expert-profile-save-every 10", + "model_files": [ + { + "flag": "--pack", + "path": "/home/dgbox/Strata-data/packs/iq3_xxs", + "kind": "dir" + }, + { + "flag": "--native", + "path": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "size_bytes": 47039860096, + "mtime": "2026-09-30T17:39:46" + }, + { + "flag": "--ple-gguf", + "path": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "size_bytes": 28800138432, + "mtime": "2026-09-30T17:44:33" + }, + { + "flag": "--expert-profile", + "path": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "size_bytes": 196632, + "mtime": "2026-10-04T18:22:30" + }, + { + "flag": "--mtp", + "path": "/home/dgbox/Strata-data/mtp/rt", + "kind": "dir" + }, + { + "flag": "--control-vector-scaled", + "path": "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf", + "size_bytes": 483520, + "mtime": "2026-09-30T17:07:53" + }, + { + "flag": "--expert-profile-save", + "path": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "size_bytes": 196632, + "mtime": "2026-10-04T18:22:30" + } + ], + "server_config_path": "/home/dgbox/Strata/strata-200k.json", + "server_config": { + "exe": "/home/dgbox/Strata/engine/strata", + "args": [ + "--pack", + "/home/dgbox/Strata-data/packs/iq3_xxs", + "--native", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "/home/dgbox/Strata/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--mtp", + "/home/dgbox/Strata-data/mtp/rt", + "--max-context", + "204800", + "--kv", + "int8", + "--mmap-experts", + "--vision", + "--vram-reserve-mib", + "989", + "--control-vector-scaled", + "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0", + "--control-vector-layer-range", + "4", + "44", + "--cvec-mode", + "project", + "--cvec-dir", + "per-layer", + "--pcie-frac", + "0.00", + "--spec-min-p", + "0.50", + "--pool-workers", + "10" + ], + "cwd": "/home/dgbox/Strata", + "tokenizer": "/home/dgbox/Strata-data/packs/iq3_xxs/tokenizer", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "draft_vocab": "cyrillic", + "expert_profile_save": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "expert_profile_save_every": 10, + "env": { + "STRATA_PF_FUSED": "1" + }, + "log": "/home/dgbox/Strata/strata-200k.log", + "lib_dirs": [ + "/usr/local/cuda/bin", + "/usr/local/cuda/lib64" + ], + "port": 8080, + "host": "0.0.0.0", + "gpu": 0, + "gpus_asked": true, + "vision": { + "exe": "/home/dgbox/Strata/engine/strata-vision", + "mmproj": "/home/dgbox/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + }, + "mcp_servers": { + "crawl4ai": { + "command": "/home/dgbox/.local/share/pi-node/node-v22.22.3-linux-x64/bin/node", + "args": [ + "/home/dgbox/.local/share/pi-node/node-v22.22.3-linux-x64/lib/node_modules/crawl4ai-mcp-sse-stdio/bin/crawl4ai-mcp.js", + "--stdio" + ], + "env": { + "NODE_TLS_REJECT_UNAUTHORIZED": "0", + "CRAWL4AI_ENDPOINT": "https://192.168.2.162/crawl4ai/", + "CRAWL4AI_BEARER_TOKEN": "e23ba58da6893c74399f49382bfa88cb52f8938e84d24e99ad558ddab80723af" + } + }, + "search": { + "command": "/usr/bin/python3", + "args": [ + "/home/dgbox/scripts/searxng-mcp.py" + ] + } + }, + "reasoning_effort": "low", + "fit_max_tokens": true + } +} diff --git a/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/needles.json b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/needles.json new file mode 100644 index 00000000..fde40abf --- /dev/null +++ b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/needles.json @@ -0,0 +1,56 @@ +[ + { + "length": "32k", + "depth": 10, + "prompt_tokens": 32257, + "seconds": 10.5, + "found": true, + "word": "meadow-copper-504", + "answer": "meadow-copper-504" + }, + { + "length": "32k", + "depth": 50, + "prompt_tokens": 32257, + "seconds": 10.7, + "found": true, + "word": "falcon-quartz-940", + "answer": "falcon-quartz-940" + }, + { + "length": "32k", + "depth": 90, + "prompt_tokens": 32258, + "seconds": 5.4, + "found": true, + "word": "willow-cobalt-696", + "answer": "willow-cobalt-696" + }, + { + "length": "128k", + "depth": 10, + "prompt_tokens": 125509, + "seconds": 40.8, + "found": true, + "word": "falcon-saffron-138", + "answer": "falcon-saffron-138" + }, + { + "length": "128k", + "depth": 50, + "prompt_tokens": 125507, + "seconds": 40.8, + "found": true, + "word": "quartz-tundra-528", + "answer": "quartz-tundra-528" + }, + { + "length": "128k", + "depth": 90, + "prompt_tokens": 125507, + "seconds": 35.8, + "found": true, + "word": "quartz-glacier-192", + "answer": "quartz-glacier-192" + } +] \ No newline at end of file diff --git a/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/runs.json b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/runs.json new file mode 100644 index 00000000..246fc978 --- /dev/null +++ b/bench/results/2026-10-04-community-rtx4090-iq3xxs-200k-ru/runs.json @@ -0,0 +1,460 @@ +{ + "label": "rtx4090-iq3xxs-200k-ru", + "style": "ru", + "env": { + "collected_at": "2026-10-04T18:31:30", + "gpu": { + "name": "NVIDIA GeForce RTX 4090", + "vram_mib": "23028", + "driver": "610.57.04", + "power_limit_w": "480.00", + "pci_bus": "00000000:01:00.0" + }, + "gpu_link": "Failed to parse --display/-d flags", + "cpu": { + "model": "AMD Ryzen 9 7950X 16-Core Processor", + "logical_cpus": "32" + }, + "ram_total_kib": "47579476", + "os": "Ubuntu 26.04.1 LTS", + "kernel": "7.0.0-38-generic", + "cuda": "release 13.4, V13.4.92", + "storage": "", + "strata_commit": "2900da3ba8de27a467b4b3fcea6a4ca2a9061bea", + "strata_branch": "bench/2026-10-03-rtx4090-community", + "engine_version": "0.1.39", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "context": { + "native": 204800, + "max_positions": 204800 + }, + "cache_max_tokens": 204800, + "vision": { + "enabled": true, + "available": true, + "error": null + }, + "engine_launch_command": "/home/dgbox/Strata/engine/strata --serve --pack /home/dgbox/Strata-data/packs/iq3_xxs --native /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf /home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile /home/dgbox/Strata/data/expert-profile-learned.bin --expert-cache auto --prefill auto --spec 4 --mtp /home/dgbox/Strata-data/mtp/rt --max-context 204800 --kv int8 --mmap-experts --vision --vram-reserve-mib 989 --control-vector-scaled /home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0 --control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer --pcie-frac 0.00 --spec-min-p 0.50 --pool-workers 10 --expert-profile-save /home/dgbox/Strata/data/expert-profile-learned.bin --expert-profile-save-every 10", + "model_files": [ + { + "flag": "--pack", + "path": "/home/dgbox/Strata-data/packs/iq3_xxs", + "kind": "dir" + }, + { + "flag": "--native", + "path": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "size_bytes": 47039860096, + "mtime": "2026-09-30T17:39:46" + }, + { + "flag": "--ple-gguf", + "path": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "size_bytes": 28800138432, + "mtime": "2026-09-30T17:44:33" + }, + { + "flag": "--expert-profile", + "path": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "size_bytes": 196632, + "mtime": "2026-10-04T18:22:30" + }, + { + "flag": "--mtp", + "path": "/home/dgbox/Strata-data/mtp/rt", + "kind": "dir" + }, + { + "flag": "--control-vector-scaled", + "path": "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf", + "size_bytes": 483520, + "mtime": "2026-09-30T17:07:53" + }, + { + "flag": "--expert-profile-save", + "path": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "size_bytes": 196632, + "mtime": "2026-10-04T18:22:30" + } + ], + "server_config_path": "/home/dgbox/Strata/strata-200k.json", + "server_config": { + "exe": "/home/dgbox/Strata/engine/strata", + "args": [ + "--pack", + "/home/dgbox/Strata-data/packs/iq3_xxs", + "--native", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "/home/dgbox/Strata/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--mtp", + "/home/dgbox/Strata-data/mtp/rt", + "--max-context", + "204800", + "--kv", + "int8", + "--mmap-experts", + "--vision", + "--vram-reserve-mib", + "989", + "--control-vector-scaled", + "/home/dgbox/Strata/data/experimental-speed-projection/Qwen3.8-Flash-Next-experimental-speed-projection.gguf:1.0", + "--control-vector-layer-range", + "4", + "44", + "--cvec-mode", + "project", + "--cvec-dir", + "per-layer", + "--pcie-frac", + "0.00", + "--spec-min-p", + "0.50", + "--pool-workers", + "10" + ], + "cwd": "/home/dgbox/Strata", + "tokenizer": "/home/dgbox/Strata-data/packs/iq3_xxs/tokenizer", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "draft_vocab": "cyrillic", + "expert_profile_save": "/home/dgbox/Strata/data/expert-profile-learned.bin", + "expert_profile_save_every": 10, + "env": { + "STRATA_PF_FUSED": "1" + }, + "log": "/home/dgbox/Strata/strata-200k.log", + "lib_dirs": [ + "/usr/local/cuda/bin", + "/usr/local/cuda/lib64" + ], + "port": 8080, + "host": "0.0.0.0", + "gpu": 0, + "gpus_asked": true, + "vision": { + "exe": "/home/dgbox/Strata/engine/strata-vision", + "mmproj": "/home/dgbox/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/home/dgbox/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + }, + "mcp_servers": { + "crawl4ai": { + "command": "/home/dgbox/.local/share/pi-node/node-v22.22.3-linux-x64/bin/node", + "args": [ + "/home/dgbox/.local/share/pi-node/node-v22.22.3-linux-x64/lib/node_modules/crawl4ai-mcp-sse-stdio/bin/crawl4ai-mcp.js", + "--stdio" + ], + "env": { + "NODE_TLS_REJECT_UNAUTHORIZED": "0", + "CRAWL4AI_ENDPOINT": "https://192.168.2.162/crawl4ai/", + "CRAWL4AI_BEARER_TOKEN": "e23ba58da6893c74399f49382bfa88cb52f8938e84d24e99ad558ddab80723af" + } + }, + "search": { + "command": "/usr/bin/python3", + "args": [ + "/home/dgbox/scripts/searxng-mcp.py" + ] + } + }, + "reasoning_effort": "low", + "fit_max_tokens": true + } + }, + "memory": { + "start_snapshot": { + "vram_used_mib": 22030, + "ram_used_kib": 5921064 + }, + "peak_vram_used_mib": 22030, + "peak_ram_used_kib": 6698492, + "note": "пик — максимум опросов каждые 2 с во время замеров" + }, + "results": [ + { + "case": "4096-prompt", + "target_prompt_tokens": 4096, + "max_tokens": 256, + "prompt_tok_s": { + "median": 1907.8, + "min": 1851.9, + "max": 1994.3, + "n": 3 + }, + "gen_tok_s": { + "median": 81.1, + "min": 80.6, + "max": 90.5, + "n": 3 + }, + "ttft": { + "median": 2.14, + "min": 2.05, + "max": 2.2, + "n": 3 + }, + "wall": { + "median": 5.19, + "min": 5.02, + "max": 5.3, + "n": 3 + }, + "draft_ok": 261, + "draft_n": 550, + "all": [ + { + "prompt_n": 4028, + "prompt_s": 1994.3, + "gen_n": 256, + "gen_s": 81.1, + "draft_n": 188, + "draft_ok": 84, + "cached": 0, + "ttft_s": 2.047, + "wall_s": 5.19, + "text": "Это очень атмосферный и меланхоличный текст. Повторение одного и того же абзаца " + }, + { + "prompt_n": 4028, + "prompt_s": 1907.8, + "gen_n": 256, + "gen_s": 80.6, + "draft_n": 185, + "draft_ok": 82, + "cached": 0, + "ttft_s": 2.139, + "wall_s": 5.3, + "text": "Это очень атмосферный и меланхоличный текст. Повторение одного и того же абзаца " + }, + { + "prompt_n": 4028, + "prompt_s": 1851.9, + "gen_n": 256, + "gen_s": 90.5, + "draft_n": 177, + "draft_ok": 95, + "cached": 0, + "ttft_s": 2.204, + "wall_s": 5.02, + "text": "Это очень атмосферный и меланхоличный текст. Повторение одного и того же абзаца " + } + ] + }, + { + "case": "32768-prompt", + "target_prompt_tokens": 32768, + "max_tokens": 256, + "prompt_tok_s": { + "median": 3128.0, + "min": 3086.6, + "max": 3128.4, + "n": 3 + }, + "gen_tok_s": { + "median": 90.5, + "min": 87.3, + "max": 105.8, + "n": 3 + }, + "ttft": { + "median": 10.31, + "min": 10.3, + "max": 10.44, + "n": 3 + }, + "wall": { + "median": 12.91, + "min": 11.26, + "max": 13.36, + "n": 3 + }, + "draft_ok": 271, + "draft_n": 424, + "all": [ + { + "prompt_n": 31828, + "prompt_s": 3128.0, + "gen_n": 102, + "gen_s": 105.8, + "draft_n": 72, + "draft_ok": 55, + "cached": 0, + "ttft_s": 10.31, + "wall_s": 11.26, + "text": "Зимний вечер медленно опускался на город, и фонари зажигались один за другим вдо" + }, + { + "prompt_n": 31828, + "prompt_s": 3128.4, + "gen_n": 237, + "gen_s": 90.5, + "draft_n": 169, + "draft_ok": 107, + "cached": 0, + "ttft_s": 10.303, + "wall_s": 12.91, + "text": "Это текст представляет собой **повторяющийся фрагмент** (loop), который многокра" + }, + { + "prompt_n": 31828, + "prompt_s": 3086.6, + "gen_n": 256, + "gen_s": 87.3, + "draft_n": 183, + "draft_ok": 109, + "cached": 0, + "ttft_s": 10.442, + "wall_s": 13.36, + "text": "Это текст представляет собой **повторяющийся фрагмент** (loop), который многокра" + } + ] + }, + { + "case": "131072-prompt", + "target_prompt_tokens": 131072, + "max_tokens": 256, + "prompt_tok_s": { + "median": 3126.4, + "min": 3057.4, + "max": 3147.3, + "n": 3 + }, + "gen_tok_s": { + "median": 87.8, + "min": 85.3, + "max": 94.5, + "n": 3 + }, + "ttft": { + "median": 41.17, + "min": 40.89, + "max": 42.09, + "n": 3 + }, + "wall": { + "median": 42.54, + "min": 42.5, + "max": 44.95, + "n": 3 + }, + "draft_ok": 214, + "draft_n": 364, + "all": [ + { + "prompt_n": 127228, + "prompt_s": 3057.4, + "gen_n": 245, + "gen_s": 85.3, + "draft_n": 173, + "draft_ok": 84, + "cached": 0, + "ttft_s": 42.093, + "wall_s": 44.95, + "text": "Это очень атмосферный и меланхоличный текст. Повторение одного и того же абзаца " + }, + { + "prompt_n": 127228, + "prompt_s": 3126.4, + "gen_n": 118, + "gen_s": 87.8, + "draft_n": 75, + "draft_ok": 58, + "cached": 0, + "ttft_s": 41.172, + "wall_s": 42.5, + "text": "Это текст, который многократно повторяется. Вот его уникальная часть:\n\nЗимний ве" + }, + { + "prompt_n": 127228, + "prompt_s": 3147.3, + "gen_n": 157, + "gen_s": 94.5, + "draft_n": 116, + "draft_ok": 72, + "cached": 0, + "ttft_s": 40.886, + "wall_s": 42.54, + "text": "Это текст, который многократно повторяется. Вот его уникальная часть (один цикл)" + } + ] + }, + { + "case": "gen-only", + "target_prompt_tokens": 120, + "max_tokens": 1024, + "prompt_tok_s": { + "median": 296.2, + "min": 291.7, + "max": 306.6, + "n": 3 + }, + "gen_tok_s": { + "median": 93.6, + "min": 83.3, + "max": 97.6, + "n": 3 + }, + "ttft": { + "median": 0.78, + "min": 0.76, + "max": 0.8, + "n": 3 + }, + "wall": { + "median": 9.92, + "min": 4.09, + "max": 10.24, + "n": 3 + }, + "draft_ok": 712, + "draft_n": 1662, + "all": [ + { + "prompt_n": 228, + "prompt_s": 296.2, + "gen_n": 276, + "gen_s": 83.3, + "draft_n": 203, + "draft_ok": 101, + "cached": 0, + "ttft_s": 0.783, + "wall_s": 4.09, + "text": "Этот текст представляет собой атмосферную зарисовку зимнего города, написанную в" + }, + { + "prompt_n": 228, + "prompt_s": 306.6, + "gen_n": 858, + "gen_s": 93.6, + "draft_n": 696, + "draft_ok": 288, + "cached": 0, + "ttft_s": 0.757, + "wall_s": 9.92, + "text": "Этот текст представляет собой атмосферную зарисовку зимнего города, написанную в" + }, + { + "prompt_n": 228, + "prompt_s": 291.7, + "gen_n": 923, + "gen_s": 97.6, + "draft_n": 763, + "draft_ok": 323, + "cached": 0, + "ttft_s": 0.798, + "wall_s": 10.24, + "text": "Этот текст представляет собой атмосферную зарисовку зимнего города, написанную в" + } + ] + } + ] +} \ No newline at end of file