Speed test
SmolLM2-135M-Instruct
AMD Ryzen 7 7840HS · llama.cpp · commit 6b4dc21, AVX2 -Ofast Zen4-tuned no-repack server · Q2_K
steveseguinCommunityJul 14, 2026
Decode
1.1ktok/s
Prefill
2.0ktok/s
Time to first token
—
Total
—
Peak VRAM
—
Context length
512
KV depth
—
Batch size
64
Concurrency
64
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 SmolLM2-135M-Instruct-Q2_K.gguf -c 512 -np 64 -t 8 -tb 8 -b 8192 -ub 1024 --poll 100 --cpu-range 0-7 --cpu-strict 1 --cpu-range-batch 0-7 --cpu-strict-batch 1 -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
- Backend
- cpu
- KV cache
- q8_0
- Prefill chunk
- 1024
- Flash Attn
- yes
Run config
- Context
- 512 tokens
- Batch size
- 64
- Prompt tokens
- 230
- Prefill tok/s
- 1,953.4 tok/s
- Output tokens
- 128
- Notes
- Warm steady-state CPU benchmark on SmolLM2-135M-Instruct Q2_K: 64 simultaneous HTTP requests, 64 server slots sharing eight physical CPU threads (CPUs 0-7), ubatch 1024, strict CPU and batch affinity. Two 64-request decode batches measured 1075.73 and 1105.25 aggregate tok/s; reported midpoint 1090.49 tok/s. Best prefill companion setting remains 32 slots/ubatch 1024/F16 K/V at 1953.37 aggregate prompt tok/s over 7360 prompt tokens. One warm-up batch was discarded. q8_0 K/V cache for decode; no GPU offload or SMT.
Captured evidence
- Prompt hash (SHA-256)
- —
Prompt sample—
Output sample—
More runs of this model on this hardware
- 440tok/sllama.cpp · commit 6b4dc21 · Q2_K2K context · 0 depth · batch 1steveseguin · Jul 13, 2026
- 375tok/sllama.cpp · commit 6b4dc21 · Q4_K_M2K context · 0 depth · batch 1steveseguin · Jul 13, 2026
- 305tok/sllama.cpp · commit 6b4dc21 · Q8_02K context · 0 depth · batch 1steveseguin · Jul 13, 2026
- 183tok/sllama.cpp · commit 6b4dc21 · F162K context · 0 depth · batch 1steveseguin · Jul 13, 2026
