llama.cpp Benchmark: DFlash2 20% Faster but Cuts Context by 38%
Opening-Broccoli9190 · reddit · 2026-08-21
A user benchmarked DFlash2 vs MTP speculation decoding strategies in llama.cpp using Qwen 3.8 27B (Q8) on a 5090RTX.
Key Data:
- Generation Speed: DFlash2 is 20.2% faster on average than MTP.
- Prompt Parsing: MTP is slightly faster by 1.3% (effectively tied).
- Context Capacity: DFlash2 maxes out at 90,112 tokens, while MTP supports 124,416 tokens. MTP provides 38.1% more usable context.
Conclusion:
- Use DFlash2 for short tasks where speed is critical.
- For long tasks or large context work (>100k), DFlash2 loses its advantage due to compaction and diminishing returns, and the significant loss of context space makes it a risky trade-off.
Full llama-server configuration parameters are included.
Related event: llama.cpp's New DFlash2 Boosts Qwen Inference Speed Up to 3x(2 posts)→
More from Infra
- oMLX 0.8.4 doubles Inkling 2 Mini decode speed on Mac, adds concurrent MTP — pcuenq · 2026-11-30
- Tencent issues $5.4B notes as AI costs turn cash flow negative; AMD closes World Labs deal with Fei-Fei Li — YvesMulkers · 2026-11-30
- Banks in Europe and Asia plan higher spending on local data storage to cut US cloud reliance — AIFlow_ML · 2026-11-30
- Air New Zealand to offer free Starlink Wi-Fi across entire fleet by end of 2028 — elonmusk · 2026-11-30
- From Scratch to Trained Video Model in 10 Minutes With Pure C++/CUDA — gandamu_ml · 2026-11-30
- Study: 603 data center restrictions in 445 US counties, all 42 ballot proposals rejected — huggingface · 2026-11-30