Experiment

A measurement plan for local LLM inference

Separate prompt processing, token generation, memory pressure, and task quality before comparing configurations.

llama.cppBenchmarkingLocal LLMs
Design proposal. Published Oct 25, 2026. Reviewed Oct 25, 2026.

Start with a question

“Is GPU inference faster?” is incomplete without a workload and a configuration. A useful comparison needs a model file, context length, backend version, hardware profile, and repeatable task.

This article describes a proposed procedure for the Drabsnarg local system. It contains no benchmark results.

Measure separate phases

Prompt processing and output generation are different workloads. Report their speeds separately rather than presenting a single number as overall model performance.

Also record time to first token when relevant to the user experience, memory use, and whether the output actually meets the task requirements.

Record enough context

FieldWhy it matters
Model and quantizationEstablishes the exact model representation
Inference buildBackend behavior can change between versions
Context configurationChanges memory requirements and workload
CPU/GPU configurationIdentifies what is being compared
Prompt and output lengthsMakes the workload interpretable
Sampling configurationHelps explain output variation
Warm-up and repetitionsSeparates startup effects from repeated operation
Memory pressureReveals resource constraints beyond throughput

Proposed procedure

  1. Capture the configuration and stop unrelated heavy workloads.
  2. Use a fixed set of prompts with documented expected behavior.
  3. Perform a warm-up and record startup separately.
  4. Repeat measurements under equivalent conditions.
  5. Preserve raw output after removing sensitive material.
  6. Report variation, failed runs, and limitations alongside any summary.

The llama.cpp project includes benchmarking tools. Follow the options supported by the installed build rather than copying version-dependent commands without checking them.

Current local observation

The owner has tested CPU-only and Metal inference on the Vega 64 system and has not seen reliable improvement from GPU acceleration. That is an owner-reported observation, not a published benchmark comparison.

Exact settings and repeated measurements are needed before drawing broader conclusions.

References