No description
  • Python 91.8%
  • Shell 8.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
alesha-pro 0faf853875 Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces
152 measurements from one overnight run on 2026-07-22:
80 synthetic speed rows plus 72 fixed-content rows.

vLLM 0.25.0, TP4, explicit FP8 KV, prefix caching, max-num-seqs 64.
Includes launch argv, per-cell vllm bench JSON, server logs,
1s GPU telemetry and the 262K boundary OOM traces.
2026-07-22 13:27:03 +03:00
dflash-k7 Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
dflash-k15 Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
full262-explicit Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
target Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
.gitignore Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
acceptance-vs-context.png Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
all-results.csv Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
bench_content.py Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
bench_metrics.py Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
comparison.json Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
concurrency-4k.png Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
concurrency-512.png Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
concurrency-results.csv Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
content-comparison.json Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
content-concurrency.csv Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
content-single.csv Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
content-throughput.png Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
decode-vs-context.png Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
depth-results.csv Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
environment.txt Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
FULL262-LIMIT.md Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
launch_server.sh Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
METHODOLOGY.md Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
prefix-results.csv Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00
README.md Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090: full benchmark traces 2026-07-22 13:27:03 +03:00

Laguna S 2.1 INT4 vs DFlash on 4x RTX 3090 — full benchmark traces

Shared by @superalesha. Everything here comes from one overnight run on 2026-07-22 on my home rig. 152 measurements total: 80 synthetic speed rows plus 72 fixed-content rows.

Setup

Item Value
GPUs 4x RTX 3090 (24 GB each), PCIe, no NVLink, power limit 220 W per card
Engine vLLM 0.25.0, CUDA 12.8, driver 610.43.02
Target poolside/Laguna-S-2.1-INT4, revision 72e6387d8a2ba9096984edb6771a710d82482944
Draft poolside/Laguna-S-2.1-DFlash-INT4, revision 5e07c246915c86dc6920fead03d019989224f2ba, SHA256 verified against LFS
Common flags TP=4, explicit --kv-cache-dtype fp8, prefix caching, poolside_v1 reasoning/tool parsers, auto tool choice, max-num-seqs 64, CUDA graphs through batch 64
Target profile 262,144 ctx, gpu-memory-utilization 0.95, 452,826 KV tokens
DFlash speed profiles 131,456 ctx; util 0.85 (K7) / 0.833 (K15); K15 C64 isolated on a 32K/0.815 profile
Spec config --speculative-config {"model": <draft>, "method": "dflash", "num_speculative_tokens": 7 or 15}

Exact launch command: launch_server.sh. Environment snapshot: environment.txt. All three arms are fresh server processes with symmetric flags, so the prefix cache never leaks between arms.

Key results (short version)

  • Random-token synthetic prompts (vllm bench serve, fixed lengths, seeded, ignore-eos) are a worst case for the draft: acceptance ~19-24% at most depths, K7 single-request decode 87.5 vs 98.5 tok/s target-only.
  • Content decides everything. On 8 fixed real coding prompts (greedy, temperature 0) acceptance is 47.4% and K7 gives 151.9 vs 99.0 tok/s, a 1.53x single-request win. On 8 inference-systems prompts acceptance is 28% and the result is about breakeven (103.7 vs 98.9).
  • Acceptance vs depth is non-monotonic on random tokens: 22.2% @512, 23.9% @4K, 18.5% @16K, 19.1% @32K, 7.7% @64K, then 38.2% @128K where K7 wins 1.36x decode. So we do not see a clean "longer context = worse" trend; content dominates depth.
  • Under concurrency the verification cost dominates on this hardware: at 512/256 C48, target-only 475.8 tok/s aggregate vs 270.8 (K7) and 165.5 (K15). Code content at C16 is parity (482.5 vs 474.3).
  • K15 loses everywhere on this rig (acceptance 7-23%).
  • A nominal 262K DFlash profile boots (util 0.8805, 262,677 KV tokens) but both K7 and K15 hit runtime CUDA OOM at concurrency 8; traces are in full262-explicit/. The stable DFlash ceiling here is 131,456 ctx.

Not a refutation of DFlash as a method: my read is that Ampere PCIe at 220 W makes target verification expensive relative to the draft, and random-token synthetics understate real acceptance. The official 2.5-3.8x was measured in a different TP and workload configuration.

Known limitations

  • One iteration per synthetic cell, one seed. No error bars.
  • This is the vLLM 0.25 DFlash implementation, not poolside's own stack.
  • ignore-eos forces fixed output lengths on synthetic rows.
  • Content suite is greedy (temperature 0). bench_metrics.py also contains a small temperature 0/1 sampling parity check.

File map

  • METHODOLOGY.md — full workload matrix, metrics, validity rules.
  • FULL262-LIMIT.md — why the 262K DFlash profile is not stable here.
  • launch_server.sh, environment.txt — exact argv and environment.
  • bench_metrics.py, bench_content.py — the benchmark clients used.
  • all-results.csv — all 80 successful synthetic rows.
  • concurrency-results.csv, depth-results.csv, prefix-results.csv — slices of the same data.
  • content-single.csv, content-concurrency.csv — fixed-content suite.
  • comparison.json, content-comparison.json — machine-readable A/B ratios (decode speedup, acceptance, accepted tokens per round, TTFT ratio).
  • target/, dflash-k7/, dflash-k15/ — raw per-cell vllm bench serve JSON, benchmark logs, API smoke tests, and 1-second nvidia-smi telemetry (VRAM, power, clocks, throttle reasons) for every phase.
  • full262-explicit/ — the retained 262K boundary runs with OOM traces from all TP workers.
  • *.png — charts rendered from the CSVs above.

Happy to re-run any config (different K, max batched tokens, sampling settings, real trace replay) — ping me on X: @superalesha.