Step 7 of 13Open problem

A constant second inside Ollama

About 1.2 s of every 3-second command, 40%, is reported by Ollama as load time on a model that is already loaded. Grammar compilation, eviction and memory pressure are ruled out.

Ollama load_duration per call
~1.2 s
40% of a ~3.0 s command
Assistant's own code per command
~0 ms

Problem

Ollama reports a load_duration for every request. On the board it stayed at about 1.2 s even with the model resident on the GPU.

Result

Conditionload_duration
The same request, four times in a row0.97 / 1.19 / 1.30 / 1.23 s
No schema at all1.29 / 1.24 / 1.14 s
Alternating between two schemas1.23 / 1.24 / 1.28 / 1.32 s

It isn't grammar compilation: it is there with no schema. It isn't eviction: ollama ps shows the model resident at 2.4 GB, fully on the GPU. It isn't memory pressure: 2.3 GB was free and nothing was paging. A ~3.0 s command breaks down as about 1.2 s of this, 1.1 s of generation, 0.2 to 0.7 s of prompt reading, and nothing measurable in the assistant's own code.

Decision

Open. It is the largest fixed cost left, and taking it out would be the biggest saving available without touching accuracy or firmware.