Search under load
Keep search responsive with 20 simultaneous users on efcore. Caching and indexed lookups let SQLite serve more requests per second.
How search, indexing and local chat changed on the owner’s laptop, from the first baseline to today.
473 runs473 measured23 milestones
Cold open of the indexing page on the dotnet/runtime index. Counts loaded separately.
| Series | ms | Evidence | Run |
|---|---|---|---|
| Before | 38,091 | Measured | 2026-11-25-indexing-page-open-before-after |
| After | 177 | Measured | 2026-11-25-indexing-page-open-before-after |
Compare five embedding models on the same 2,000 passages. Small e5 finished first on the idle CPU. Retrieval quality was evaluated separately.
Establish a CPU baseline for retrieval-assisted chat. Qwen2.5 answered the initial prompt and a German follow-up on 12 CPU threads.
Exercise the redesigned chat in real conversations. The initial retrieval-assisted answer arrived on CPU while the new interface also handled follow-ups and tool consent.
Compare the benchmark with real chat usage. Prompt lengths and load varied. These CPU conversations provide an observational baseline for Qwen3 4B.
Time the same train problem with thinking disabled and enabled. Qwen3 1.7B generated a longer answer when thinking was enabled on the busy CPU.
Measure how quickly Qwen3 1.7B writes an answer after reading a long prompt. Full Vulkan offload accelerated generation. The integrated Radeon fell back to CPU.
Compare CPU and GPU generation during a short self-test. The RTX remained faster in this Qwen3 4B check, although other work on the laptop affected the rates.
Find out whether two Qwen3 1.7B conversations can share one GPU. Two simultaneous chats increased combined output. Each conversation received only part of that throughput.
Check where a pinned chat model actually runs. The placement test recorded generation on both the CPU and the RTX.
Trace a full dotnet/runtime checkout from files to vectors. Embedding occupied the CPU while the GPU sat idle. The baseline stopped before all vectors were written.
Test whether more sessions can keep the RTX busy on e5-small fp16. With two concurrent callers, moving from two sessions to four almost doubled throughput.
Run the new pipeline end to end with EmbeddingGemma 4-bit. Both runs finished. The quieter machine and newer build improved the observed rate, so the difference cannot be attributed to the pipeline alone.
Show the page while its sections load independently. The cold first byte arrived much sooner. The knowledge counts continued loading afterward.
Reduce the wait for a warm Dictionary resize query. The result stayed third in the top five while the median wait fell.
Limit background indexing on the RTX with a duty-cycle budget. The lower budget left room for foreground work at the cost of a longer index.
Test whether extra devices help the RTX finish an embedding stage. On this laptop, using all four devices took throughput below the RTX alone.
Run e5-small fp16 through three providers on the same RTX. TensorRT for RTX gave the highest single-session rate in this workload. Background CPU load varied.
Measure extraction through storage with the per-file text cap. The deck and capped PDF went through the full pipeline on the shared laptop.
Release thread-pool workers while indexing waits for CPU time. The stall regression passed after the fix. Full-index time on two processors stayed close to baseline.
Include startup and verify each stored vector against the RTX reference. Opening slower devices cost time. Across the repeated trials, no combination reliably beat the RTX alone.
Test approximate search against exact neighbors at larger scale. With PostgreSQL as host, the Qdrant float32 run recovered the reference top ten.
Check which provider paths actually run in WSL 2. The standalone CUDA harness used the RTX. The product registration path on this host fell back to CPU.