Speed test
LFM2-350M
AMD Ryzen 7 7840HS · llama.cpp · commit 6b4dc21, AVX2 -Ofast Zen4-tuned no-repack server · Q2_K_S
steveseguinCommunityJul 14, 2026
Decode
594tok/s
Prefill
495tok/s
Time to first token
—
Total
—
Peak VRAM
—
Context length
512
KV depth
—
Batch size
8
Concurrency
8
Power draw
—
Verification
Not verified — experimental result
Verified runs use a standard test prompt and record enough data to check the result.
Launch command
taskset -c 0-7 llama-server -m LFM2-350M-Q2_K_S-imatrix.gguf -c 512 -np 8 -t 8 -tb 8 -b 4096 -ub 1024 --poll 100 -ctk q8_0 -ctv q8_0 -fa auto
Theoretical memory ceiling
We don't have memory speed data for this hardware yet, so a ceiling can't be estimated.
Hardware
- CPU
- AMD Ryzen 7 7840HS
- RAM
- 32 GB
- OS
- Ubuntu 24.04.4 LTS
Engine
- Engine
- llama.cpp
- Version
- commit 6b4dc21, AVX2 -Ofast Zen4-tuned no-repack server
- Quant
- Q2_K_S
- Backend
- cpu
- KV cache
- q8_0
- Prefill chunk
- 1024
- Flash Attn
- yes
Run config
- Context
- 512 tokens
- Batch size
- 8
- Prompt tokens
- 29
- Prefill tok/s
- 495.4 tok/s
- Output tokens
- 128
- Notes
- Warm steady-state CPU benchmark: eight simultaneous HTTP requests, eight server slots sharing eight physical CPU threads (CPUs 0-7), ubatch 1024. Two 16-request decode batches measured 599.07 and 584.46 aggregate tok/s; two 8-request batches measured 591.41 and 589.89, reported midpoint 594.48 tok/s. Matching eight-request short-prompt prefill measured 495.43 tok/s over 232 prompt tokens. One warm-up batch was discarded. q8_0 K/V cache; no GPU offload or SMT.
Captured evidence
- Prompt hash (SHA-256)
- —
Prompt sample—
Output sample—
More runs of this model on this hardware
- 637tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast Zen4-tuned no-repack server · Q2_K_S512 context · 0 depth · batch 24steveseguin · Jul 14, 2026
- 630tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast Zen4-tuned no-repack server · Q2_K_S512 context · 0 depth · batch 24steveseguin · Jul 14, 2026
- 400tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast Zen4-tuned no-repack server · Q2_K_S512 context · 0 depth · batch 8steveseguin · Jul 14, 2026
- 308tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast Zen4-tuned no-repack build · Q2_K_S512 context · 0 depth · batch 1steveseguin · Jul 14, 2026
- 308tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast Zen4-tuned no-repack build · Q2_K_S512 context · 0 depth · batch 1steveseguin · Jul 14, 2026
- 308tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast Zen4-tuned no-repack build · Q2_K_S512 context · 0 depth · batch 1steveseguin · Jul 14, 2026
- 307tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast no-repack build · Q2_K_S512 context · 0 depth · batch 1steveseguin · Jul 14, 2026
- 306tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast build · Q2_K_S512 context · 0 depth · batch 1steveseguin · Jul 14, 2026
- 299tok/sllama.cpp · commit 6b4dc21, -Ofast native build · Q2_K_S512 context · 0 depth · batch 1steveseguin · Jul 14, 2026
- 297tok/sllama.cpp · commit 6b4dc21 · Q2_K_S512 context · 0 depth · batch 1steveseguin · Jul 14, 2026
