Vector engine benchmark: eshoponweb
Run started 6 Oct 2026, 13:06 UTC. Data: eShopOnWeb, 524 vectors. Queries: 20 labelled questions.
Used by: published-2026-10-08 (v7, basis)
The runs of v7 were also used by the set blocked-2026-10-06-v7, which was not published; its verdict, design/verdicts/v7-verdict.md, holds the word BLOCK.
sources
- file
design/verdicts/v7-verdict.md#BLOCK= BLOCK - consolidated
consolidated:reuse[session=v7].verdict= design/verdicts/v7-verdict.md - consolidated
consolidated:reuse[session=v7].blockedFolders[0]= blocked-2026-10-06-v7
Machine: CPU Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz; Logical CPUs 8; RAM (GiB) 62.7; OS Ubuntu 24.04.5 LTS, kernel 6.8.0-142-generic; Governor performance; Partition client 0-1,4-5; engines 2-3,6-7; Release build; Exact mode seconds 60.
Warm-up, as this run's notes record it: Warm-up and settle check, untimed, right before every timed pass: the pass's own search at the pass's own number of searchers for at least 15 s and at least 20 searches (at most 120 s), read in windows of at least 2 s and 100 searches; then a 3 s trial of the same pass.
Clock, as this run's notes record it: CPU clock pinned for the run: turbo off (intel_pstate/no_turbo 0 -> 1), so every CPU's clock is held at its ceiling of 3500 MHz whatever the engine runs [Correction 5]
| Engine | p50 (ms) | Searches per second, one searcher | Searches per second, eight searchers at once | Exact mode p50 (ms) | Client CPU per search, one searcher (ms) | Recall in hits | Flags |
|---|---|---|---|---|---|---|---|
| Chroma | 2.11 | 469 | 777 | - | 0.48 | 200 of 200 | |
| ClickHouse | 4.97 | 192 | 375 | 6.67 | 0.87 | 199 of 200 | |
| DuckDB | 3.67 | 270 | 576 | 4.21 | 5.02 | 200 of 200 | |
| Elasticsearch | 1.33 | 739 | 2,671 | 1.28 | 0.46 | 200 of 200 | Ix |
| MariaDB | 0.64 | 1,546 | 5,911 | 1.64 | 0.49 | 200 of 200 | |
| Milvus | 2.34 | 405 | 1,255 | - | 0.57 | 200 of 200 | |
| MongoDB Atlas Local | 1.41 | 691 | 2,066 | 1.24 | 0.31 | 200 of 200 | Bz |
| OpenSearch | 2.16 | 451 | 1,346 | 2.75 | 0.47 | 200 of 200 | |
| Oracle 23ai Free | 0.93 | 1,051 | 2,802 | 2.48 | 0.88 | 200 of 200 | |
| Qdrant (HNSW) | 0.92 | 1,071 | 3,452 | 0.89 | 0.73 | 200 of 200 | |
| Qdrant (exact) | 0.89 | 1,111 | 3,274 | - | 0.74 | 200 of 200 | |
| Redis redis holds its data in memory: its saved docs page says 'Redis is an in-memory but persistent on disk database', and its compose file sets save "300 1" and appendonly no. sources
| 0.40 | 2,527 | 5,120 | 0.38 | 0.57 | 200 of 200 | |
| SQL Server 2025 | 4.06 | 241 | 612 | - | 1.22 | 200 of 200 | |
| SQL Server 2025 + DiskANN | 3.60 | 271 | 691 | 3.74 | 1.02 | 193 of 200 | |
| Typesense | 4.18 | 235 | 575 | 5.66 | 0.52 | 200 of 200 | |
| Vespa | 1.97 | 492 | 1,526 | 1.96 | 0.96 | 200 of 200 | |
| Weaviate | 5.36 | 166 | 305 | - | 0.57 | 200 of 200 | |
| pgvector | 0.88 | 1,107 | 3,934 | 2.26 | 0.69 | 200 of 200 | |
| sqlite-vec | 1.92 | 510 | 1,142 | 1.91 | 2.07 | 200 of 200 |
Engines are listed in alphabetical order. The table does not rank them.
A dash means the table has no figure there.
The small markers after an engine name are flags. Hover a marker for its evidence, or read the list below the tables.
- Bz
busy-boxCPUs outside the benchmark were busy during the timed pass. The evidence gives the figure. - Ix
index-not-readyThe engine did not report a finished index after the load or after the searches.
Evidence behind the flags
- Elasticsearch
index-not-readyafterLoad: the engine's index state read not ready, 0 of 524 vectors indexed - Elasticsearch
index-not-readyafterSearch: the engine's index state read not ready, 0 of 524 vectors indexed - MongoDB Atlas Local
busy-boxexact: CPUs busy outside the benchmark 0.307
Full results
This report is printed as the run wrote it, except for any sentence a note above it says was left out. This page does not check the engine texts in it. The summary page's facts table gives the label of each fact it uses.
Run 2026-10-06T13:06:19Z (run-all). Command line:
~/gvb-work/lanes/v7-final/src/GenericVectorBuilder.Bench/bin/Release/net10.0/GenericVectorBuilder.Bench.dll run-all --pipeline eshoponweb --queries golden --seed 701 --out ~/ForClaude/GenericVectorBuilder/bench-results
- Machine: bench-host, Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz (8 logical CPUs), 62.7 GiB RAM, GPU NVIDIA GeForce RTX 3060, 12288 MiB, Ubuntu 24.04.5 LTS, kernel 6.8.0-142-generic, .NET 10.0.12, load average at start 0.81 0.48 0.28
- Data: 524 vectors x 1024 dims, collection
gvbbench_eshoponweb. Read READ-ONLY from GenericVectorBuilder.dbo.gvb_eshoponweb in ChunkId order, vectors as native SqlVector<float>, 0.2 s. - Queries: golden: 20 labelled questions from ~/ForClaude/evalkit/questions_golden.json, embedded with qwen3-emb-0.6b (cached in ~/gvb-data/bench-cache/golden-eshoponweb-68df42ca69efa079.json, no embedding calls). Top 10. Throughput at concurrency 1, 8 for 20 s each.
- Request speed on a small collection (524 vectors): Measured end to end through each engine's .NET client [Correction 3]; at this size it reflects per-request cost including the client library, not index scaling.
- Client CPU per search is the CPU time the test's .NET client itself used for each search, measured in the same pass as the figure beside it.
- Ground truth: brute force over every vector in memory, 0.0 s for all 20 queries.
- nDCG@10 of the exact answer itself (the ceiling for this embedder): 0.518
| engine | index | load rows/s | p50 ms | p95 ms | p99 ms | QPS@1 | QPS@8 | client CPU ms/search@1 | client CPU ms/search@8 | recall@10 | nDCG@10 | RAM | disk |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| clickhouse | vector_similarity HNSW cosineDistance, quantization bf16, M=16 ef_construction=128, hnsw_candidate_list_size_for_search=256, rescoring off; exact mode = full scan with skip indexes off | 3,196 | 4.97 | 7.40 | 8.14 | 191.6 | 374.8 | 0.87 | 1.06 | 0.995 | 0.528 | 894 MiB | 4.21 GiB |
| vespa | HNSW float32 tensor, prenormalized-angular (cosine), max-links-per-node=16, neighbors-to-explore-at-insert=128; search targetHits=top, ef=100 via exploreAdditionalHits; exact mode = approximate:false; vectors held in memory | 276 | 1.97 | 2.42 | 2.74 | 491.5 | 1526.2 | 0.96 | 0.88 | 1.000 | 0.518 | 2.93 GiB | 29.63 MiB |
| oracle | HNSW in-memory neighbor graph NEIGHBORS=16 EFCONSTRUCTION=128, EFSEARCH=100 per query, cosine; exact mode = FETCH EXACT FIRST (full scan); Oracle Free caps itself at 2 CPUs (cpu_count 2 in V$PARAMETER, edition FREE in V$INSTANCE, 8 host CPUs in V$OSSTAT NUM_CPUS; the 2 CPU thread limit is Oracle's documented Free edition limit) | 1,729 | 0.93 | 1.12 | 1.78 | 1050.9 | 2802.2 | 0.88 | 0.64 | 1.000 | 0.518 | 2.13 GiB | 0 B |
| elasticsearch | HNSW float32, no quantization, m=16, ef_construction=128, cosine; search k=top, num_candidates=100; 1 shard, 0 replicas; force-merged to one segment after the load (at 1,024 dimensions a segment under 1,043 vectors gets no graph) | 452 | 1.33 | 1.51 | 1.78 | 739.5 | 2671.3 | 0.46 | 0.50 | 1.000 | 0.518 | 2.68 GiB | 2.39 MiB |
| sql | exact VECTOR_DISTANCE cosine, no vector index (full scan) | 587 | 4.06 | 4.58 | 6.06 | 241.0 | 611.6 | 1.22 | 1.18 | 1.000 | 0.518 | 529.9 MiB | 5.15 MiB |
| pgvector | HNSW vector_cosine_ops m=16 ef_construction=128, hnsw.ef_search=100 per query, float32 vector(n), cosine; exact mode = same query with index scans off (sequential scan) | 605 | 0.88 | 1.04 | 1.31 | 1107.1 | 3933.9 | 0.69 | 0.54 | 1.000 | 0.518 | 100.5 MiB | 7.57 MiB |
| sqlitevec | vec0 brute-force scan, no ANN index (exact), float32, cosine distance, default chunk_size=1024; score = 1 - cosine distance; searches run concurrently, one WAL reader connection per searcher (opened as searchers arrive, at most 32), writes run one at a time and may overlap searches | 4,077 | 1.92 | 2.18 | 2.34 | 509.9 | 1141.9 | 2.07 | 3.49 | 1.000 | 0.518 | - | 9.72 MiB |
| qdrant | exact scan: the builder's sink sends exact=true on every search, so no HNSW graph is used whether or not Qdrant has built one (see the index state) | 5,033 | 0.89 | 1.02 | 1.40 | 1111.2 | 3273.8 | 0.74 | 0.53 | 1.000 | 0.518 | 90.19 MiB | 196.08 MiB |
| opensearch | faiss HNSW float32, no compression, m=16, ef_construction=128, cosinesimil; search k=top, ef_search=100; 1 shard, 0 replicas; graph built at any segment size (approximate_threshold=0); force-merged to one segment after the load | 369 | 2.16 | 2.50 | 3.45 | 450.9 | 1346.3 | 0.47 | 0.51 | 1.000 | 0.518 | 2.67 GiB | 9.66 MiB |
| qdrant-hnsw | HNSW m=16 ef_construct=100, hnsw_ef=server default, cosine; indexing_threshold_kb 1 and full_scan_threshold_kb 10 (server defaults are 10,000 each) so a small collection builds and walks its graph | 7,094 | 0.92 | 1.05 | 1.41 | 1071.5 | 3451.9 | 0.73 | 0.51 | 1.000 | 0.518 | 37.06 MiB | 164.1 MiB |
| redis | HNSW TYPE FLOAT32 M=16 EF_CONSTRUCTION=128, EF_RUNTIME=100 per query, cosine; exact mode = FLAT index built on first exact query | 12,405 | 0.40 | 0.49 | 0.72 | 2526.9 | 5120.1 | 0.57 | 0.36 | 1.000 | 0.518 | 254.2 MiB | 0 B |
| milvus | HNSW M=16 efConstruction=128, ef=100, metric COSINE, Strong consistency searches; approximate only (no exact mode) | 1,155 | 2.34 | 2.90 | 3.91 | 405.4 | 1254.7 | 0.57 | 0.64 | 1.000 | 0.518 | 223.6 MiB | 10.93 MiB |
| mariadb | VECTOR INDEX (HNSW variant) DISTANCE=cosine, M=16 (no ef_construction setting exists), mhnsw_ef_search=100 per statement (the ef 100 most engines here use, so the search effort matches; MariaDB's own default is 20; recall@10 at ef 100 falls as the set grows (random 1024-dimension vectors, measured 2026-10-04: 0.99 at 524, 0.89 to 0.92 at 2,000; an earlier run gave about 0.09 at 100,000 [Correction 4])), mhnsw_max_cache_size 4G; exact mode = IGNORE INDEX full scan | 1,010 | 0.64 | 0.72 | 0.86 | 1546.4 | 5911.5 | 0.49 | 0.38 | 1.000 | 0.518 | 159.5 MiB | 22.01 MiB |
| weaviate | HNSW maxConnections(M)=16 efConstruction=128, ef=-1 (dynamic: limit x 8 clamped 100..500), cosine, no quantization; approximate only (no exact mode) | 1,004 | 5.36 | 10.7 | 11.8 | 165.6 | 304.9 | 0.57 | 0.62 | 1.000 | 0.518 | 175.9 MiB | 2.96 MiB |
| mongodb | vectorSearch index, HNSW maxEdges=16 numEdgeCandidates=128, float32 binData, cosine, numCandidates=20x hits (min 100); exact mode = $vectorSearch exact:true | 3,545 | 1.41 | 1.66 | 1.95 | 691.0 | 2066.0 | 0.31 | 0.29 | 1.000 | 0.518 | 882.5 MiB | 171.38 KiB |
| chroma | HNSW M=16 ef_construction=128, ef_search=100 (Chroma default), cosine; approximate only (no exact mode) | 668 | 2.11 | 2.38 | 2.65 | 468.9 | 777.1 | 0.48 | 0.48 | 1.000 | 0.518 | 79.52 MiB | 414.16 KiB |
| typesense | HNSW float32 (hnswlib), m=16, ef_construction=128, cosine; search k=top, ef=100; exact mode = filter ordinal:>=0 with flat_search_cutoff; index held in memory | 998 | 4.18 | 4.60 | 5.54 | 235.2 | 575.0 | 0.52 | 0.59 | 1.000 | 0.518 | 114.6 MiB | 9.42 MiB |
| sql-diskann | DiskANN (preview) via VECTOR_SEARCH, cosine, build {"StartId":"306", "L":"48", "M":"8", "R":"48"}; the exact mode scans the same table | 617 | 3.60 | 4.06 | 4.68 | 271.5 | 690.7 | 1.02 | 1.09 | 0.965 | 0.526 | 530.6 MiB | 4.52 MiB |
| duckdb | HNSW (vss extension) FLOAT[n] metric=cosine m=16 ef_construction=128, ef_search=100 per connection, persistent (hnsw_enable_experimental_persistence=true, checkpoint_threshold=256MB); exact mode = array_cosine_similarity sequential scan; score = 1 - cosine distance; searches run concurrently, one connection per searcher (opened as searchers arrive, at most 32), writes run one at a time and never overlap a search | 1,527 | 3.67 | 4.06 | 5.26 | 269.6 | 576.1 | 5.02 | 6.91 | 1.000 | 0.518 | - | 2.9 MiB |
Details per target
ClickHouse clickhouse
- Engine: ClickHouse 26.3.39.7 (MergeTree + vector_similarity index; image-default system logging, each log table with a TTL of 1 hour) (compose)
- Index: vector_similarity HNSW cosineDistance, quantization bf16, M=16 ef_construction=128, hnsw_candidate_list_size_for_search=256, rescoring off; exact mode = full scan with skip indexes off
- Search settings: M=16, ef_construction=128, hnsw_candidate_list_size_for_search=256
- Load: 524 rows in batches of 1000, 0.2 s of upserts (3,196 rows/s); count matched 0.0 s after the last upsert; index step 6.2 s (1 data part(s), index files on 1 of them, 524 of 524 live rows in indexed parts; 0 merge(s) running, 0 unfinished mutation(s); plan of the default search uses the Skip index vec_idx on 1 of 1 parts; wait took 6.2 s)
- Search: 3832 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 0.87 ms, 8 searchers 1.06 ms
- Exact mode: 8,686 searches, p50 6.67 ms, p95 9.15 ms, recall 1.000
- RAM: 894 MiB (docker stats); disk: 4.21 GiB added by this load [Correction 2] (4.21 GiB (whole engine data folder), 99.17 KiB before)
- Started by run-all for this measurement with every container created on CPUs 2-3,6-7 (started clickhouse.compose.yaml with every container created on CPUs 2-3,6-7: gvb-clickhouse cpuset 2-3,6-7 (read back from docker inspect)); stopped afterwards.
- Engine files (SHA-256, first 12 hex digits): [clickhouse-config/gvb-system-logs.xml 02cc53f0f171; clickhouse.compose.yaml 560e0ae487c6]. This run created the engine from these files.
- Index after the load: ready, 524 of 524 indexed (1 data part(s), index files on 1 of them, 524 of 524 live rows in indexed parts; 0 merge(s) running, 0 unfinished mutation(s); plan of the default search uses the Skip index vec_idx on 1 of 1 parts). Durability: Acknowledged inserts are not fsynced. The sink creates plain MergeTree tables, so the MergeTree settings are the defaults: fsync_after_insert 0 and fsync_part_directory 0 (system.merge_tree_settings), and async_insert 1 with wait_for_async_insert 1 is the server default for the gvb login (system.settings), so an insert is acknowledged once its part is written, not once it is on disk. Measured 2026-10-04 with strace over 30 acknowledged single-row inserts (30 Ok rows in system.asynchronous_insert_log): zero fsync, fdatasync or sync_file_range calls, while the control, a table created with fsync_after_insert=1, made 61 fdatasync calls for 5 inserts. A host power loss or kernel crash can lose acknowledged rows that are still in the OS page cache; a ClickHouse process crash alone should not (inferred, not tested)..
- Outside load when searching began: 0.25 CPUs on average over the last 6 s and 0.26 over the last few seconds (limit 0.3), a quiet box. The load average 0.69 0.46 0.27 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: default@1 5,919 searches in 30.0 s, default@8 13,071 searches in 30.0 s, exact 4,223 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. default@1: warm-up 15.0 s and 2,956 searches (0 failed) at 1 searcher; p50 of the last windows 4.924, 4.968, 4.906 ms (windows of at least 2 s and 100 searches); trial of 602 searches in 3.0 s at 1 searcher: p50 4.901 ms against the settled p50 4.924 ms, 0% apart (limit 10%); the timed pass p50 4.973 ms, 1% from the settled p50 4.924 ms (limit 10% or 0.1 ms; 0.050 ms); default@8: warm-up 15.0 s and 6,536 searches (0 failed) at 8 searchers; QPS of the last windows 470, 464, 417 (windows of at least 2 s and 100 searches) (its last 3 windows differed by more than 5%); trial of 1,334 searches in 3.0 s at 8 searchers: 443 QPS against the settled 464 QPS, 5% apart (limit 10%), so the warm-up was EXTENDED once (32.1 s and 13,297 searches (0 failed) at 8 searchers; QPS of its older 7 windows 418 (windows 459, 327, 418, 466, 460, 435, 364) and of its newer 7 401 (windows 431, 450, 458, 391, 294, 364, 417), 4.4% apart (limit 5%) (windows of at least 2 s and 100 searches)); second trial of 1,153 searches in 3.0 s at 8 searchers: 383 QPS against the settled 401 QPS, 5% apart (limit 10%), inside its newer windows' range 294 to 458 QPS; settled after the extension; the timed pass 375 QPS, 7% from the settled 401 QPS (limit 10%); exact: warm-up 15.0 s and 1,921 searches (0 failed) at 1 searcher; p50 of the last windows 7.100, 6.871, 6.810 ms (windows of at least 2 s and 100 searches); trial of 389 searches in 3.0 s at 1 searcher: p50 6.936 ms against the settled p50 6.871 ms, 1% apart (limit 10%); the timed pass p50 6.674 ms, 3% from the settled p50 6.871 ms (limit 10% or 0.1 ms; 0.197 ms).
- Pass default@1 after rehearsal: 2026-10-06T13:08:22.784Z to 2026-10-06T13:08:42.787Z (20.0 s), 3,832 searches, 0 failed, p50 4.973 ms, mean 5.217 ms, p99 8.143 ms, 191.6 QPS (1000/QPS 5.220 ms).
- Pass default@8 after default@1: 2026-10-06T13:09:53.945Z to 2026-10-06T13:10:13.956Z (20.0 s), 7,500 searches, 0 failed, p50 20.844 ms, mean 21.335 ms, p99 39.445 ms, 374.8 QPS (1000/QPS 2.668 ms).
- Pass exact after default@8: 2026-10-06T13:10:31.966Z to 2026-10-06T13:11:31.968Z (60.0 s), 8,686 searches, 0 failed, p50 6.674 ms, mean 6.904 ms, p99 10.275 ms, 144.8 QPS (1000/QPS 6.908 ms).
- Passes in the order run: default@1, default@8, exact; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 57,827 sent, 0 failed (warmupErrors). Index after the searches: ready, 524 of 524 indexed (1 data part(s), index files on 1 of them, 524 of 524 live rows in indexed parts; 0 merge(s) running, 0 unfinished mutation(s); plan of the default search uses the Skip index vec_idx on 1 of 1 parts).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: container address on its Docker network, not the published port (no docker-proxy): container gvb-clickhouse (32cf2c26b272) on network gvb-clickhouse_default at container-ip:8123, not through docker-proxy localhost:8123. Open after the passes: localhost:1433 x2 (not this target), container-ip:8123 x1 (this target).
- CPU pinning: cpuset from the container's creation when run-all started it on the engine CPUs, else docker update --cpuset-cpus (each container's change line says which), CPUs 2-3,6-7. Changed: container gvb-clickhouse: already on CPUs 2-3,6-7 (its cpuset since creation), not changed. Read back: container gvb-clickhouse: 680 thread(s) on CPUs 2-3,6-7 (every thread of the container).
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): default@1 3492/3492 MHz, average 3492.0/3492.4, performance, outside load 0.24 before the warm-up, 0.25 during, client CPU 0.873 ms per search; default@8 3492/3492 MHz, average 3492.0/3492.3, performance, outside load 0.25 before the warm-up after waiting 3 s, 0.25 during, client CPU 1.057 ms per search; exact 3492/3492 MHz, average 3491.9/3492.4, performance, outside load 0.25 before the warm-up, 0.25 during, client CPU 0.901 ms per search.
Vespa vespa
- Engine: Vespa 8.754.14 (tensor attribute + HNSW) (compose)
- Index: HNSW float32 tensor, prenormalized-angular (cosine), max-links-per-node=16, neighbors-to-explore-at-insert=128; search targetHits=top, ef=100 via exploreAdditionalHits; exact mode = approximate:false; vectors held in memory
- Search settings: ef=100, max-links-per-node=16, neighbors-to-explore-at-insert=128, targetHits=top
- Load: 524 rows in batches of 1000, 1.9 s of upserts (276 rows/s); count matched 0.0 s after the last upsert; index step 0.1 s (nothing to build, Vespa inserts into the HNSW graph while writing; ready after 0.1 s: HNSW graph returns 524 of 524 vectors: totalCount 524, coverage full True, nearestNeighbor approximate:true with targetHits above the count: has_index True, algorithm "index top k", top_k_hits 524; the graph is updated while each write is applied, so there is no later build step)
- Search: 9831 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 0.96 ms, 8 searchers 0.88 ms
- Exact mode: 29,472 searches, p50 1.96 ms, p95 2.45 ms, recall 1.000
- RAM: 2.93 GiB (docker stats); disk: 29.63 MiB added by this load (2.15 GiB (whole engine data folder), 2.12 GiB before)
- Started by run-all for this measurement with every container created on CPUs 2-3,6-7 (started vespa.compose.yaml with every container created on CPUs 2-3,6-7: gvb-vespa cpuset 2-3,6-7 (read back from docker inspect)); stopped afterwards.
- Engine files (SHA-256, first 12 hex digits): [vespa.compose.yaml 3cfb702cc29f]. This run created the engine from these files.
- Index after the load: ready, 524 of 524 indexed (HNSW graph returns 524 of 524 vectors: totalCount 524, coverage full True, nearestNeighbor approximate:true with targetHits above the count: has_index True, algorithm "index top k", top_k_hits 524; the graph is updated while each write is applied, so there is no later build step). Durability: Vespa's transaction log server fsyncs after each commit: searchlib.translogserver usefsync=true, and an operation is searchable when it is acknowledged: proton documentdb visibilitydelay=0. Neither is overridden by this sink or by the services.xml it deploys; VespaReadinessTests reads both from the live config server. After a crash the node replays the transaction log over its last flushed data and rebuilds the in-memory HNSW graph. By those settings an acknowledged write survives a crash; this is read from the settings, not shown by pulling power. One node and min-redundancy 1, so a lost disk loses the data..
- Outside load when searching began: 0.23 CPUs on average over the last 40 s and 0.27 over the last few seconds (limit 0.3), a quiet box. The load average 6.39 4.62 2.28 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: exact 8,265 searches in 30.0 s, default@1 12,104 searches in 30.0 s, default@8 42,410 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. exact: warm-up 15.0 s and 6,825 searches (0 failed) at 1 searcher; p50 of the last windows 2.022, 2.025, 1.998 ms (windows of at least 2 s and 100 searches); trial of 1,455 searches in 3.0 s at 1 searcher: p50 1.970 ms against the settled p50 2.022 ms, 3% apart (limit 10%); the timed pass p50 1.963 ms, 3% from the settled p50 2.022 ms (limit 10% or 0.1 ms; 0.059 ms); default@1: warm-up 15.0 s and 7,383 searches (0 failed) at 1 searcher; p50 of the last windows 1.966, 1.986, 1.971 ms (windows of at least 2 s and 100 searches); trial of 1,475 searches in 3.0 s at 1 searcher: p50 1.971 ms against the settled p50 1.971 ms, 0% apart (limit 10%); the timed pass p50 1.970 ms, 0% from the settled p50 1.971 ms (limit 10% or 0.1 ms; 0.001 ms); default@8: warm-up 15.0 s and 22,144 searches (0 failed) at 8 searchers; QPS of the last windows 1,510, 1,483, 1,434 (windows of at least 2 s and 100 searches) (its last 3 windows differed by more than 5%); trial of 4,536 searches in 3.0 s at 8 searchers: 1,511 QPS against the settled 1,483 QPS, 2% apart (limit 10%), so the warm-up was EXTENDED once (30.0 s and 45,836 searches (0 failed) at 8 searchers; QPS of its older 6 windows 1,522 (windows 1,471, 1,537, 1,520, 1,542, 1,532, 1,532) and of its newer 6 1,529 (windows 1,540, 1,530, 1,528, 1,529, 1,507, 1,538), 0.4% apart (limit 5%) (windows of at least 2 s and 100 searches)); second trial of 4,502 searches in 3.0 s at 8 searchers: 1,499 QPS against the settled 1,529 QPS, 2% apart (limit 10%), outside its newer windows' range 1,507 to 1,540 QPS; settled after the extension; the timed pass 1,526 QPS, 0% from the settled 1,529 QPS (limit 10%).
- Pass exact after rehearsal: 2026-10-06T13:14:24.184Z to 2026-10-06T13:15:24.184Z (60.0 s), 29,472 searches, 0 failed, p50 1.963 ms, mean 2.033 ms, p99 2.839 ms, 491.2 QPS (1000/QPS 2.036 ms).
- Pass default@1 after exact: 2026-10-06T13:15:42.220Z to 2026-10-06T13:16:02.220Z (20.0 s), 9,831 searches, 0 failed, p50 1.970 ms, mean 2.031 ms, p99 2.739 ms, 491.5 QPS (1000/QPS 2.034 ms).
- Pass default@8 after default@1: 2026-10-06T13:17:08.249Z to 2026-10-06T13:17:28.253Z (20.0 s), 30,530 searches, 0 failed, p50 5.107 ms, mean 5.239 ms, p99 8.567 ms, 1526.2 QPS (1000/QPS 0.655 ms).
- Passes in the order run: exact, default@1, default@8; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 179,832 sent, 0 failed (warmupErrors). Index after the searches: ready, 524 of 524 indexed (HNSW graph returns 524 of 524 vectors: totalCount 524, coverage full True, nearestNeighbor approximate:true with targetHits above the count: has_index True, algorithm "index top k", top_k_hits 524; the graph is updated while each write is applied, so there is no later build step).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: container address on its Docker network, not the published port (no docker-proxy): container gvb-vespa (d4d665486ac3) on network engines_default at container-ip:8080, not through docker-proxy localhost:8090; container gvb-vespa (d4d665486ac3) on network engines_default at container-ip:19071, not through docker-proxy localhost:19071. Open after the passes: container-ip:8080 x1 (this target).
- CPU pinning: cpuset from the container's creation when run-all started it on the engine CPUs, else docker update --cpuset-cpus (each container's change line says which), CPUs 2-3,6-7. Changed: container gvb-vespa: already on CPUs 2-3,6-7 (its cpuset since creation), not changed. Read back: container gvb-vespa: 215 thread(s) on CPUs 2-3,6-7 (every thread of the container).
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): exact 3492/3492 MHz, average 3492.0/3492.4, performance, outside load 0.22 before the warm-up, 0.19 during, client CPU 0.932 ms per search; default@1 3492/3492 MHz, average 3492.0/3492.3, performance, outside load 0.19 before the warm-up, 0.19 during, client CPU 0.958 ms per search; default@8 3492/3492 MHz, average 3492.0/3492.1, performance, outside load 0.27 before the warm-up, 0.28 during, client CPU 0.880 ms per search.
Oracle 23ai Free oracle
- Engine: Oracle AI Database Free 23.26 (23ai line, VECTOR FLOAT32) (compose)
- Index: HNSW in-memory neighbor graph NEIGHBORS=16 EFCONSTRUCTION=128, EFSEARCH=100 per query, cosine; exact mode = FETCH EXACT FIRST (full scan); Oracle Free caps itself at 2 CPUs (cpu_count 2 in V$PARAMETER, edition FREE in V$INSTANCE, 8 host CPUs in V$OSSTAT NUM_CPUS; the 2 CPU thread limit is Oracle's documented Free edition limit)
- Search settings: EFCONSTRUCTION=128, EFSEARCH=100, NEIGHBORS=16
- Load: 524 rows in batches of 1000, 0.3 s of upserts (1,729 rows/s); count matched 0.1 s after the last upsert; index step 3.8 s (HNSW graph holds 524 of 524 rows, change log waiting: 0 inserts and 0 deletes, USER_INDEXES status VALID, plan of the default search: VECTOR INDEX HNSW SCAN > TABLE ACCESS BY INDEX ROWID, index used by 0 queries so far; Oracle Free caps itself at 2 CPUs (cpu_count 2 in V$PARAMETER, edition FREE in V$INSTANCE, 8 host CPUs in V$OSSTAT NUM_CPUS; the 2 CPU thread limit is Oracle's documented Free edition limit); graph rebuilt in 2.5 s)
- Search: 21018 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 0.88 ms, 8 searchers 0.64 ms
- Exact mode: 23,504 searches, p50 2.48 ms, p95 2.96 ms, recall 1.000
- RAM: 2.13 GiB (docker stats); disk: 0 B added by this load (6.9 GiB (whole engine data folder), 6.9 GiB before)
- Started by run-all for this measurement with every container created on CPUs 2-3,6-7 (started oracle.compose.yaml with every container created on CPUs 2-3,6-7: gvb-oracle cpuset 2-3,6-7, gvb-oracle-seed cpuset 2-3,6-7 (read back from docker inspect)); stopped afterwards.
- Engine files (SHA-256, first 12 hex digits): [oracle-init/01-vector-memory.sh 6452e4e1953e; oracle.compose.yaml 2a7fd367012f]. This run created the engine from these files.
- Index after the load: ready, 524 of 524 indexed (HNSW graph holds 524 of 524 rows, change log waiting: 0 inserts and 0 deletes, USER_INDEXES status VALID, plan of the default search: VECTOR INDEX HNSW SCAN > TABLE ACCESS BY INDEX ROWID, index used by 0 queries so far; Oracle Free caps itself at 2 CPUs (cpu_count 2 in V$PARAMETER, edition FREE in V$INSTANCE, 8 host CPUs in V$OSSTAT NUM_CPUS; the 2 CPU thread limit is Oracle's documented Free edition limit)). Durability: By these settings a committed row should survive a crash or power loss. The sink uses a plain COMMIT and commit_logging, commit_wait and commit_write are unset in the database, so every commit waits for its redo to be written. Measured 2026-10-04: 50 separate client commits raised V$SYSSTAT 'redo synch writes' by 55 (the 50 commits plus the CREATE and DROP of the probe table), and the log writer and the datafile writer hold their files open with O_DSYNC (open flags 02110002, filesystemio_options none). The database runs NOARCHIVELOG (V$DATABASE.LOG_MODE), so redo serves crash recovery only and there is no point-in-time restore. The HNSW graph lives in the 768 MB vector memory pool (oracle-init/01-vector-memory.sh) and is not the durable copy; the table is. Not tested by cutting power; whether the disk's own write cache reaches the media was not checked. CPU: Oracle Free caps itself at 2 CPUs (measured 2026-10-04: cpu_count 2 in V$PARAMETER, edition FREE in V$INSTANCE, 8 host CPUs in V$OSSTAT NUM_CPUS; the 2 CPU thread limit is Oracle's documented Free edition limit; this sink reads the live value when the index state is read)..
- Outside load when searching began: 0.20 CPUs on average over the last 6 s and 0.19 over the last few seconds (limit 0.3), a quiet box. The load average 8.17 6.30 3.60 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: default@8 85,640 searches in 30.4 s, exact 11,735 searches in 30.0 s, default@1 31,474 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. default@8: warm-up 15.0 s and 44,230 searches (0 failed) at 8 searchers; QPS of the last windows 2,358, 3,428, 2,526 (windows of at least 2 s and 100 searches) (its last 3 windows differed by more than 5%); trial of 8,682 searches in 3.0 s at 8 searchers: 2,893 QPS against the settled 2,526 QPS, 13% apart (limit 10%), so the warm-up was EXTENDED once (30.0 s and 84,503 searches (0 failed) at 8 searchers; QPS of its older 6 windows 2,890 (windows 3,334, 2,378, 3,320, 2,572, 2,837, 2,900) and of its newer 6 2,826 (windows 2,500, 3,336, 2,408, 3,287, 2,550, 2,878), 2.2% apart (limit 5%) (windows of at least 2 s and 100 searches)); second trial of 9,082 searches in 3.0 s at 8 searchers: 3,026 QPS against the settled 2,826 QPS, 7% apart (limit 10%), inside its newer windows' range 2,408 to 3,336 QPS; settled after the extension; the timed pass 2,802 QPS, 1% from the settled 2,826 QPS (limit 10%); exact: warm-up 15.0 s and 5,863 searches (0 failed) at 1 searcher; p50 of the last windows 2.509, 2.469, 2.491 ms (windows of at least 2 s and 100 searches); trial of 1,183 searches in 3.0 s at 1 searcher: p50 2.473 ms against the settled p50 2.491 ms, 1% apart (limit 10%); the timed pass p50 2.484 ms, 0% from the settled p50 2.491 ms (limit 10% or 0.1 ms; 0.007 ms); default@1: warm-up 15.0 s and 15,780 searches (0 failed) at 1 searcher; p50 of the last windows 0.916, 0.916, 0.927 ms (windows of at least 2 s and 100 searches); trial of 3,143 searches in 3.0 s at 1 searcher: p50 0.930 ms against the settled p50 0.916 ms, 1% apart (limit 10%); the timed pass p50 0.927 ms, 1% from the settled p50 0.916 ms (limit 10% or 0.1 ms; 0.011 ms).
- Pass default@8 after rehearsal: 2026-10-06T13:20:32.534Z to 2026-10-06T13:20:52.657Z (20.1 s), 56,389 searches, 0 failed, p50 1.637 ms, mean 2.852 ms, p99 3.554 ms, 2802.2 QPS (1000/QPS 0.357 ms).
- Pass exact after default@8: 2026-10-06T13:21:10.680Z to 2026-10-06T13:22:10.681Z (60.0 s), 23,504 searches, 0 failed, p50 2.484 ms, mean 2.550 ms, p99 3.863 ms, 391.7 QPS (1000/QPS 2.553 ms).
- Pass default@1 after exact: 2026-10-06T13:22:28.708Z to 2026-10-06T13:22:48.708Z (20.0 s), 21,018 searches, 0 failed, p50 0.927 ms, mean 0.950 ms, p99 1.779 ms, 1050.9 QPS (1000/QPS 0.952 ms).
- Passes in the order run: default@8, exact, default@1; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 343,671 sent, 0 failed (warmupErrors). Index after the searches: ready, 524 of 524 indexed (HNSW graph holds 524 of 524 rows, change log waiting: 0 inserts and 0 deletes, USER_INDEXES status VALID, plan of the default search: VECTOR INDEX HNSW SCAN > TABLE ACCESS BY INDEX ROWID, index used by 402297 queries so far; Oracle Free caps itself at 2 CPUs (cpu_count 2 in V$PARAMETER, edition FREE in V$INSTANCE, 8 host CPUs in V$OSSTAT NUM_CPUS; the 2 CPU thread limit is Oracle's documented Free edition limit)).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: container address on its Docker network, not the published port (no docker-proxy): container gvb-oracle (0da3dc27bd31) on network gvb-oracle_default at container-ip:1521, not through docker-proxy localhost:1521. Open after the passes: container-ip:1521 x13 (this target).
- CPU pinning: cpuset from the container's creation when run-all started it on the engine CPUs, else docker update --cpuset-cpus (each container's change line says which), CPUs 2-3,6-7. Changed: container gvb-oracle: already on CPUs 2-3,6-7 (its cpuset since creation), not changed. Read back: container gvb-oracle: 92 thread(s) on CPUs 2-3,6-7 (every thread of the container).
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): default@8 3492/3492 MHz, average 3121.3/3141.0, performance, outside load 0.26 before the warm-up, 0.22 during, client CPU 0.643 ms per search; exact 3492/3492 MHz, average 3492.2/3492.3, performance, outside load 0.26 before the warm-up, 0.23 during, client CPU 0.929 ms per search; default@1 3492/3492 MHz, average 3492.2/3491.9, performance, outside load 0.23 before the warm-up, 0.23 during, client CPU 0.880 ms per search.
- WARNING: clock off its pinned value during oracle default@8: the engine CPUs averaged 3121 MHz, -10.8% against the pinned 3500 MHz; the client CPUs averaged 3141 MHz, -10.3% against the pinned 3500 MHz (limit 1%); this pass is not comparable with passes at the pinned clock.
Elasticsearch elasticsearch
- Engine: Elasticsearch 9.5.3 (dense_vector) (compose)
- Index: HNSW float32, no quantization, m=16, ef_construction=128, cosine; search k=top, num_candidates=100; 1 shard, 0 replicas; force-merged to one segment after the load (at 1,024 dimensions a segment under 1,043 vectors gets no graph)
- Search settings: ef_construction=128, k=top, m=16, num_candidates=100
- Load: 524 rows in batches of 1000, 1.2 s of upserts (452 rows/s); count matched 0.1 s after the last upsert; index step 0.4 s (FAILED after 0.4 s: NO HNSW GRAPH, searches scan all 524 vectors: 1 segment(s), 524 vectors, total_vex_size_bytes 0 (_stats dense_vector), index_options hnsw m=16 ef_construction=128; Lucene builds no graph for a segment this small (measured at 1,024 dimensions: 1,042 vectors none, 1,043 vectors a graph), so default search equals exact search)
- Search: 14790 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 0.46 ms, 8 searchers 0.50 ms
- Exact mode: 46,096 searches, p50 1.28 ms, p95 1.48 ms, recall 1.000
- RAM: 2.68 GiB (docker stats); disk: 2.39 MiB added by this load (2.56 MiB (whole engine data folder), 172.81 KiB before)
- Started by run-all for this measurement with every container created on CPUs 2-3,6-7 (started elasticsearch.compose.yaml with every container created on CPUs 2-3,6-7: gvb-elasticsearch cpuset 2-3,6-7 (read back from docker inspect)); stopped afterwards.
- Engine files (SHA-256, first 12 hex digits): [elasticsearch.compose.yaml 582b9a97b8de]. This run created the engine from these files.
- WARNING: the index step after the load FAILED (NO HNSW GRAPH, searches scan all 524 vectors: 1 segment(s), 524 vectors, total_vex_size_bytes 0 (_stats dense_vector), index_options hnsw m=16 ef_construction=128; Lucene builds no graph for a segment this small (measured at 1,024 dimensions: 1,042 vectors none, 1,043 vectors a graph), so default search equals exact search). Searched anyway; see the index state.
- WARNING: index not ready after the load: NOT ready, 0 of 524 indexed (NO HNSW GRAPH, searches scan all 524 vectors: 1 segment(s), 524 vectors, total_vex_size_bytes 0 (_stats dense_vector), index_options hnsw m=16 ef_construction=128; Lucene builds no graph for a segment this small (measured at 1,024 dimensions: 1,042 vectors none, 1,043 vectors a graph), so default search equals exact search). Measured anyway, so its search numbers may come from a scan or a half-built index. Durability: Every acknowledged bulk request is fsynced to the translog before the answer: index.translog.durability=request, the Elasticsearch default, which neither this sink nor elasticsearch.compose.yaml overrides (ElasticsearchReadinessTests reads it back from the live index). By that setting a process crash or power loss loses no acknowledged write; this is read from the setting, not shown by pulling power. One node and no replicas, so a lost disk loses the data..
- Outside load when searching began: 0.19 CPUs on average over the last 2 s and 0.19 over the last few seconds (limit 0.3), a quiet box. The load average 2.32 4.36 3.61 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: exact 14,440 searches in 30.0 s, default@8 63,152 searches in 30.0 s, default@1 22,164 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. exact: warm-up 15.0 s and 11,249 searches (0 failed) at 1 searcher; p50 of the last windows 1.281, 1.282, 1.277 ms (windows of at least 2 s and 100 searches); trial of 2,298 searches in 3.0 s at 1 searcher: p50 1.281 ms against the settled p50 1.281 ms, 0% apart (limit 10%); the timed pass p50 1.278 ms, 0% from the settled p50 1.281 ms (limit 10% or 0.1 ms; 0.003 ms); default@8: warm-up 15.0 s and 39,834 searches (0 failed) at 8 searchers; QPS of the last windows 2,676, 2,636, 2,696 (windows of at least 2 s and 100 searches); trial of 7,942 searches in 3.0 s at 8 searchers: 2,646 QPS against the settled 2,676 QPS, 1% apart (limit 10%); the timed pass 2,671 QPS, 0% from the settled 2,676 QPS (limit 10%); default@1: warm-up 15.0 s and 11,065 searches (0 failed) at 1 searcher; p50 of the last windows 1.326, 1.329, 1.330 ms (windows of at least 2 s and 100 searches); trial of 2,200 searches in 3.0 s at 1 searcher: p50 1.335 ms against the settled p50 1.329 ms, 0% apart (limit 10%); the timed pass p50 1.329 ms, 0% from the settled p50 1.329 ms (limit 10% or 0.1 ms; 0.001 ms).
- Pass exact after rehearsal: 2026-10-06T13:25:15.144Z to 2026-10-06T13:26:15.144Z (60.0 s), 46,096 searches, 0 failed, p50 1.278 ms, mean 1.300 ms, p99 1.715 ms, 768.3 QPS (1000/QPS 1.302 ms).
- Pass default@8 after exact: 2026-10-06T13:26:33.198Z to 2026-10-06T13:26:53.200Z (20.0 s), 53,431 searches, 0 failed, p50 2.865 ms, mean 2.992 ms, p99 5.422 ms, 2671.3 QPS (1000/QPS 0.374 ms).
- Pass default@1 after default@8: 2026-10-06T13:27:11.230Z to 2026-10-06T13:27:31.232Z (20.0 s), 14,790 searches, 0 failed, p50 1.329 ms, mean 1.350 ms, p99 1.775 ms, 739.5 QPS (1000/QPS 1.352 ms).
- Passes in the order run: exact, default@8, default@1; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 174,344 sent, 0 failed (warmupErrors). Index after the searches: NOT ready, 0 of 524 indexed (NO HNSW GRAPH, searches scan all 524 vectors: 1 segment(s), 524 vectors, total_vex_size_bytes 0 (_stats dense_vector), index_options hnsw m=16 ef_construction=128; Lucene builds no graph for a segment this small (measured at 1,024 dimensions: 1,042 vectors none, 1,043 vectors a graph), so default search equals exact search).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: container address on its Docker network, not the published port (no docker-proxy): container gvb-elasticsearch (f2716e40a93c) on network engines_default at container-ip:9200, not through docker-proxy localhost:9200. Open after the passes: container-ip:9200 x8 (this target).
- CPU pinning: cpuset from the container's creation when run-all started it on the engine CPUs, else docker update --cpuset-cpus (each container's change line says which), CPUs 2-3,6-7. Changed: container gvb-elasticsearch: already on CPUs 2-3,6-7 (its cpuset since creation), not changed. Read back: container gvb-elasticsearch: 75 thread(s) on CPUs 2-3,6-7 (every thread of the container).
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): exact 3492/3492 MHz, average 3491.9/3491.6, performance, outside load 0.22 before the warm-up, 0.22 during, client CPU 0.461 ms per search; default@8 3492/3492 MHz, average 3492.0/3492.1, performance, outside load 0.22 before the warm-up, 0.24 during, client CPU 0.497 ms per search; default@1 3492/3492 MHz, average 3492.0/3492.3, performance, outside load 0.24 before the warm-up, 0.21 during, client CPU 0.463 ms per search.
SQL Server 2025 sql
- Engine: Microsoft SQL Server 2025 (RTM-CU9) (KB5122048) - 17.0.5005.3 (X64), Enterprise Developer Edition (64-bit), in container gvb-mssql (image mcr.microsoft.com/mssql/server:2025-CU9-ubuntu-24.04@sha256:2b5b581621126574f3d1f75e78d3eebe8d05aedb59ad0cfdf9aa42cb0634d726; cpuset 2-3,6-7 from its creation; SQL Server counts 4 CPU(s) and runs 4 visible scheduler(s), affinity AUTO) (compose)
- Index: exact VECTOR_DISTANCE cosine, no vector index (full scan)
- Search settings: description=exact VECTOR_DISTANCE cosine, no vector index (full scan)
- Load: 524 rows in batches of 1000, 0.9 s of upserts (587 rows/s); count matched 0.0 s after the last upsert; index step n/a
- Search: 4820 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 1.22 ms, 8 searchers 1.18 ms
- RAM: 529.9 MiB (docker stats); disk: 5.15 MiB (table and its indexes, reserved pages)
- Started by run-all for this measurement with every container created on CPUs 2-3,6-7 (started mssql.compose.yaml with every container created on CPUs 2-3,6-7: gvb-mssql cpuset 2-3,6-7 (read back from docker inspect)); stopped afterwards.
- Engine files (SHA-256, first 12 hex digits): [mssql.compose.yaml b7359663cc15]. This run created the engine from these files.
- Index after the load: ready, 0 of 524 indexed (no index used, exact scan by design: dbo.gvb_gvbbench_eshoponweb in GvbBench holds 524 rows; sys.vector_indexes lists no index on the table; indexes: PK_gvb_gvbbench_eshoponweb CLUSTERED, IX_gvb_gvbbench_eshoponweb_DocKey NONCLUSTERED; a real search under SET STATISTICS XML ON ran: Clustered Index Scan of GvbBench.gvb_gvbbench_eshoponweb through PK_gvb_gvbbench_eshoponweb (IndexKind Clustered), 524 rows read, no vector index operator, 10 hits). Durability: A commit returns after its transaction-log records are written to disk (SQL Server write-ahead logging; delayed durability is DISABLED); a database created here copies the model database: recovery model FULL, page_verify CHECKSUM; no global trace flags are enabled; mssql.conf of container gvb-mssql (/var/opt/mssql/mssql.conf, on the host at ~/gvb-data/engines/mssql/mssql.conf) does not exist, so it sets: nothing; it has no [control] or [traceflag] entry, so SQL Server's own Linux defaults for flushing writes apply (Microsoft's Linux performance guide names trace flag 3982 as that default; read from the guide, not tested here). Not tested by cutting power; whether the disk's own write cache reaches the media was not checked. Container settings from its environment (names only): MSSQL_AGENT_ENABLED, MSSQL_MEMORY_LIMIT_MB, MSSQL_PID, MSSQL_RPC_PORT, MSSQL_SA_PASSWORD..
- Outside load when searching began: 0.22 CPUs on average over the last 3 s and 0.22 over the last few seconds (limit 0.3), a quiet box. The load average 3.27 3.92 3.61 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: default@8 17,985 searches in 30.0 s, default@1 7,216 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. default@8: warm-up 15.0 s and 9,257 searches (0 failed) at 8 searchers; QPS of the last windows 625, 601, 622 (windows of at least 2 s and 100 searches); trial of 1,828 searches in 3.0 s at 8 searchers: 608 QPS against the settled 622 QPS, 2% apart (limit 10%); the timed pass 612 QPS, 2% from the settled 622 QPS (limit 10%); default@1: warm-up 15.0 s and 3,604 searches (0 failed) at 1 searcher; p50 of the last windows 4.078, 4.054, 4.051 ms (windows of at least 2 s and 100 searches); trial of 723 searches in 3.0 s at 1 searcher: p50 4.080 ms against the settled p50 4.054 ms, 1% apart (limit 10%); the timed pass p50 4.060 ms, 0% from the settled p50 4.054 ms (limit 10% or 0.1 ms; 0.006 ms).
- Pass default@8 after rehearsal: 2026-10-06T13:29:04.896Z to 2026-10-06T13:29:24.907Z (20.0 s), 12,239 searches, 0 failed, p50 12.650 ms, mean 13.074 ms, p99 19.890 ms, 611.6 QPS (1000/QPS 1.635 ms).
- Pass default@1 after default@8: 2026-10-06T13:29:42.916Z to 2026-10-06T13:30:02.917Z (20.0 s), 4,820 searches, 0 failed, p50 4.060 ms, mean 4.146 ms, p99 6.062 ms, 241.0 QPS (1000/QPS 4.150 ms).
- Passes in the order run: default@8, default@1; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 40,613 sent, 0 failed (warmupErrors). Index after the searches: ready, 0 of 524 indexed (no index used, exact scan by design: dbo.gvb_gvbbench_eshoponweb in GvbBench holds 524 rows; sys.vector_indexes lists no index on the table; indexes: PK_gvb_gvbbench_eshoponweb CLUSTERED, IX_gvb_gvbbench_eshoponweb_DocKey NONCLUSTERED; a real search under SET STATISTICS XML ON ran: Clustered Index Scan of GvbBench.gvb_gvbbench_eshoponweb through PK_gvb_gvbbench_eshoponweb (IndexKind Clustered), 524 rows read, no vector index operator, 10 hits).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: container address on its Docker network, not the published port (no docker-proxy): container gvb-mssql (5e402e3af1a6) on network gvb-mssql_default at container-ip:1433, not through docker-proxy localhost:14330. Open after the passes: container-ip:1433 x9 (this target).
- CPU pinning: cpuset from the container's creation when run-all started it on the engine CPUs, else docker update --cpuset-cpus (each container's change line says which), CPUs 2-3,6-7. Changed: container gvb-mssql: already on CPUs 2-3,6-7 (its cpuset since creation), not changed. Read back: container gvb-mssql: 86 thread(s) on CPUs 2-3,6-7 (every thread of the container).
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): default@8 3492/3492 MHz, average 3492.0/3492.0, performance, outside load 0.22 before the warm-up, 0.26 during, client CPU 1.184 ms per search; default@1 3492/3492 MHz, average 3492.4/3492.5, performance, outside load 0.23 before the warm-up, 0.21 during, client CPU 1.219 ms per search.
pgvector
- Engine: PostgreSQL 17 + pgvector 0.8.7 (compose)
- Index: HNSW vector_cosine_ops m=16 ef_construction=128, hnsw.ef_search=100 per query, float32 vector(n), cosine; exact mode = same query with index scans off (sequential scan)
- Search settings: ef_construction=128, hnsw.ef_search=100, m=16
- Load: 524 rows in batches of 1000, 0.9 s of upserts (605 rows/s); count matched 0.0 s after the last upsert; index step 0.0 s (HNSW is maintained inside every insert, nothing to build; confirmed in 0.0 s: pg_indexes lists gvb_gvbbench_eshoponweb_hnsw (USING hnsw (embedding vector_cosine_ops) WITH (m='16', ef_construction='128')), pg_index valid and ready = True, EXPLAIN of the default search uses Index Scan on it = True, that search returned 10 of 10 rows; PostgreSQL keeps no entry count for an HNSW index, so indexed vectors are not reported)
- Search: 22143 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 0.69 ms, 8 searchers 0.54 ms
- Exact mode: 26,025 searches, p50 2.26 ms, p95 2.56 ms, recall 1.000
- RAM: 100.5 MiB (docker stats); disk: 7.57 MiB added by this load (374.57 MiB (whole engine data folder), 366.99 MiB before)
- Started by run-all for this measurement with every container created on CPUs 2-3,6-7 (started pgvector.compose.yaml with every container created on CPUs 2-3,6-7: gvb-pgvector cpuset 2-3,6-7 (read back from docker inspect)); stopped afterwards.
- Engine files (SHA-256, first 12 hex digits): [pgvector.compose.yaml 27549563c622]. This run created the engine from these files.
- Index after the load: ready, ? of 524 indexed (pg_indexes lists gvb_gvbbench_eshoponweb_hnsw (USING hnsw (embedding vector_cosine_ops) WITH (m='16', ef_construction='128')), pg_index valid and ready = True, EXPLAIN of the default search uses Index Scan on it = True, that search returned 10 of 10 rows; PostgreSQL keeps no entry count for an HNSW index, so indexed vectors are not reported). Durability: fsync on, synchronous_commit on, full_page_writes on, wal_sync_method fdatasync (PostgreSQL defaults; pgvector.compose.yaml sets only shared_buffers, maintenance_work_mem and max_wal_size): every commit is flushed to the write-ahead log before it returns and HNSW index changes are WAL-logged, so a crash loses no committed row (max_wal_size 4GB only spaces out checkpoints; measured with docker kill, which is SIGKILL, right after a 2,000-vector load and a restart: all 2,000 rows were there and the HNSW index was valid and used by the default search).
- Outside load when searching began: 0.24 CPUs on average over the last 1 s and 0.24 over the last few seconds (limit 0.3), a quiet box. The load average 2.73 3.74 3.61 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: exact 13,387 searches in 30.0 s, default@8 122,772 searches in 30.0 s, default@1 33,961 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. exact: warm-up 15.0 s and 6,509 searches (0 failed) at 1 searcher; p50 of the last windows 2.226, 2.238, 2.264 ms (windows of at least 2 s and 100 searches); trial of 1,307 searches in 3.0 s at 1 searcher: p50 2.245 ms against the settled p50 2.238 ms, 0% apart (limit 10%); the timed pass p50 2.257 ms, 1% from the settled p50 2.238 ms (limit 10% or 0.1 ms; 0.019 ms); default@8: warm-up 15.0 s and 58,882 searches (0 failed) at 8 searchers; QPS of the last windows 3,900, 3,966, 3,916 (windows of at least 2 s and 100 searches); trial of 11,879 searches in 3.0 s at 8 searchers: 3,958 QPS against the settled 3,916 QPS, 1% apart (limit 10%); the timed pass 3,934 QPS, 0% from the settled 3,916 QPS (limit 10%); default@1: warm-up 15.0 s and 16,787 searches (0 failed) at 1 searcher; p50 of the last windows 0.868, 0.868, 0.878 ms (windows of at least 2 s and 100 searches); trial of 3,328 searches in 3.0 s at 1 searcher: p50 0.885 ms against the settled p50 0.868 ms, 2% apart (limit 10%); the timed pass p50 0.885 ms, 2% from the settled p50 0.868 ms (limit 10% or 0.1 ms; 0.016 ms).
- Pass exact after rehearsal: 2026-10-06T13:32:00.427Z to 2026-10-06T13:33:00.427Z (60.0 s), 26,025 searches, 0 failed, p50 2.257 ms, mean 2.303 ms, p99 3.157 ms, 433.7 QPS (1000/QPS 2.305 ms).
- Pass default@8 after exact: 2026-10-06T13:33:18.457Z to 2026-10-06T13:33:38.458Z (20.0 s), 78,682 searches, 0 failed, p50 1.985 ms, mean 2.032 ms, p99 3.545 ms, 3933.9 QPS (1000/QPS 0.254 ms).
- Pass default@1 after default@8: 2026-10-06T13:33:56.492Z to 2026-10-06T13:34:16.492Z (20.0 s), 22,143 searches, 0 failed, p50 0.885 ms, mean 0.901 ms, p99 1.310 ms, 1107.1 QPS (1000/QPS 0.903 ms).
- Passes in the order run: exact, default@8, default@1; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 268,812 sent, 0 failed (warmupErrors). Index after the searches: ready, ? of 524 indexed (pg_indexes lists gvb_gvbbench_eshoponweb_hnsw (USING hnsw (embedding vector_cosine_ops) WITH (m='16', ef_construction='128')), pg_index valid and ready = True, EXPLAIN of the default search uses Index Scan on it = True, that search returned 10 of 10 rows; PostgreSQL keeps no entry count for an HNSW index, so indexed vectors are not reported).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: container address on its Docker network, not the published port (no docker-proxy): container gvb-pgvector (6d6073de90e0) on network gvb-pgvector_default at container-ip:5432, not through docker-proxy localhost:5432. Open after the passes: container-ip:5432 x8 (this target).
- CPU pinning: cpuset from the container's creation when run-all started it on the engine CPUs, else docker update --cpuset-cpus (each container's change line says which), CPUs 2-3,6-7. Changed: container gvb-pgvector: already on CPUs 2-3,6-7 (its cpuset since creation), not changed. Read back: container gvb-pgvector: 6 thread(s) on CPUs 2-3,6-7 (every thread of the container).
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): exact 3492/3492 MHz, average 3492.4/3492.4, performance, outside load 0.22 before the warm-up, 0.20 during, client CPU 0.692 ms per search; default@8 3492/3492 MHz, average 3492.0/3492.0, performance, outside load 0.20 before the warm-up, 0.27 during, client CPU 0.538 ms per search; default@1 3492/3492 MHz, average 3492.5/3491.9, performance, outside load 0.24 before the warm-up, 0.18 during, client CPU 0.688 ms per search.
sqlite-vec sqlitevec
- Engine: SQLite 3.53.3 + sqlite-vec 0.1.7-alpha.2.1 (vec0, embedded, in process) (embedded)
- Index: vec0 brute-force scan, no ANN index (exact), float32, cosine distance, default chunk_size=1024; score = 1 - cosine distance; searches run concurrently, one WAL reader connection per searcher (opened as searchers arrive, at most 32), writes run one at a time and may overlap searches
- Search settings: chunk_size=1024
- Load: 524 rows in batches of 1000, 0.1 s of upserts (4,077 rows/s); count matched 0.0 s after the last upsert; index step 0.0 s (nothing to build, every search scans all vectors; checked in 0.00 s: no index, exact scan by design: gvb_gvbbench_eshoponweb is a vec0 virtual table holding 524 vectors and every search compares all of them (EXPLAIN QUERY PLAN: SCAN gvb_gvbbench_eshoponweb VIRTUAL TABLE INDEX 0:3{___}___ | USE TEMP B-TREE FOR ORDER BY))
- Search: 10198 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 2.07 ms, 8 searchers 3.49 ms
- Exact mode: 30,824 searches, p50 1.91 ms, p95 2.16 ms, recall 1.000
- RAM: in this process, not measured; disk: 9.72 MiB added by this load (186.34 MiB (engine data folder), 176.61 MiB before)
- Index after the load: ready, ? of 524 indexed (no index, exact scan by design: gvb_gvbbench_eshoponweb is a vec0 virtual table holding 524 vectors and every search compares all of them (EXPLAIN QUERY PLAN: SCAN gvb_gvbbench_eshoponweb VIRTUAL TABLE INDEX 0:3{___}___ | USE TEMP B-TREE FOR ORDER BY)). Durability: PRAGMA journal_mode=WAL and PRAGMA synchronous=NORMAL (set by this sink when it opens the file): each commit is appended to the -wal file and handed to the operating system, but the WAL is fsynced only when SQLite checkpoints it (measured with strace: 40 single-record commits caused 3 WAL fsyncs), so a crash of the process loses nothing (measured with kill -9 and a reopen: all 50, 300 and 2,000 rows were there), while an operating-system crash or power cut can lose the newest commits since the last checkpoint and leaves the database consistent.
- Outside load when searching began: not known yet (too little sampled history). Load average 4.35 4.08 3.77 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: default@1 15,293 searches in 30.0 s, default@8 34,273 searches in 30.0 s, exact 15,288 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. default@1: warm-up 15.0 s and 7,683 searches (0 failed) at 1 searcher; p50 of the last windows 1.912, 1.930, 1.896 ms (windows of at least 2 s and 100 searches); trial of 1,546 searches in 3.0 s at 1 searcher: p50 1.905 ms against the settled p50 1.912 ms, 0% apart (limit 10%); the timed pass p50 1.925 ms, 1% from the settled p50 1.912 ms (limit 10% or 0.1 ms; 0.012 ms); default@8: warm-up 15.0 s and 17,159 searches (0 failed) at 8 searchers; QPS of the last windows 1,148, 1,144, 1,146 (windows of at least 2 s and 100 searches); trial of 3,426 searches in 3.0 s at 8 searchers: 1,141 QPS against the settled 1,146 QPS, 0% apart (limit 10%); the timed pass 1,142 QPS, 0% from the settled 1,146 QPS (limit 10%); exact: warm-up 15.0 s and 7,709 searches (0 failed) at 1 searcher; p50 of the last windows 1.916, 1.903, 1.893 ms (windows of at least 2 s and 100 searches); trial of 1,535 searches in 3.0 s at 1 searcher: p50 1.907 ms against the settled p50 1.903 ms, 0% apart (limit 10%); the timed pass p50 1.906 ms, 0% from the settled p50 1.903 ms (limit 10% or 0.1 ms; 0.003 ms).
- Pass default@1 after rehearsal: 2026-10-06T13:36:06.299Z to 2026-10-06T13:36:26.300Z (20.0 s), 10,198 searches, 0 failed, p50 1.925 ms, mean 1.958 ms, p99 2.342 ms, 509.9 QPS (1000/QPS 1.961 ms).
- Pass default@8 after default@1: 2026-10-06T13:36:44.318Z to 2026-10-06T13:37:04.322Z (20.0 s), 22,843 searches, 0 failed, p50 6.707 ms, mean 6.995 ms, p99 13.767 ms, 1141.9 QPS (1000/QPS 0.876 ms).
- Pass exact after default@8: 2026-10-06T13:37:22.332Z to 2026-10-06T13:38:22.333Z (60.0 s), 30,824 searches, 0 failed, p50 1.906 ms, mean 1.944 ms, p99 2.367 ms, 513.7 QPS (1000/QPS 1.947 ms).
- Passes in the order run: default@1, default@8, exact; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 103,912 sent, 0 failed (warmupErrors). Index after the searches: ready, ? of 524 indexed (no index, exact scan by design: gvb_gvbbench_eshoponweb is a vec0 virtual table holding 524 vectors and every search compares all of them (EXPLAIN QUERY PLAN: SCAN gvb_gvbbench_eshoponweb VIRTUAL TABLE INDEX 0:3{___}___ | USE TEMP B-TREE FOR ORDER BY)).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: in this process (embedded), no network: no network address. No open connection seen (no open TCP connection was found).
- CPU pinning: none: an embedded engine runs inside the benchmark client process, so it shares the client CPUs, CPUs 0-1,4-5.
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): default@1 3492/3492 MHz, average 3494.1/3493.4, performance, outside load 0.23 before the warm-up, 0.24 during, client CPU 2.067 ms per search; default@8 3492/3492 MHz, average 3492.2/3492.0, performance, outside load 0.22 before the warm-up, 0.23 during, client CPU 3.493 ms per search; exact 3492/3492 MHz, average 3493.3/3493.0, performance, outside load 0.23 before the warm-up, 0.22 during, client CPU 2.039 ms per search.
Qdrant (exact) qdrant
- Engine: Qdrant 1.17.0 in container gvb-qdrant (image qdrant/qdrant:v1.17.0@sha256:f1c7272cdac52b38c1a0e89313922d940ba50afd90d593a1605dbbc214e66ffb; cpuset 2-3,6-7 from its creation; 3 search thread(s)) (compose)
- Index: exact scan: the builder's sink sends exact=true on every search, so no HNSW graph is used whether or not Qdrant has built one (see the index state)
- Search settings: exact=true
- Load: 524 rows in batches of 1000, 0.1 s of upserts (5,033 rows/s); count matched 0.0 s after the last upsert; index step 1.0 s (status Green, 0 of 524 vectors in HNSW segments (2 segments), waited 1.0 s)
- Search: 22224 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 0.74 ms, 8 searchers 0.53 ms
- RAM: 90.19 MiB (docker stats); disk: 196.08 MiB (collection folder)
- Started by run-all for this measurement with every container created on CPUs 2-3,6-7 (started qdrant.compose.yaml with every container created on CPUs 2-3,6-7: gvb-qdrant cpuset 2-3,6-7 (read back from docker inspect)); stopped afterwards.
- Engine files (SHA-256, first 12 hex digits): [qdrant.compose.yaml eb57e55e93c1]. This run created the engine from these files.
- Index after the load: ready, 0 of 524 indexed (status Green, optimizer ok, indexed_vectors_count 0 of 524 points, 2 segments, indexing_threshold_kb 10,000, full_scan_threshold_kb 10,000; no index used, exact scan by design (the builder's sink sends exact=true on every search); no graph was built; searches counted since the collection was created: unfiltered_hnsw 0, unfiltered_plain 0, unfiltered_exact 0). Durability: What was measured (strace -f on the Qdrant server process, 30 single-point REST upserts per setting, every sync call timed against the request that caused it): with wait=true each upsert had exactly one msync(MS_SYNC) of the write-ahead-log segment inside the request, before the reply (30 of 30); with wait=false the 30 upserts were acknowledged within 0.26 s with no sync call, and the first WAL msync (one call covering all 30 records) came 2.7 s after the last reply, followed by the segment-file flushes. So the log is flushed to disk under both settings, but with wait=false the flush comes after the acknowledgement: an operating-system crash or power cut in that gap loses acknowledged writes, while a crash of the Qdrant process alone should not, because the bytes are already in the kernel's page cache (inferred, not tested). Every upsert here is sent with wait=true in batches of 256 over gRPC; the strace used one point per request, so one flush per batch is inferred, not measured. Segment files are flushed every 5 s; log segments 32 MB, 0 created ahead. /qdrant/config/config.yaml in container gvb-qdrant (the image's own file; its storage keys are listed) sets: storage.collection.quantization = null, storage.collection.replication_factor = 1, storage.collection.vectors.on_disk = null, storage.collection.write_consistency_factor = 1, storage.hnsw_index.ef_construct = 100, storage.hnsw_index.full_scan_threshold_kb = 10000, storage.hnsw_index.m = 16, storage.hnsw_index.max_indexing_threads = 0, storage.hnsw_index.on_disk = false, storage.hnsw_index.payload_m = null, storage.max_collections = null, storage.node_type = Normal, storage.on_disk_payload = true, storage.optimizers.default_segment_number = 0, storage.optimizers.deleted_threshold = 0.2, storage.optimizers.flush_interval_sec = 5, storage.optimizers.indexing_threshold_kb = 10000, storage.optimizers.max_optimization_threads = null, storage.optimizers.max_segment_size_kb = null, storage.optimizers.vacuum_min_vector_number = 1000, storage.performance.max_search_threads = 0, storage.performance.optimizer_cpu_budget = 0, storage.performance.update_rate_limit = null, storage.shard_transfer_method = null, storage.snapshots_config.snapshots_storage = local, storage.snapshots_path = ./snapshots, storage.storage_path = ./storage, storage.temp_path = null, storage.update_concurrency = null, storage.wal.wal_capacity_mb = 32, storage.wal.wal_segments_ahead = 0; no QDRANT__ environment overrides in the server process. Not tested by cutting power; whether the disk's own write cache reaches the media was not checked..
- Outside load when searching began: 0.26 CPUs on average over the last 1 s and 0.26 over the last few seconds (limit 0.3), a quiet box. The load average 2.12 3.48 3.63 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: default@1 33,819 searches in 30.0 s, default@8 98,331 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. default@1: warm-up 15.0 s and 16,688 searches (0 failed) at 1 searcher; p50 of the last windows 0.882, 0.889, 0.884 ms (windows of at least 2 s and 100 searches); trial of 3,347 searches in 3.0 s at 1 searcher: p50 0.881 ms against the settled p50 0.884 ms, 0% apart (limit 10%); the timed pass p50 0.886 ms, 0% from the settled p50 0.884 ms (limit 10% or 0.1 ms; 0.002 ms); default@8: warm-up 15.0 s and 49,236 searches (0 failed) at 8 searchers; QPS of the last windows 3,277, 3,291, 3,257 (windows of at least 2 s and 100 searches); trial of 9,819 searches in 3.0 s at 8 searchers: 3,271 QPS against the settled 3,277 QPS, 0% apart (limit 10%); the timed pass 3,274 QPS, 0% from the settled 3,277 QPS (limit 10%).
- Pass default@1 after rehearsal: 2026-10-06T13:39:48.157Z to 2026-10-06T13:40:08.157Z (20.0 s), 22,224 searches, 0 failed, p50 0.886 ms, mean 0.898 ms, p99 1.399 ms, 1111.2 QPS (1000/QPS 0.900 ms).
- Pass default@8 after default@1: 2026-10-06T13:40:26.187Z to 2026-10-06T13:40:46.189Z (20.0 s), 65,483 searches, 0 failed, p50 2.357 ms, mean 2.441 ms, p99 4.258 ms, 3273.8 QPS (1000/QPS 0.305 ms).
- Passes in the order run: default@1, default@8; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 211,240 sent, 0 failed (warmupErrors). Index after the searches: ready, 0 of 524 indexed (status Green, optimizer ok, indexed_vectors_count 0 of 524 points, 2 segments, indexing_threshold_kb 10,000, full_scan_threshold_kb 10,000; no index used, exact scan by design (the builder's sink sends exact=true on every search); no graph was built; searches counted since the collection was created: unfiltered_hnsw 0, unfiltered_plain 597,894, unfiltered_exact 0).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: container address on its Docker network, not the published port (no docker-proxy): container gvb-qdrant (880915fef269) on network gvb-qdrant_default at container-ip:6334, not through docker-proxy localhost:16334; container gvb-qdrant (880915fef269) on network gvb-qdrant_default at container-ip:6333, not through docker-proxy localhost:16333. Open after the passes: container-ip:6334 x1 (this target).
- CPU pinning: cpuset from the container's creation when run-all started it on the engine CPUs, else docker update --cpuset-cpus (each container's change line says which), CPUs 2-3,6-7. Changed: container gvb-qdrant: already on CPUs 2-3,6-7 (its cpuset since creation), not changed. Read back: container gvb-qdrant: 24 thread(s) on CPUs 2-3,6-7 (every thread of the container).
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): default@1 3492/3492 MHz, average 3492.0/3491.8, performance, outside load 0.19 before the warm-up, 0.18 during, client CPU 0.737 ms per search; default@8 3492/3492 MHz, average 3492.0/3492.0, performance, outside load 0.19 before the warm-up, 0.22 during, client CPU 0.527 ms per search.
OpenSearch opensearch
- Engine: OpenSearch 3.9.0 (k-NN plugin, faiss) (compose)
- Index: faiss HNSW float32, no compression, m=16, ef_construction=128, cosinesimil; search k=top, ef_search=100; 1 shard, 0 replicas; graph built at any segment size (approximate_threshold=0); force-merged to one segment after the load
- Search settings: approximate_threshold=0, ef_construction=128, ef_search=100, k=top, m=16
- Load: 524 rows in batches of 1000, 1.4 s of upserts (369 rows/s); count matched 0.1 s after the last upsert; index step 0.9 s (force-merged to one segment, graph ready after 0.9 s: every segment searched through its HNSW graph, covering 524 of 524 vectors: 1 segment(s), 0 merge(s) running, profiled probe search: ann_search_count 1 (segments tried through a graph), exact_search_count 0 (of those, scanned instead), approximate_threshold 0; force-merged to one segment on purpose, so one graph answers every search)
- Search: 9018 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 0.47 ms, 8 searchers 0.51 ms
- Exact mode: 21,439 searches, p50 2.75 ms, p95 3.08 ms, recall 1.000
- RAM: 2.67 GiB (docker stats); disk: 9.66 MiB added by this load (12.37 MiB (whole engine data folder), 2.71 MiB before)
- Started by run-all for this measurement with every container created on CPUs 2-3,6-7 (started opensearch.compose.yaml with every container created on CPUs 2-3,6-7: gvb-opensearch cpuset 2-3,6-7 (read back from docker inspect)); stopped afterwards.
- Engine files (SHA-256, first 12 hex digits): [opensearch.compose.yaml 028b44c40129]. This run created the engine from these files.
- Index after the load: ready, 524 of 524 indexed (every segment searched through its HNSW graph, covering 524 of 524 vectors: 1 segment(s), 0 merge(s) running, profiled probe search: ann_search_count 1 (segments tried through a graph), exact_search_count 0 (of those, scanned instead), approximate_threshold 0; force-merged to one segment on purpose, so one graph answers every search). Durability: Every acknowledged bulk request is fsynced to the translog before the answer: index.translog.durability=request, the OpenSearch default, which neither this sink nor opensearch.compose.yaml overrides (OpenSearchReadinessTests reads it back from the live index). By that setting a process crash or power loss loses no acknowledged write; this is read from the setting, not shown by pulling power. One node and no replicas, so a lost disk loses the data..
- Outside load when searching began: 0.22 CPUs on average over the last 3 s and 0.22 over the last few seconds (limit 0.3), a quiet box. The load average 4.32 4.02 3.81 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: exact 7,799 searches in 30.0 s, default@8 33,192 searches in 30.0 s, default@1 13,652 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. exact: warm-up 15.0 s and 5,166 searches (0 failed) at 1 searcher; p50 of the last windows 2.797, 2.790, 2.780 ms (windows of at least 2 s and 100 searches); trial of 1,035 searches in 3.0 s at 1 searcher: p50 2.797 ms against the settled p50 2.790 ms, 0% apart (limit 10%); the timed pass p50 2.750 ms, 1% from the settled p50 2.790 ms (limit 10% or 0.1 ms; 0.040 ms); default@8: warm-up 15.0 s and 20,114 searches (0 failed) at 8 searchers; QPS of the last windows 1,338, 1,354, 1,345 (windows of at least 2 s and 100 searches); trial of 4,041 searches in 3.0 s at 8 searchers: 1,345 QPS against the settled 1,345 QPS, 0% apart (limit 10%); the timed pass 1,346 QPS, 0% from the settled 1,345 QPS (limit 10%); default@1: warm-up 15.0 s and 6,839 searches (0 failed) at 1 searcher; p50 of the last windows 2.145, 2.143, 2.144 ms (windows of at least 2 s and 100 searches); trial of 1,379 searches in 3.0 s at 1 searcher: p50 2.141 ms against the settled p50 2.144 ms, 0% apart (limit 10%); the timed pass p50 2.157 ms, 1% from the settled p50 2.144 ms (limit 10% or 0.1 ms; 0.013 ms).
- Pass exact after rehearsal: 2026-10-06T13:43:05.836Z to 2026-10-06T13:44:05.838Z (60.0 s), 21,439 searches, 0 failed, p50 2.750 ms, mean 2.797 ms, p99 3.812 ms, 357.3 QPS (1000/QPS 2.799 ms).
- Pass default@8 after exact: 2026-10-06T13:44:23.868Z to 2026-10-06T13:44:43.873Z (20.0 s), 26,932 searches, 0 failed, p50 5.723 ms, mean 5.939 ms, p99 11.682 ms, 1346.3 QPS (1000/QPS 0.743 ms).
- Pass default@1 after default@8: 2026-10-06T13:45:01.885Z to 2026-10-06T13:45:21.887Z (20.0 s), 9,018 searches, 0 failed, p50 2.157 ms, mean 2.216 ms, p99 3.454 ms, 450.9 QPS (1000/QPS 2.218 ms).
- Passes in the order run: exact, default@8, default@1; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 93,217 sent, 0 failed (warmupErrors). Index after the searches: ready, 524 of 524 indexed (every segment searched through its HNSW graph, covering 524 of 524 vectors: 1 segment(s), 0 merge(s) running, profiled probe search: ann_search_count 1 (segments tried through a graph), exact_search_count 0 (of those, scanned instead), approximate_threshold 0; force-merged to one segment on purpose, so one graph answers every search).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: container address on its Docker network, not the published port (no docker-proxy): container gvb-opensearch (53b5350e8b2f) on network engines_default at container-ip:9200, not through docker-proxy localhost:9201. Open after the passes: container-ip:9200 x8 (this target).
- CPU pinning: cpuset from the container's creation when run-all started it on the engine CPUs, else docker update --cpuset-cpus (each container's change line says which), CPUs 2-3,6-7. Changed: container gvb-opensearch: already on CPUs 2-3,6-7 (its cpuset since creation), not changed. Read back: container gvb-opensearch: 55 thread(s) on CPUs 2-3,6-7 (every thread of the container).
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): exact 3492/3492 MHz, average 3492.1/3492.5, performance, outside load 0.20 before the warm-up, 0.21 during, client CPU 0.474 ms per search; default@8 3492/3492 MHz, average 3492.0/3492.2, performance, outside load 0.21 before the warm-up, 0.20 during, client CPU 0.515 ms per search; default@1 3492/3492 MHz, average 3492.0/3492.6, performance, outside load 0.21 before the warm-up, 0.21 during, client CPU 0.473 ms per search.
Qdrant (HNSW) qdrant-hnsw
- Engine: Qdrant 1.17.0 in container gvb-qdrant (image qdrant/qdrant:v1.17.0@sha256:f1c7272cdac52b38c1a0e89313922d940ba50afd90d593a1605dbbc214e66ffb; cpuset 2-3,6-7 from its creation; 3 search thread(s)) (compose)
- Index: HNSW m=16 ef_construct=100, hnsw_ef=server default, cosine; indexing_threshold_kb 1 and full_scan_threshold_kb 10 (server defaults are 10,000 each) so a small collection builds and walks its graph
- Search settings: ef_construct=100, hnsw_ef=server, m=16
- Load: 524 rows in batches of 1000, 0.1 s of upserts (7,094 rows/s); count matched 0.0 s after the last upsert; index step 2.0 s (indexing_threshold_kb 1, full_scan_threshold_kb 10; status Green, 524 of 524 vectors in HNSW segments (2 segments), waited 2.0 s)
- Search: 21430 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 0.73 ms, 8 searchers 0.51 ms
- Exact mode: 66,103 searches, p50 0.89 ms, p95 1.02 ms, recall 1.000
- RAM: 37.06 MiB (docker stats); disk: 164.1 MiB (collection folder)
- Started by run-all for this measurement with every container created on CPUs 2-3,6-7 (started qdrant.compose.yaml with every container created on CPUs 2-3,6-7: gvb-qdrant cpuset 2-3,6-7 (read back from docker inspect)); stopped afterwards.
- Engine files (SHA-256, first 12 hex digits): [qdrant.compose.yaml eb57e55e93c1]. This run created the engine from these files.
- Index after the load: ready, 524 of 524 indexed (status Green, optimizer ok, indexed_vectors_count 524 of 524 points, 2 segments, indexing_threshold_kb 1, full_scan_threshold_kb 10; every one of 1 non-empty segments has a complete HNSW graph above its full-scan threshold; no search has run yet, so the walk is proven by the segment settings only; searches counted since the collection was created: unfiltered_hnsw 0, unfiltered_plain 0, unfiltered_exact 0). Durability: What was measured (strace -f on the Qdrant server process, 30 single-point REST upserts per setting, every sync call timed against the request that caused it): with wait=true each upsert had exactly one msync(MS_SYNC) of the write-ahead-log segment inside the request, before the reply (30 of 30); with wait=false the 30 upserts were acknowledged within 0.26 s with no sync call, and the first WAL msync (one call covering all 30 records) came 2.7 s after the last reply, followed by the segment-file flushes. So the log is flushed to disk under both settings, but with wait=false the flush comes after the acknowledgement: an operating-system crash or power cut in that gap loses acknowledged writes, while a crash of the Qdrant process alone should not, because the bytes are already in the kernel's page cache (inferred, not tested). Every upsert here is sent with wait=true in batches of 256 over gRPC; the strace used one point per request, so one flush per batch is inferred, not measured. Segment files are flushed every 5 s; log segments 32 MB, 0 created ahead. /qdrant/config/config.yaml in container gvb-qdrant (the image's own file; its storage keys are listed) sets: storage.collection.quantization = null, storage.collection.replication_factor = 1, storage.collection.vectors.on_disk = null, storage.collection.write_consistency_factor = 1, storage.hnsw_index.ef_construct = 100, storage.hnsw_index.full_scan_threshold_kb = 10000, storage.hnsw_index.m = 16, storage.hnsw_index.max_indexing_threads = 0, storage.hnsw_index.on_disk = false, storage.hnsw_index.payload_m = null, storage.max_collections = null, storage.node_type = Normal, storage.on_disk_payload = true, storage.optimizers.default_segment_number = 0, storage.optimizers.deleted_threshold = 0.2, storage.optimizers.flush_interval_sec = 5, storage.optimizers.indexing_threshold_kb = 10000, storage.optimizers.max_optimization_threads = null, storage.optimizers.max_segment_size_kb = null, storage.optimizers.vacuum_min_vector_number = 1000, storage.performance.max_search_threads = 0, storage.performance.optimizer_cpu_budget = 0, storage.performance.update_rate_limit = null, storage.shard_transfer_method = null, storage.snapshots_config.snapshots_storage = local, storage.snapshots_path = ./snapshots, storage.storage_path = ./storage, storage.temp_path = null, storage.update_concurrency = null, storage.wal.wal_capacity_mb = 32, storage.wal.wal_segments_ahead = 0; no QDRANT__ environment overrides in the server process. Not tested by cutting power; whether the disk's own write cache reaches the media was not checked..
- Outside load when searching began: 0.17 CPUs on average over the last 2 s and 0.17 over the last few seconds (limit 0.3), a quiet box. The load average 2.81 3.61 3.70 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: default@1 32,060 searches in 30.0 s, default@8 103,437 searches in 30.0 s, exact 32,979 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. default@1: warm-up 15.0 s and 16,078 searches (0 failed) at 1 searcher; p50 of the last windows 0.919, 0.920, 0.923 ms (windows of at least 2 s and 100 searches); trial of 3,227 searches in 3.0 s at 1 searcher: p50 0.921 ms against the settled p50 0.920 ms, 0% apart (limit 10%); the timed pass p50 0.920 ms, 0% from the settled p50 0.920 ms (limit 10% or 0.1 ms; 0.000 ms); default@8: warm-up 15.0 s and 51,188 searches (0 failed) at 8 searchers; QPS of the last windows 3,411, 3,412, 3,425 (windows of at least 2 s and 100 searches); trial of 10,234 searches in 3.0 s at 8 searchers: 3,410 QPS against the settled 3,412 QPS, 0% apart (limit 10%); the timed pass 3,452 QPS, 1% from the settled 3,412 QPS (limit 10%); exact: warm-up 15.0 s and 16,449 searches (0 failed) at 1 searcher; p50 of the last windows 0.899, 0.898, 0.899 ms (windows of at least 2 s and 100 searches); trial of 3,300 searches in 3.0 s at 1 searcher: p50 0.897 ms against the settled p50 0.899 ms, 0% apart (limit 10%); the timed pass p50 0.895 ms, 0% from the settled p50 0.899 ms (limit 10% or 0.1 ms; 0.004 ms).
- Pass default@1 after rehearsal: 2026-10-06T13:47:20.324Z to 2026-10-06T13:47:40.325Z (20.0 s), 21,430 searches, 0 failed, p50 0.920 ms, mean 0.932 ms, p99 1.406 ms, 1071.5 QPS (1000/QPS 0.933 ms).
- Pass default@8 after default@1: 2026-10-06T13:47:58.352Z to 2026-10-06T13:48:18.354Z (20.0 s), 69,044 searches, 0 failed, p50 2.234 ms, mean 2.315 ms, p99 3.999 ms, 3451.9 QPS (1000/QPS 0.290 ms).
- Pass exact after default@8: 2026-10-06T13:48:36.383Z to 2026-10-06T13:49:36.383Z (60.0 s), 66,103 searches, 0 failed, p50 0.895 ms, mean 0.906 ms, p99 1.389 ms, 1101.7 QPS (1000/QPS 0.908 ms).
- Passes in the order run: default@1, default@8, exact; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 268,952 sent, 0 failed (warmupErrors). Index after the searches: ready, 524 of 524 indexed (status Green, optimizer ok, indexed_vectors_count 524 of 524 points, 2 segments, indexing_threshold_kb 1, full_scan_threshold_kb 10; every one of 1 non-empty segments has a complete HNSW graph above its full-scan threshold; 306,698 segment searches walked the graph and none scanned; searches counted since the collection was created: unfiltered_hnsw 306,698, unfiltered_plain 0, unfiltered_exact 118,831).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: container address on its Docker network, not the published port (no docker-proxy): container gvb-qdrant (69832df26c6f) on network gvb-qdrant_default at container-ip:6334, not through docker-proxy localhost:16334; container gvb-qdrant (69832df26c6f) on network gvb-qdrant_default at container-ip:6333, not through docker-proxy localhost:16333. Open after the passes: container-ip:6334 x1 (this target).
- CPU pinning: cpuset from the container's creation when run-all started it on the engine CPUs, else docker update --cpuset-cpus (each container's change line says which), CPUs 2-3,6-7. Changed: container gvb-qdrant: already on CPUs 2-3,6-7 (its cpuset since creation), not changed. Read back: container gvb-qdrant: 24 thread(s) on CPUs 2-3,6-7 (every thread of the container).
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): default@1 3492/3492 MHz, average 3492.0/3492.1, performance, outside load 0.20 before the warm-up, 0.17 during, client CPU 0.727 ms per search; default@8 3492/3492 MHz, average 3492.0/3492.0, performance, outside load 0.16 before the warm-up, 0.23 during, client CPU 0.510 ms per search; exact 3492/3492 MHz, average 3492.0/3491.9, performance, outside load 0.22 before the warm-up, 0.17 during, client CPU 0.730 ms per search.
Redis redis
- Engine: Redis 8.10.2 (query engine, HASH + vector index) (compose)
- Index: HNSW TYPE FLOAT32 M=16 EF_CONSTRUCTION=128, EF_RUNTIME=100 per query, cosine; exact mode = FLAT index built on first exact query
- Search settings: EF_CONSTRUCTION=128, EF_RUNTIME=100, M=16
- Load: 524 rows in batches of 1000, 0.0 s of upserts (12,405 rows/s); count matched 1.0 s after the last upsert; index step 0.0 s (HNSW index finished after 0.0 s of waiting: FT.INFO indexing 0, percent_indexed 1, hash_indexing_failures 0, flat_buffer_size 0, num_docs 524, hashes counted with SCAN under gvb_gvbbench_eshoponweb: 524)
- Search: 50539 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 0.57 ms, 8 searchers 0.36 ms
- Exact mode: 159,894 searches, p50 0.38 ms, p95 0.47 ms, recall 1.000
- RAM: 254.2 MiB (docker stats); disk: 0 B added by this load (94.22 MiB (whole engine data folder), 94.22 MiB before)
- Started by run-all for this measurement with every container created on CPUs 2-3,6-7 (started redis.compose.yaml with every container created on CPUs 2-3,6-7: gvb-redis cpuset 2-3,6-7 (read back from docker inspect)); stopped afterwards.
- Engine files (SHA-256, first 12 hex digits): [redis.compose.yaml 7448634e0d92]. This run created the engine from these files.
- Index after the load: ready, 524 of 524 indexed (FT.INFO indexing 0, percent_indexed 1, hash_indexing_failures 0, flat_buffer_size 0, num_docs 524, hashes counted with SCAN under gvb_gvbbench_eshoponweb: 524). Durability: save "300 1" and appendonly no (redis.compose.yaml): an RDB snapshot is written every 5 minutes if at least one key changed, and on a clean stop; there is no append-only log, so a crash loses every write since the last snapshot (up to 5 minutes plus the time a snapshot takes; measured with docker kill, which is SIGKILL, right after a 2,000-vector load: none of the 2,000 hashes were there after the restart, and the restart loaded an older snapshot that still held keys of a collection that had been dropped since).
- Outside load when searching began: 0.21 CPUs on average over the last 1 s and 0.21 over the last few seconds (limit 0.3), a quiet box. The load average 3.63 3.65 3.70 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: default@8 151,068 searches in 30.0 s, default@1 76,411 searches in 30.0 s, exact 77,196 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. default@8: warm-up 15.0 s and 76,663 searches (0 failed) at 8 searchers; QPS of the last windows 5,015, 5,094, 5,132 (windows of at least 2 s and 100 searches); trial of 15,140 searches in 3.0 s at 8 searchers: 5,045 QPS against the settled 5,094 QPS, 1% apart (limit 10%); the timed pass 5,120 QPS, 0% from the settled 5,094 QPS (limit 10%); default@1: warm-up 15.0 s and 37,630 searches (0 failed) at 1 searcher; p50 of the last windows 0.393, 0.407, 0.389 ms (windows of at least 2 s and 100 searches); trial of 7,433 searches in 3.0 s at 1 searcher: p50 0.409 ms against the settled p50 0.393 ms, 4% apart (limit 10%); the timed pass p50 0.398 ms, 1% from the settled p50 0.393 ms (limit 10% or 0.1 ms; 0.005 ms); exact: warm-up 15.0 s and 40,226 searches (0 failed) at 1 searcher; p50 of the last windows 0.372, 0.373, 0.374 ms (windows of at least 2 s and 100 searches); trial of 8,019 searches in 3.0 s at 1 searcher: p50 0.375 ms against the settled p50 0.373 ms, 1% apart (limit 10%); the timed pass p50 0.378 ms, 1% from the settled p50 0.373 ms (limit 10% or 0.1 ms; 0.005 ms).
- Pass default@8 after rehearsal: 2026-10-06T13:51:46.664Z to 2026-10-06T13:52:06.665Z (20.0 s), 102,408 searches, 0 failed, p50 1.564 ms, mean 1.561 ms, p99 2.227 ms, 5120.1 QPS (1000/QPS 0.195 ms).
- Pass default@1 after default@8: 2026-10-06T13:52:24.709Z to 2026-10-06T13:52:44.709Z (20.0 s), 50,539 searches, 0 failed, p50 0.398 ms, mean 0.394 ms, p99 0.717 ms, 2526.9 QPS (1000/QPS 0.396 ms).
- Pass exact after default@1: 2026-10-06T13:53:02.775Z to 2026-10-06T13:54:02.775Z (60.0 s), 159,894 searches, 0 failed, p50 0.378 ms, mean 0.374 ms, p99 0.675 ms, 2664.9 QPS (1000/QPS 0.375 ms).
- Passes in the order run: default@8, default@1, exact; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 489,786 sent, 0 failed (warmupErrors). Index after the searches: ready, 524 of 524 indexed (FT.INFO indexing 0, percent_indexed 1, hash_indexing_failures 0, flat_buffer_size 0, num_docs 524, hashes counted with SCAN under gvb_gvbbench_eshoponweb: 524).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: container address on its Docker network, not the published port (no docker-proxy): container gvb-redis (26d9ff0dafd6) on network gvb-redis_default at container-ip:6379, not through docker-proxy localhost:6379. Open after the passes: container-ip:6379 x1 (this target).
- CPU pinning: cpuset from the container's creation when run-all started it on the engine CPUs, else docker update --cpuset-cpus (each container's change line says which), CPUs 2-3,6-7. Changed: container gvb-redis: already on CPUs 2-3,6-7 (its cpuset since creation), not changed. Read back: container gvb-redis: 16 thread(s) on CPUs 2-3,6-7 (every thread of the container).
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): default@8 3492/3492 MHz, average 3492.0/3492.0, performance, outside load 0.19 before the warm-up after waiting 3 s, 0.20 during, client CPU 0.364 ms per search; default@1 3492/3492 MHz, average 3492.1/3492.0, performance, outside load 0.20 before the warm-up, 0.20 during, client CPU 0.569 ms per search; exact 3492/3492 MHz, average 3492.1/3492.0, performance, outside load 0.21 before the warm-up, 0.20 during, client CPU 0.565 ms per search.
Milvus milvus
- Engine: Milvus 2.6.25 (standalone, embedded etcd, local storage, REST API v2) (compose)
- Index: HNSW M=16 efConstruction=128, ef=100, metric COSINE, Strong consistency searches; approximate only (no exact mode)
- Search settings: M=16, ef=100, efConstruction=128
- Load: 524 rows in batches of 1000, 0.5 s of upserts (1,155 rows/s); count matched 1.6 s after the last upsert; index step 138.6 s (index Finished, type HNSW (COSINE, {"M":16,"efConstruction":128}), indexedRows 524 of 524 sealed rows, pendingRows 0; stored rows 524; LoadStateLoaded; query node: 1 sealed segment(s) with the index loaded covering 524 rows against 524 stored rows, 0 sealed without it, 0 rows in growing segments; datacoord: 1 live segment(s), 1 flushed and indexed covering 524 rows, 0 delete-log (L0) segment(s) waiting for a compaction, 3 segment(s) compacted away so far; flush, index build and load took 14.7 s, then compaction: 1 job(s) accepted by Milvus, layout ready and unchanged for 75 s, 123.9 s for the whole step; search ledger started, later state reads count the searches against the query node's own counters)
- Search: 8108 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 0.57 ms, 8 searchers 0.64 ms
- RAM: 223.6 MiB (docker stats); disk: 10.93 MiB added by this load (202.27 MiB (whole engine data folder), 191.34 MiB before)
- Started by run-all for this measurement with every container created on CPUs 2-3,6-7 (started milvus.compose.yaml with every container created on CPUs 2-3,6-7: gvb-milvus cpuset 2-3,6-7 (read back from docker inspect)); stopped afterwards.
- Engine files (SHA-256, first 12 hex digits): [milvus.compose.yaml eaefecdc3671]. This run created the engine from these files.
- Index after the load: ready, 524 of 524 indexed (index Finished, type HNSW (COSINE, {"M":16,"efConstruction":128}), indexedRows 524 of 524 sealed rows, pendingRows 0; stored rows 524; LoadStateLoaded; query node: 1 sealed segment(s) with the index loaded covering 524 rows against 524 stored rows, 0 sealed without it, 0 rows in growing segments; datacoord: 1 live segment(s), 1 flushed and indexed covering 524 rows, 0 delete-log (L0) segment(s) waiting for a compaction, 3 segment(s) compacted away so far; search ledger since the index finished: the sink sent 0 searches (searchParams.params.ef=100, Strong consistency), the query node counted 0 search requests for this collection, segment searches Sealed +0 and Growing +0, the same sealed segments with the same loaded index builds at both readings, segments compacted away +0). Durability: Writes are not fsynced. Standalone uses the default message queue rocksmq (RocksDB, /var/lib/milvus/rdb_data, mq.type default) and flushed segments go to local-disk object storage (COMMON_STORAGETYPE=local in milvus.compose.yaml). Measured 2026-10-04 with strace over 30 acknowledged single-row upserts and one flush: fdatasync ran only on the embedded etcd files (member/wal, member/snap/db), never on rdb_data or the segment files. A host power loss or kernel crash can lose acknowledged rows that are still in the OS page cache; a Milvus process crash alone should not (inferred, not tested). Metadata in embedded etcd is fdatasynced on every commit..
- Outside load when searching began: 0.20 CPUs on average over the last 60 s and 0.21 over the last few seconds (limit 0.3), a quiet box. The load average 0.56 2.12 3.05 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: default@8 37,601 searches in 30.0 s, default@1 12,125 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. default@8: warm-up 15.0 s and 18,832 searches (0 failed) at 8 searchers; QPS of the last windows 1,272, 1,259, 1,258 (windows of at least 2 s and 100 searches); trial of 3,775 searches in 3.0 s at 8 searchers: 1,257 QPS against the settled 1,259 QPS, 0% apart (limit 10%); the timed pass 1,255 QPS, 0% from the settled 1,259 QPS (limit 10%); default@1: warm-up 15.0 s and 6,034 searches (0 failed) at 1 searcher; p50 of the last windows 2.348, 2.352, 2.367 ms (windows of at least 2 s and 100 searches); trial of 1,212 searches in 3.0 s at 1 searcher: p50 2.349 ms against the settled p50 2.352 ms, 0% apart (limit 10%); the timed pass p50 2.339 ms, 1% from the settled p50 2.352 ms (limit 10% or 0.1 ms; 0.013 ms).
- Pass default@8 after rehearsal: 2026-10-06T13:57:51.754Z to 2026-10-06T13:58:11.758Z (20.0 s), 25,099 searches, 0 failed, p50 5.834 ms, mean 6.373 ms, p99 14.120 ms, 1254.7 QPS (1000/QPS 0.797 ms).
- Pass default@1 after default@8: 2026-10-06T13:58:29.776Z to 2026-10-06T13:58:49.777Z (20.0 s), 8,108 searches, 0 failed, p50 2.339 ms, mean 2.464 ms, p99 3.912 ms, 405.4 QPS (1000/QPS 2.467 ms).
- Passes in the order run: default@8, default@1; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 79,579 sent, 0 failed (warmupErrors). Index after the searches: ready, 524 of 524 indexed (index Finished, type HNSW (COSINE, {"M":16,"efConstruction":128}), indexedRows 524 of 524 sealed rows, pendingRows 0; stored rows 524; LoadStateLoaded; query node: 1 sealed segment(s) with the index loaded covering 524 rows against 524 stored rows, 0 sealed without it, 0 rows in growing segments; datacoord: 1 live segment(s), 1 flushed and indexed covering 524 rows, 0 delete-log (L0) segment(s) waiting for a compaction, 3 segment(s) compacted away so far; search ledger since the index finished: the sink sent 112786 searches (searchParams.params.ef=100, Strong consistency), the query node counted 112786 search requests for this collection, segment searches Sealed +110583 and Growing +0, the same sealed segments with the same loaded index builds at both readings, segments compacted away +0).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: container address on its Docker network, not the published port (no docker-proxy): container gvb-milvus (b9f11218b6aa) on network gvb-milvus_default at container-ip:19530, not through docker-proxy localhost:19530; container gvb-milvus (b9f11218b6aa) on network gvb-milvus_default at container-ip:9091, not through docker-proxy localhost:9091. Open after the passes: container-ip:19530 x8 (this target).
- CPU pinning: cpuset from the container's creation when run-all started it on the engine CPUs, else docker update --cpuset-cpus (each container's change line says which), CPUs 2-3,6-7. Changed: container gvb-milvus: already on CPUs 2-3,6-7 (its cpuset since creation), not changed. Read back: container gvb-milvus: 24 thread(s) on CPUs 2-3,6-7 (every thread of the container).
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): default@8 3492/3492 MHz, average 3492.0/3492.3, performance, outside load 0.23 before the warm-up, 0.25 during, client CPU 0.638 ms per search; default@1 3492/3492 MHz, average 3492.0/3492.2, performance, outside load 0.23 before the warm-up, 0.19 during, client CPU 0.569 ms per search.
MariaDB mariadb
- Engine: MariaDB 11.8.9 (InnoDB + VECTOR INDEX) (compose)
- Index: VECTOR INDEX (HNSW variant) DISTANCE=cosine, M=16 (no ef_construction setting exists), mhnsw_ef_search=100 per statement (the ef 100 most engines here use, so the search effort matches; MariaDB's own default is 20; recall@10 at ef 100 falls as the set grows (random 1024-dimension vectors, measured 2026-10-04: 0.99 at 524, 0.89 to 0.92 at 2,000; an earlier run gave about 0.09 at 100,000 [Correction 4])), mhnsw_max_cache_size 4G; exact mode = IGNORE INDEX full scan
- Search settings: DISTANCE=cosine, M=16, mhnsw_ef_search=100
- Load: 524 rows in batches of 1000, 0.5 s of upserts (1,010 rows/s); count matched 0.0 s after the last upsert; index step 0.5 s (VECTOR INDEX is maintained inside every INSERT, nothing to build; confirmed after 2 poll(s) in 0.5 s (poll 1 of 2 said: not ready: a search at mhnsw_ef_search 100 returned only 393 of 524 requested rows through the index (EXPLAIN key 'vec_idx') (information_schema lists vec_idx as INDEX_TYPE VECTOR, EXPLAIN of the default search uses key vec_idx, the server applied mhnsw_ef_search 100 (asked for 100, read back from the server), a search at that effort returned 393 of 524 requested rows through the index; MariaDB has no per-index row count (the graph is a hidden InnoDB table), so indexed vectors are not reported)): information_schema lists vec_idx as INDEX_TYPE VECTOR, EXPLAIN of the default search uses key vec_idx, the server applied mhnsw_ef_search 100 (asked for 100, read back from the server), a search at that effort returned 521 of 524 requested rows through the index; MariaDB has no per-index row count (the graph is a hidden InnoDB table), so indexed vectors are not reported)
- Search: 30928 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 0.49 ms, 8 searchers 0.38 ms
- Exact mode: 35,976 searches, p50 1.64 ms, p95 1.80 ms, recall 1.000
- RAM: 159.5 MiB (docker stats); disk: 22.01 MiB added by this load (182.79 MiB (whole engine data folder), 160.78 MiB before)
- Started by run-all for this measurement with every container created on CPUs 2-3,6-7 (started mariadb-bench.compose.yaml with every container created on CPUs 2-3,6-7: gvbbench-mariadb cpuset 2-3,6-7 (read back from docker inspect)); stopped afterwards.
- Engine files (SHA-256, first 12 hex digits): [mariadb-bench.compose.yaml e9a2147e6f91]. This run created the engine from these files.
- Index after the load: ready, ? of 524 indexed (information_schema lists vec_idx as INDEX_TYPE VECTOR, EXPLAIN of the default search uses key vec_idx, the server applied mhnsw_ef_search 100 (asked for 100, read back from the server), a search at that effort returned 521 of 524 requested rows through the index; MariaDB has no per-index row count (the graph is a hidden InnoDB table), so indexed vectors are not reported). Durability: innodb_flush_log_at_trx_commit=2 (set in mariadb-bench.compose.yaml for the benchmark's own container gvbbench-mariadb, and in mariadb.compose.yaml for the daily gvb-mariadb, which has the same server settings): the InnoDB redo log is written to the operating system at every commit but fsynced about once a second, so a crash of the mariadbd process loses nothing, while an operating-system crash or power cut can lose the last second of commits; innodb_doublewrite is on (default), the binary log is off, and the vector graph is an InnoDB table under the same log (settings read from the running server with SHOW VARIABLES; the crash behaviour is InnoDB's documented behaviour for this setting and was not tested on either container).
- WARNING: processes outside the benchmark used 0.39 CPUs on average over the last 1 s and 0.39 over the last few seconds when searching began (limit 0.3): the box was busy as the untimed rehearsal started. Each timed pass still waits for a quiet box before its warm-up, and one that ran busy is flagged 'busy box' on its own. The load average 2.54 2.75 3.17 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: default@8 178,397 searches in 30.0 s, default@1 47,035 searches in 30.0 s, exact 17,961 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. default@8: warm-up 15.0 s and 88,349 searches (0 failed) at 8 searchers; QPS of the last windows 5,840, 5,941, 5,954 (windows of at least 2 s and 100 searches); trial of 17,798 searches in 3.0 s at 8 searchers: 5,931 QPS against the settled 5,941 QPS, 0% apart (limit 10%); the timed pass 5,911 QPS, 0% from the settled 5,941 QPS (limit 10%); default@1: warm-up 15.0 s and 23,186 searches (0 failed) at 1 searcher; p50 of the last windows 0.625, 0.641, 0.641 ms (windows of at least 2 s and 100 searches); trial of 4,600 searches in 3.0 s at 1 searcher: p50 0.639 ms against the settled p50 0.641 ms, 0% apart (limit 10%); the timed pass p50 0.636 ms, 1% from the settled p50 0.641 ms (limit 10% or 0.1 ms; 0.004 ms); exact: warm-up 15.0 s and 8,963 searches (0 failed) at 1 searcher; p50 of the last windows 1.635, 1.643, 1.653 ms (windows of at least 2 s and 100 searches); trial of 1,802 searches in 3.0 s at 1 searcher: p50 1.631 ms against the settled p50 1.643 ms, 1% apart (limit 10%); the timed pass p50 1.639 ms, 0% from the settled p50 1.643 ms (limit 10% or 0.1 ms; 0.004 ms).
- Pass default@8 after rehearsal: 2026-10-06T14:00:53.785Z to 2026-10-06T14:01:13.786Z (20.0 s), 118,236 searches, 0 failed, p50 1.305 ms, mean 1.352 ms, p99 2.471 ms, 5911.5 QPS (1000/QPS 0.169 ms).
- Pass default@1 after default@8: 2026-10-06T14:01:31.833Z to 2026-10-06T14:01:51.834Z (20.0 s), 30,928 searches, 0 failed, p50 0.636 ms, mean 0.645 ms, p99 0.862 ms, 1546.4 QPS (1000/QPS 0.647 ms).
- Pass exact after default@1: 2026-10-06T14:02:09.870Z to 2026-10-06T14:03:09.872Z (60.0 s), 35,976 searches, 0 failed, p50 1.639 ms, mean 1.666 ms, p99 2.116 ms, 599.6 QPS (1000/QPS 1.668 ms).
- Passes in the order run: default@8, default@1, exact; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 388,091 sent, 0 failed (warmupErrors). Index after the searches: ready, ? of 524 indexed (information_schema lists vec_idx as INDEX_TYPE VECTOR, EXPLAIN of the default search uses key vec_idx, the server applied mhnsw_ef_search 100 (asked for 100, read back from the server), a search at that effort returned 521 of 524 requested rows through the index; MariaDB has no per-index row count (the graph is a hidden InnoDB table), so indexed vectors are not reported).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: container address on its Docker network, not the published port (no docker-proxy): container gvbbench-mariadb (52cb67e69c35) on network gvbbench-mariadb_default at container-ip:3306, not through docker-proxy localhost:13306. Open after the passes: container-ip:3306 x8 (this target).
- CPU pinning: cpuset from the container's creation when run-all started it on the engine CPUs, else docker update --cpuset-cpus (each container's change line says which), CPUs 2-3,6-7. Changed: container gvbbench-mariadb: already on CPUs 2-3,6-7 (its cpuset since creation), not changed. Read back: container gvbbench-mariadb: 13 thread(s) on CPUs 2-3,6-7 (every thread of the container).
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): default@8 3492/3492 MHz, average 3492.0/3492.0, performance, outside load 0.20 before the warm-up, 0.16 during, client CPU 0.376 ms per search; default@1 3492/3492 MHz, average 3492.7/3492.2, performance, outside load 0.17 before the warm-up, 0.19 during, client CPU 0.486 ms per search; exact 3492/3492 MHz, average 3492.9/3492.4, performance, outside load 0.19 before the warm-up, 0.19 during, client CPU 0.499 ms per search.
Weaviate weaviate
- Engine: Weaviate 1.39.8 (single node, REST + GraphQL) (compose)
- Index: HNSW maxConnections(M)=16 efConstruction=128, ef=-1 (dynamic: limit x 8 clamped 100..500), cosine, no quantization; approximate only (no exact mode)
- Search settings: ef=-1, efConstruction=128
- Load: 524 rows in batches of 1000, 0.5 s of upserts (1,004 rows/s); count matched 0.0 s after the last upsert; index step 0.0 s (HNSW is updated inside every batch, nothing to build; confirmed in 0.0 s: shard 9u0EFW2dYzBR vectorIndexingStatus READY, vectorQueueLength 0, node status objectCount 0 (refreshed only when the memtable is flushed, so it lags a minute and does not decide readiness), schema shard 9u0EFW2dYzBR status READY, Aggregate count 524, Aggregate nearVector with objectLimit 524 reached 524, Weaviate reports no count of vectors in the HNSW index, so indexed vectors are not reported)
- Search: 3313 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 0.57 ms, 8 searchers 0.62 ms
- RAM: 175.9 MiB (docker stats); disk: 2.96 MiB added by this load (5.02 MiB (whole engine data folder), 2.06 MiB before)
- Started by run-all for this measurement with every container created on CPUs 2-3,6-7 (started weaviate.compose.yaml with every container created on CPUs 2-3,6-7: gvb-weaviate cpuset 2-3,6-7 (read back from docker inspect)); stopped afterwards.
- Engine files (SHA-256, first 12 hex digits): [weaviate.compose.yaml d96b7399662a]. This run created the engine from these files.
- Index after the load: ready, ? of 524 indexed (shard 9u0EFW2dYzBR vectorIndexingStatus READY, vectorQueueLength 0, node status objectCount 0 (refreshed only when the memtable is flushed, so it lags a minute and does not decide readiness), schema shard 9u0EFW2dYzBR status READY, Aggregate count 524, Aggregate nearVector with objectLimit 524 reached 524, Weaviate reports no count of vectors in the HNSW index, so indexed vectors are not reported). Durability: Weaviate 1.39.8 defaults, weaviate.compose.yaml sets no persistence variable [Correction 1]: every object is appended to the LSM write-ahead log with a plain write and no fsync, and the log is fsynced only when its memtable is flushed, 60 seconds after the last write (PERSISTENCE_MEMTABLES_FLUSH_IDLE_AFTER_SECONDS default; measured with strace: 2,080 writes into the objects log during a 2,000-object load, the first fsync 60 s after the last write), so a power cut can lose the last minute of writes; the HNSW commit log is buffered inside the process (77 writes for 2,000 vectors), so a killed process loses the newest vectors from the vector index while their objects survive (measured with docker kill, which is SIGKILL, one second after the load and a restart, two runs each: 0 to 1 of 50, 264 to 267 of 300 and 1,992 to 1,997 of 2,000 stored objects were still reachable through a vector search).
- Outside load when searching began: 0.18 CPUs on average over the last 1 s and 0.18 over the last few seconds (limit 0.3), a quiet box. The load average 1.35 2.75 3.14 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: default@1 5,033 searches in 30.0 s, default@8 9,259 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. default@1: warm-up 15.0 s and 2,501 searches (0 failed) at 1 searcher; p50 of the last windows 5.348, 5.364, 5.353 ms (windows of at least 2 s and 100 searches); trial of 499 searches in 3.0 s at 1 searcher: p50 5.360 ms against the settled p50 5.353 ms, 0% apart (limit 10%); the timed pass p50 5.361 ms, 0% from the settled p50 5.353 ms (limit 10% or 0.1 ms; 0.008 ms); default@8: warm-up 15.0 s and 4,572 searches (0 failed) at 8 searchers; QPS of the last windows 304, 304, 306 (windows of at least 2 s and 100 searches); trial of 923 searches in 3.0 s at 8 searchers: 306 QPS against the settled 304 QPS, 0% apart (limit 10%); the timed pass 305 QPS, 0% from the settled 304 QPS (limit 10%).
- Pass default@1 after rehearsal: 2026-10-06T14:04:51.911Z to 2026-10-06T14:05:11.911Z (20.0 s), 3,313 searches, 0 failed, p50 5.361 ms, mean 6.034 ms, p99 11.817 ms, 165.6 QPS (1000/QPS 6.037 ms).
- Pass default@8 after default@1: 2026-10-06T14:05:29.950Z to 2026-10-06T14:05:49.968Z (20.0 s), 6,104 searches, 0 failed, p50 24.783 ms, mean 26.229 ms, p99 54.394 ms, 304.9 QPS (1000/QPS 3.280 ms).
- Passes in the order run: default@1, default@8; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 22,787 sent, 0 failed (warmupErrors). Index after the searches: ready, ? of 524 indexed (shard 9u0EFW2dYzBR vectorIndexingStatus READY, vectorQueueLength 0, node status objectCount 524 (refreshed only when the memtable is flushed, so it lags a minute and does not decide readiness), schema shard 9u0EFW2dYzBR status READY, Aggregate count 524, Aggregate nearVector with objectLimit 524 reached 524, Weaviate reports no count of vectors in the HNSW index, so indexed vectors are not reported).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: container address on its Docker network, not the published port (no docker-proxy): container gvb-weaviate (41c8b7799a14) on network gvb-weaviate_default at container-ip:8080, not through docker-proxy localhost:8085. Open after the passes: container-ip:8080 x8 (this target).
- CPU pinning: cpuset from the container's creation when run-all started it on the engine CPUs, else docker update --cpuset-cpus (each container's change line says which), CPUs 2-3,6-7. Changed: container gvb-weaviate: already on CPUs 2-3,6-7 (its cpuset since creation), not changed. Read back: container gvb-weaviate: 9 thread(s) on CPUs 2-3,6-7 (every thread of the container).
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): default@1 3492/3492 MHz, average 3492.1/3492.6, performance, outside load 0.20 before the warm-up, 0.20 during, client CPU 0.572 ms per search; default@8 3492/3492 MHz, average 3492.0/3492.4, performance, outside load 0.21 before the warm-up, 0.23 during, client CPU 0.617 ms per search.
MongoDB Atlas Local mongodb
- Engine: MongoDB 8.0.32 Atlas Local (mongod + mongot Vector Search) (compose)
- Index: vectorSearch index, HNSW maxEdges=16 numEdgeCandidates=128, float32 binData, cosine, numCandidates=20x hits (min 100); exact mode = $vectorSearch exact:true
- Search settings: maxEdges=16, numCandidates=20x, numEdgeCandidates=128
- Load: 524 rows in batches of 1000, 0.1 s of upserts (3,545 rows/s); count matched 1.7 s after the last upsert; index step 10.3 s (index status READY, queryable True; mongot holds 524 of 524 documents in 4 segment(s) (269 + 251 + 2 + 2 documents), 4 searched through the HNSW graph (Approximate); segment layout unchanged for 10.2 s over 11 readings; wait took 10.3 s)
- Search: 13821 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 0.31 ms, 8 searchers 0.29 ms
- Exact mode: 47,151 searches, p50 1.24 ms, p95 1.46 ms, recall 1.000
- RAM: 882.5 MiB (docker stats); disk: 171.38 KiB added by this load (1.37 GiB (whole engine data folder), 1.37 GiB before)
- Started by run-all for this measurement with every container created on CPUs 2-3,6-7 (started mongodb.compose.yaml with every container created on CPUs 2-3,6-7: gvb-mongodb cpuset 2-3,6-7 (read back from docker inspect)); stopped afterwards.
- Engine files (SHA-256, first 12 hex digits): [mongodb.compose.yaml 4ee6f6411f1f]. This run created the engine from these files.
- Index after the load: ready, 524 of 524 indexed (index status READY, queryable True; mongot holds 524 of 524 documents in 4 segment(s) (269 + 251 + 2 + 2 documents), 4 searched through the HNSW graph (Approximate)). Durability: Acknowledged writes are journaled before the acknowledgement. The sink sets no write concern, so the server default applies: getDefaultRWConcern gives w majority and the one-member replica set (--replSet gvbmongo in the image) has writeConcernMajorityJournalDefault true, with WiredTiger journaling on (journalCommitInterval 100 ms is only the interval for unacknowledged work). Measured 2026-10-04: 30 acknowledged single-document inserts raised WiredTiger 'log sync operations' by 30 and strace showed fdatasync on /data/db/journal/WiredTigerLog files. A crash loses no acknowledged write. mongot's search index is not part of that promise: it follows the collection asynchronously and is rebuilt from it..
- Outside load when searching began: 0.23 CPUs on average over the last 14 s and 0.24 over the last few seconds (limit 0.3), a quiet box. The load average 2.48 2.68 3.05 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: default@1 17,315 searches in 30.0 s, exact 22,690 searches in 30.0 s, default@8 60,007 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. default@1: warm-up 15.0 s and 10,336 searches (0 failed) at 1 searcher; p50 of the last windows 1.408, 1.414, 1.428 ms (windows of at least 2 s and 100 searches); trial of 2,054 searches in 3.0 s at 1 searcher: p50 1.421 ms against the settled p50 1.414 ms, 0% apart (limit 10%); the timed pass p50 1.414 ms, 0% from the settled p50 1.414 ms (limit 10% or 0.1 ms; 0.000 ms); exact: warm-up 15.0 s and 11,731 searches (0 failed) at 1 searcher; p50 of the last windows 1.257, 1.243, 1.241 ms (windows of at least 2 s and 100 searches); trial of 2,356 searches in 3.0 s at 1 searcher: p50 1.248 ms against the settled p50 1.243 ms, 0% apart (limit 10%); the timed pass p50 1.242 ms, 0% from the settled p50 1.243 ms (limit 10% or 0.1 ms; 0.001 ms); default@8: warm-up 15.0 s and 30,502 searches (0 failed) at 8 searchers; QPS of the last windows 2,085, 2,092, 1,842 (windows of at least 2 s and 100 searches) (its last 3 windows differed by more than 5%); trial of 6,110 searches in 3.0 s at 8 searchers: 2,034 QPS against the settled 2,085 QPS, 2% apart (limit 10%), so the warm-up was EXTENDED once (30.0 s and 61,828 searches (0 failed) at 8 searchers; QPS of its older 6 windows 2,058 (windows 2,062, 2,048, 2,054, 2,056, 2,060, 2,070) and of its newer 6 2,055 (windows 2,068, 2,054, 2,052, 2,059, 2,036, 2,064), 0.1% apart (limit 5%) (windows of at least 2 s and 100 searches)); second trial of 6,209 searches in 3.0 s at 8 searchers: 2,068 QPS against the settled 2,055 QPS, 1% apart (limit 10%), outside its newer windows' range 2,036 to 2,068 QPS; settled after the extension; the timed pass 2,066 QPS, 1% from the settled 2,055 QPS (limit 10%).
- Pass default@1 after rehearsal: 2026-10-06T14:08:01.467Z to 2026-10-06T14:08:21.468Z (20.0 s), 13,821 searches, 0 failed, p50 1.414 ms, mean 1.445 ms, p99 1.946 ms, 691.0 QPS (1000/QPS 1.447 ms).
- Pass exact after default@1: 2026-10-06T14:08:40.485Z to 2026-10-06T14:09:40.485Z (60.0 s), 47,151 searches, 0 failed, p50 1.242 ms, mean 1.270 ms, p99 1.791 ms, 785.8 QPS (1000/QPS 1.273 ms).
- Pass default@8 after exact: 2026-10-06T14:10:51.547Z to 2026-10-06T14:11:11.550Z (20.0 s), 41,327 searches, 0 failed, p50 3.746 ms, mean 3.869 ms, p99 6.907 ms, 2066.0 QPS (1000/QPS 0.484 ms).
- Passes in the order run: default@1, exact, default@8; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 262,254 sent, 0 failed (warmupErrors). Index after the searches: ready, 524 of 524 indexed (index status READY, queryable True; mongot holds 524 of 524 documents in 4 segment(s) (269 + 251 + 2 + 2 documents), 4 searched through the HNSW graph (Approximate)).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: container address on its Docker network, not the published port (no docker-proxy): container gvb-mongodb (441920b747a8) on network gvb-mongodb_default at container-ip:27017, not through docker-proxy localhost:27017. Open after the passes: container-ip:27017 x10 (this target).
- CPU pinning: cpuset from the container's creation when run-all started it on the engine CPUs, else docker update --cpuset-cpus (each container's change line says which), CPUs 2-3,6-7. Changed: container gvb-mongodb: already on CPUs 2-3,6-7 (its cpuset since creation), not changed. Read back: container gvb-mongodb: 211 thread(s) on CPUs 2-3,6-7 (every thread of the container).
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): default@1 3492/3492 MHz, average 3492.2/3492.2, performance, outside load 0.26 before the warm-up, 0.29 during, client CPU 0.312 ms per search; exact 3492/3492 MHz, average 3492.2/3491.2, performance, outside load 0.27 before the warm-up after waiting 1 s, 0.31 during, BUSY BOX, client CPU 0.304 ms per search; default@8 3492/3492 MHz, average 3492.0/3492.1, performance, outside load 0.29 before the warm-up after waiting 5 s, 0.23 during, client CPU 0.288 ms per search.
- WARNING: busy box during exact: processes outside the benchmark used 0.31 CPUs on average during the pass, above the limit of 0.3.
Chroma chroma
- Engine: Chroma 1.4.4 (single node, REST API v2) (compose)
- Index: HNSW M=16 ef_construction=128, ef_search=100 (Chroma default), cosine; approximate only (no exact mode)
- Search settings: M=16, ef_construction=128, ef_search=100
- Load: 524 rows in batches of 1000, 0.8 s of upserts (668 rows/s); count matched 0.0 s after the last upsert; index step 0.0 s (Chroma has no index build to wait for and exposes no index status; checked in 0.0 s: Chroma exposes no index status (indexing_status endpoint: HTTP 500 {"error":"InternalError","message":"Method scout_logs is not implemented"}), so indexed vectors are not reported and ready only means the two counts agree to within 1 percent: count endpoint 524, a vector search asking for 524 results returned 524)
- Search: 9379 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 0.48 ms, 8 searchers 0.48 ms
- RAM: 79.52 MiB (docker stats); disk: 414.16 KiB added by this load (2.01 GiB (whole engine data folder), 2.01 GiB before)
- Started by run-all for this measurement with every container created on CPUs 2-3,6-7 (started chroma.compose.yaml with every container created on CPUs 2-3,6-7: gvb-chroma cpuset 2-3,6-7 (read back from docker inspect)); stopped afterwards.
- Engine files (SHA-256, first 12 hex digits): [chroma.compose.yaml f7ed9d3c8ff7]. This run created the engine from these files.
- Index after the load: ready, ? of 524 indexed (Chroma exposes no index status (indexing_status endpoint: HTTP 500 {"error":"InternalError","message":"Method scout_logs is not implemented"}), so indexed vectors are not reported and ready only means the two counts agree to within 1 percent: count endpoint 524, a vector search asking for 524 results returned 524). Durability: SQLite rollback journal with its default synchronous=FULL under the data directory (chroma.compose.yaml sets IS_PERSISTENT=1 and PERSIST_DIRECTORY=/data and no sync setting): every write is committed to chroma.sqlite3 with fsync of the journal, the directory and the database file before the call returns (strace: 15 database fsyncs and 38 journal fsyncs for one create, four 500-vector upserts and one delete), and the HNSW files are written every sync_threshold=1000 vectors and rebuilt from the SQLite log after a crash; measured with kill -9 and a restart: all 50, 300 and 2,000 vectors were still stored and searchable.
- Outside load when searching began: 0.17 CPUs on average over the last 1 s and 0.17 over the last few seconds (limit 0.3), a quiet box. The load average 2.97 3.49 3.29 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: default@8 23,289 searches in 30.0 s, default@1 14,060 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. default@8: warm-up 15.0 s and 11,651 searches (0 failed) at 8 searchers; QPS of the last windows 776, 778, 778 (windows of at least 2 s and 100 searches); trial of 2,339 searches in 3.0 s at 8 searchers: 778 QPS against the settled 778 QPS, 0% apart (limit 10%); the timed pass 777 QPS, 0% from the settled 778 QPS (limit 10%); default@1: warm-up 15.0 s and 7,034 searches (0 failed) at 1 searcher; p50 of the last windows 2.096, 2.104, 2.112 ms (windows of at least 2 s and 100 searches); trial of 1,411 searches in 3.0 s at 1 searcher: p50 2.101 ms against the settled p50 2.104 ms, 0% apart (limit 10%); the timed pass p50 2.105 ms, 0% from the settled p50 2.104 ms (limit 10% or 0.1 ms; 0.001 ms).
- Pass default@8 after rehearsal: 2026-10-06T14:13:38.370Z to 2026-10-06T14:13:58.378Z (20.0 s), 15,547 searches, 0 failed, p50 10.225 ms, mean 10.292 ms, p99 12.140 ms, 777.1 QPS (1000/QPS 1.287 ms).
- Pass default@1 after default@8: 2026-10-06T14:14:16.387Z to 2026-10-06T14:14:36.388Z (20.0 s), 9,379 searches, 0 failed, p50 2.105 ms, mean 2.131 ms, p99 2.653 ms, 468.9 QPS (1000/QPS 2.133 ms).
- Passes in the order run: default@8, default@1; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 59,784 sent, 0 failed (warmupErrors). Index after the searches: ready, ? of 524 indexed (Chroma exposes no index status (indexing_status endpoint: HTTP 500 {"error":"InternalError","message":"Method scout_logs is not implemented"}), so indexed vectors are not reported and ready only means the two counts agree to within 1 percent: count endpoint 524, a vector search asking for 524 results returned 524).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: container address on its Docker network, not the published port (no docker-proxy): container gvb-chroma (94961ec20450) on network gvb-chroma_default at container-ip:8000, not through docker-proxy localhost:8000. Open after the passes: container-ip:8000 x8 (this target).
- CPU pinning: cpuset from the container's creation when run-all started it on the engine CPUs, else docker update --cpuset-cpus (each container's change line says which), CPUs 2-3,6-7. Changed: container gvb-chroma: already on CPUs 2-3,6-7 (its cpuset since creation), not changed. Read back: container gvb-chroma: 9 thread(s) on CPUs 2-3,6-7 (every thread of the container).
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): default@8 3492/3492 MHz, average 3492.0/3492.2, performance, outside load 0.16 before the warm-up, 0.15 during, client CPU 0.480 ms per search; default@1 3492/3492 MHz, average 3492.0/3492.5, performance, outside load 0.16 before the warm-up, 0.16 during, client CPU 0.480 ms per search.
Typesense typesense
- Engine: Typesense 30.2 (vector search) (compose)
- Index: HNSW float32 (hnswlib), m=16, ef_construction=128, cosine; search k=top, ef=100; exact mode = filter ordinal:>=0 with flat_search_cutoff; index held in memory
- Search settings: ef=100, ef_construction=128, k=top, m=16
- Load: 524 rows in batches of 1000, 0.5 s of upserts (998 rows/s); count matched 0.0 s after the last upsert; index step 0.0 s (nothing to build, Typesense inserts into the HNSW graph while writing; ready after 0.0 s: HNSW graph returns 524 of 524 vectors, no writes queued: num_documents 524, pending_write_batches 0, health ok, unfiltered vector query with k above the count returned 524; the graph is built in memory during each write, so there is no later build step)
- Search: 4705 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 0.52 ms, 8 searchers 0.59 ms
- Exact mode: 10,477 searches, p50 5.66 ms, p95 6.07 ms, recall 1.000
- RAM: 114.6 MiB (docker stats); disk: 9.42 MiB added by this load (266.32 MiB (whole engine data folder), 256.9 MiB before)
- Started by run-all for this measurement with every container created on CPUs 2-3,6-7 (started typesense.compose.yaml with every container created on CPUs 2-3,6-7: gvb-typesense cpuset 2-3,6-7 (read back from docker inspect)); stopped afterwards.
- Engine files (SHA-256, first 12 hex digits): [typesense.compose.yaml 96a165f62566]. This run created the engine from these files.
- Index after the load: ready, 524 of 524 indexed (HNSW graph returns 524 of 524 vectors, no writes queued: num_documents 524, pending_write_batches 0, health ok, unfiltered vector query with k above the count returned 524; the graph is built in memory during each write, so there is no later build step). Durability: Every acknowledged write is appended to Typesense's raft log and fsynced before the answer: braft raft_sync=true with raft_sync_policy=0 (sync immediately), read from the running container's brpc /flags page on 2026-10-04. A restart replays the log from the last snapshot (typesense.compose.yaml sets TYPESENSE_SNAPSHOT_INTERVAL_SECONDS=300) and rebuilds the in-memory HNSW graph, so by those settings a crash loses no acknowledged write, but the restart is slow after a big load. This is read from the settings, not shown by pulling power. One node and no replicas, so a lost disk loses the data..
- Outside load when searching began: 0.28 CPUs on average over the last 5 s and 0.28 over the last few seconds (limit 0.3), a quiet box. The load average 3.02 3.17 3.19 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: default@8 17,268 searches in 30.0 s, default@1 7,062 searches in 30.0 s, exact 5,230 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. default@8: warm-up 15.0 s and 8,610 searches (0 failed) at 8 searchers; QPS of the last windows 573, 574, 574 (windows of at least 2 s and 100 searches); trial of 1,724 searches in 3.0 s at 8 searchers: 573 QPS against the settled 574 QPS, 0% apart (limit 10%); the timed pass 575 QPS, 0% from the settled 574 QPS (limit 10%); default@1: warm-up 15.0 s and 3,537 searches (0 failed) at 1 searcher; p50 of the last windows 4.176, 4.195, 4.177 ms (windows of at least 2 s and 100 searches); trial of 707 searches in 3.0 s at 1 searcher: p50 4.192 ms against the settled p50 4.177 ms, 0% apart (limit 10%); the timed pass p50 4.182 ms, 0% from the settled p50 4.177 ms (limit 10% or 0.1 ms; 0.005 ms); exact: warm-up 15.0 s and 2,613 searches (0 failed) at 1 searcher; p50 of the last windows 5.659, 5.644, 5.672 ms (windows of at least 2 s and 100 searches); trial of 525 searches in 3.0 s at 1 searcher: p50 5.653 ms against the settled p50 5.659 ms, 0% apart (limit 10%); the timed pass p50 5.660 ms, 0% from the settled p50 5.659 ms (limit 10% or 0.1 ms; 0.000 ms).
- Pass default@8 after rehearsal: 2026-10-06T14:16:37.737Z to 2026-10-06T14:16:57.743Z (20.0 s), 11,503 searches, 0 failed, p50 13.335 ms, mean 13.910 ms, p99 25.982 ms, 575.0 QPS (1000/QPS 1.739 ms).
- Pass default@1 after default@8: 2026-10-06T14:17:15.753Z to 2026-10-06T14:17:35.754Z (20.0 s), 4,705 searches, 0 failed, p50 4.182 ms, mean 4.249 ms, p99 5.537 ms, 235.2 QPS (1000/QPS 4.251 ms).
- Pass exact after default@1: 2026-10-06T14:17:53.768Z to 2026-10-06T14:18:53.772Z (60.0 s), 10,477 searches, 0 failed, p50 5.660 ms, mean 5.725 ms, p99 6.777 ms, 174.6 QPS (1000/QPS 5.727 ms).
- Passes in the order run: default@8, default@1, exact; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 47,276 sent, 0 failed (warmupErrors). Index after the searches: ready, 524 of 524 indexed (HNSW graph returns 524 of 524 vectors, no writes queued: num_documents 524, pending_write_batches 0, health ok, unfiltered vector query with k above the count returned 524; the graph is built in memory during each write, so there is no later build step).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: container address on its Docker network, not the published port (no docker-proxy): container gvb-typesense (77eb2dcbee94) on network engines_default at container-ip:8108, not through docker-proxy localhost:8108. Open after the passes: container-ip:8108 x1 (this target).
- CPU pinning: cpuset from the container's creation when run-all started it on the engine CPUs, else docker update --cpuset-cpus (each container's change line says which), CPUs 2-3,6-7. Changed: container gvb-typesense: already on CPUs 2-3,6-7 (its cpuset since creation), not changed. Read back: container gvb-typesense: 303 thread(s) on CPUs 2-3,6-7 (every thread of the container).
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): default@8 3492/3492 MHz, average 3492.0/3492.4, performance, outside load 0.21 before the warm-up, 0.04 during, client CPU 0.592 ms per search; default@1 3492/3492 MHz, average 3492.5/3492.9, performance, outside load 0.11 before the warm-up, 0.22 during, client CPU 0.519 ms per search; exact 3492/3492 MHz, average 3492.5/3492.8, performance, outside load 0.15 before the warm-up, 0.21 during, client CPU 0.541 ms per search.
SQL Server 2025 + DiskANN sql-diskann
- Engine: Microsoft SQL Server 2025 (RTM-CU9) (KB5122048) - 17.0.5005.3 (X64), Enterprise Developer Edition (64-bit), in container gvb-mssql (image mcr.microsoft.com/mssql/server:2025-CU9-ubuntu-24.04@sha256:2b5b581621126574f3d1f75e78d3eebe8d05aedb59ad0cfdf9aa42cb0634d726; cpuset 2-3,6-7 from its creation; SQL Server counts 4 CPU(s) and runs 4 visible scheduler(s), affinity AUTO) (compose)
- Index: DiskANN (preview) via VECTOR_SEARCH, cosine, build {"StartId":"306", "L":"48", "M":"8", "R":"48"}; the exact mode scans the same table
- Search settings: L=48, M=8, R=48, StartId=306
- Load: 524 rows in batches of 1000, 0.8 s of upserts (617 rows/s); count matched 0.0 s after the last upsert; index step 4.2 s (copied 524 rows to dbo.gvb_gvbbench_eshoponweb_ann (INT key) and built DiskANN, parameters {"StartId":"306", "L":"48", "M":"8", "R":"48"}, graph covers 524 rows)
- Search: 5430 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 1.02 ms, 8 searchers 1.09 ms
- Exact mode: 15,660 searches, p50 3.74 ms, p95 4.25 ms, recall 1.000
- RAM: 530.6 MiB (docker stats); disk: 4.52 MiB (table and its indexes, reserved pages)
- Started by run-all for this measurement with every container created on CPUs 2-3,6-7 (started mssql.compose.yaml with every container created on CPUs 2-3,6-7: gvb-mssql cpuset 2-3,6-7 (read back from docker inspect)); stopped afterwards.
- Engine files (SHA-256, first 12 hex digits): [mssql.compose.yaml b7359663cc15]. This run created the engine from these files.
- Index after the load: ready, 524 of 524 indexed (DiskANN index built and used. sys.vector_indexes: vix_gvb_gvbbench_eshoponweb on dbo.gvb_gvbbench_eshoponweb_ann in GvbBenchDiskAnn, DiskANN, COSINE, enabled, build {"StartId":"306", "L":"48", "M":"8", "R":"48"}; graph table rows 524 of 524 table rows. Real VECTOR_SEARCH plan: Vector Index Seek on index vix_gvb_gvbbench_eshoponweb of GvbBenchDiskAnn.gvb_gvbbench_eshoponweb_ann (IndexKind DiskANN), 10 rows returned, 10 hits. The exact mode searches the SAME table (dbo.gvb_gvbbench_eshoponweb_ann, database GvbBenchDiskAnn) and its real plan is: Clustered Index Scan of GvbBenchDiskAnn.gvb_gvbbench_eshoponweb_ann through PK_gvb_gvbbench_eshoponweb_ann (IndexKind Clustered), 524 rows read, no vector index operator, 10 hits). Durability: A commit returns after its transaction-log records are written to disk (SQL Server write-ahead logging; delayed durability is DISABLED); a database created here copies the model database: recovery model FULL, page_verify CHECKSUM; no global trace flags are enabled; mssql.conf of container gvb-mssql (/var/opt/mssql/mssql.conf, on the host at ~/gvb-data/engines/mssql/mssql.conf) does not exist, so it sets: nothing; it has no [control] or [traceflag] entry, so SQL Server's own Linux defaults for flushing writes apply (Microsoft's Linux performance guide names trace flag 3982 as that default; read from the guide, not tested here). Not tested by cutting power; whether the disk's own write cache reaches the media was not checked. Container settings from its environment (names only): MSSQL_AGENT_ENABLED, MSSQL_MEMORY_LIMIT_MB, MSSQL_PID, MSSQL_RPC_PORT, MSSQL_SA_PASSWORD..
- Outside load when searching began: 0.25 CPUs on average over the last 6 s and 0.24 over the last few seconds (limit 0.3), a quiet box. The load average 1.80 2.85 3.09 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: default@1 8,105 searches in 30.0 s, default@8 20,297 searches in 30.0 s, exact 7,826 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. default@1: warm-up 15.0 s and 4,091 searches (0 failed) at 1 searcher; p50 of the last windows 3.629, 3.617, 3.596 ms (windows of at least 2 s and 100 searches); trial of 824 searches in 3.0 s at 1 searcher: p50 3.605 ms against the settled p50 3.617 ms, 0% apart (limit 10%); the timed pass p50 3.596 ms, 1% from the settled p50 3.617 ms (limit 10% or 0.1 ms; 0.022 ms); default@8: warm-up 15.0 s and 9,534 searches (0 failed) at 8 searchers; QPS of the last windows 642, 637, 630 (windows of at least 2 s and 100 searches); trial of 2,044 searches in 3.0 s at 8 searchers: 679 QPS against the settled 637 QPS, 6% apart (limit 10%); the timed pass 691 QPS, 8% from the settled 637 QPS (limit 10%); exact: warm-up 15.0 s and 3,908 searches (0 failed) at 1 searcher; p50 of the last windows 3.756, 3.779, 3.784 ms (windows of at least 2 s and 100 searches); trial of 788 searches in 3.0 s at 1 searcher: p50 3.741 ms against the settled p50 3.779 ms, 1% apart (limit 10%); the timed pass p50 3.740 ms, 1% from the settled p50 3.779 ms (limit 10% or 0.1 ms; 0.039 ms).
- Pass default@1 after rehearsal: 2026-10-06T14:20:57.685Z to 2026-10-06T14:21:17.688Z (20.0 s), 5,430 searches, 0 failed, p50 3.596 ms, mean 3.681 ms, p99 4.677 ms, 271.5 QPS (1000/QPS 3.684 ms).
- Pass default@8 after default@1: 2026-10-06T14:21:35.716Z to 2026-10-06T14:21:55.725Z (20.0 s), 13,820 searches, 0 failed, p50 13.547 ms, mean 11.577 ms, p99 20.702 ms, 690.7 QPS (1000/QPS 1.448 ms).
- Pass exact after default@8: 2026-10-06T14:22:13.735Z to 2026-10-06T14:23:13.735Z (60.0 s), 15,660 searches, 0 failed, p50 3.740 ms, mean 3.828 ms, p99 4.950 ms, 261.0 QPS (1000/QPS 3.831 ms).
- Passes in the order run: default@1, default@8, exact; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 57,417 sent, 0 failed (warmupErrors). Index after the searches: ready, 524 of 524 indexed (DiskANN index built and used. sys.vector_indexes: vix_gvb_gvbbench_eshoponweb on dbo.gvb_gvbbench_eshoponweb_ann in GvbBenchDiskAnn, DiskANN, COSINE, enabled, build {"StartId":"306", "L":"48", "M":"8", "R":"48"}; graph table rows 524 of 524 table rows. Real VECTOR_SEARCH plan: Vector Index Seek on index vix_gvb_gvbbench_eshoponweb of GvbBenchDiskAnn.gvb_gvbbench_eshoponweb_ann (IndexKind DiskANN), 10 rows returned, 10 hits. The exact mode searches the SAME table (dbo.gvb_gvbbench_eshoponweb_ann, database GvbBenchDiskAnn) and its real plan is: Clustered Index Scan of GvbBenchDiskAnn.gvb_gvbbench_eshoponweb_ann through PK_gvb_gvbbench_eshoponweb_ann (IndexKind Clustered), 524 rows read, no vector index operator, 10 hits).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: container address on its Docker network, not the published port (no docker-proxy): container gvb-mssql (39d172c6c285) on network gvb-mssql_default at container-ip:1433, not through docker-proxy localhost:14330. Open after the passes: container-ip:1433 x9 (this target).
- CPU pinning: cpuset from the container's creation when run-all started it on the engine CPUs, else docker update --cpuset-cpus (each container's change line says which), CPUs 2-3,6-7. Changed: container gvb-mssql: already on CPUs 2-3,6-7 (its cpuset since creation), not changed. Read back: container gvb-mssql: 85 thread(s) on CPUs 2-3,6-7 (every thread of the container).
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): default@1 3492/3492 MHz, average 3492.4/3492.5, performance, outside load 0.21 before the warm-up, 0.21 during, client CPU 1.023 ms per search; default@8 3492/3492 MHz, average 3492.0/3492.3, performance, outside load 0.21 before the warm-up, 0.18 during, client CPU 1.095 ms per search; exact 3492/3492 MHz, average 3492.3/3492.4, performance, outside load 0.22 before the warm-up, 0.21 during, client CPU 1.161 ms per search.
DuckDB duckdb
- Engine: DuckDB 1.5.6 + vss b833341 (HNSW, embedded, in process) (embedded)
- Index: HNSW (vss extension) FLOAT[n] metric=cosine m=16 ef_construction=128, ef_search=100 per connection, persistent (hnsw_enable_experimental_persistence=true, checkpoint_threshold=256MB); exact mode = array_cosine_similarity sequential scan; score = 1 - cosine distance; searches run concurrently, one connection per searcher (opened as searchers arrive, at most 32), writes run one at a time and never overlap a search
- Search settings: checkpoint_threshold=256MB, ef_construction=128, ef_search=100, hnsw_enable_experimental_persistence=true, m=16, metric=cosine
- Load: 524 rows in batches of 1000, 0.3 s of upserts (1,527 rows/s); count matched 0.0 s after the last upsert; index step 0.0 s (HNSW is maintained inside every transaction, nothing to build; confirmed in 0.01 s: duckdb_indexes() lists gvb_gvbbench_eshoponweb_hnsw, pragma_hnsw_index_info() counts 524 vectors of 524 rows, EXPLAIN of the default search shows HNSW_INDEX_SCAN on it = True)
- Search: 5393 latency samples, target held 524 rows, 0 errors
- Client CPU per search: 1 searcher 5.02 ms, 8 searchers 6.91 ms
- Exact mode: 13,956 searches, p50 4.21 ms, p95 5.00 ms, recall 1.000
- RAM: in this process, not measured; disk: 2.9 MiB added by this load (1.13 GiB (engine data folder), 1.13 GiB before)
- Index after the load: ready, 524 of 524 indexed (duckdb_indexes() lists gvb_gvbbench_eshoponweb_hnsw, pragma_hnsw_index_info() counts 524 vectors of 524 rows, EXPLAIN of the default search shows HNSW_INDEX_SCAN on it = True). Durability: DuckDB's write-ahead log is fsynced at every commit and no DuckDbSink setting changes that (checkpoint_threshold=256MB only spaces out the checkpoints that write the database file; measured with strace: 42 WAL fsyncs for 40 single-record commits plus 2 setup statements), so an operating-system crash or power cut loses no committed row; measured with kill -9 right after the last commit and a reopen: all 50, 300 and 2,000 rows and an HNSW index that counted the same number were recovered from the log; not tested and documented by DuckDB: the HNSW index is file-backed only through hnsw_enable_experimental_persistence = true, which this sink turns on, and WAL recovery for such custom indexes is not complete, so a crash during a checkpoint or a later commit can damage the index while the rows survive.
- Outside load when searching began: 0.12 CPUs on average over the last 1 s and 0.12 over the last few seconds (limit 0.3), a quiet box. The load average 1.80 2.58 2.95 (1/5/15 min; it also counts this benchmark's own client and engines, so it is recorded, not judged).
- Rehearsal before any timed pass, untimed, every pass type at its own concurrency for at least 30 s through the same code the timed passes use: default@8 17,526 searches in 30.0 s, exact 7,014 searches in 30.0 s, default@1 8,094 searches in 30.0 s.
- Settle: settled before every timed pass, each by its own warm-up at its own concurrency and a trial of the same pass within 10% of the warm-up's settled figure, and the timed pass itself within 10% of it. default@8: warm-up 15.0 s and 8,656 searches (0 failed) at 8 searchers; QPS of the last windows 574, 579, 576 (windows of at least 2 s and 100 searches); trial of 1,744 searches in 3.0 s at 8 searchers: 580 QPS against the settled 576 QPS, 1% apart (limit 10%); the timed pass 576 QPS, 0% from the settled 576 QPS (limit 10%); exact: warm-up 15.0 s and 3,517 searches (0 failed) at 1 searcher; p50 of the last windows 4.177, 4.166, 4.143 ms (windows of at least 2 s and 100 searches); trial of 698 searches in 3.0 s at 1 searcher: p50 4.206 ms against the settled p50 4.166 ms, 1% apart (limit 10%); the timed pass p50 4.214 ms, 1% from the settled p50 4.166 ms (limit 10% or 0.1 ms; 0.048 ms); default@1: warm-up 15.0 s and 4,048 searches (0 failed) at 1 searcher; p50 of the last windows 3.676, 3.651, 3.667 ms (windows of at least 2 s and 100 searches); trial of 806 searches in 3.0 s at 1 searcher: p50 3.670 ms against the settled p50 3.667 ms, 0% apart (limit 10%); the timed pass p50 3.667 ms, 0% from the settled p50 3.667 ms (limit 10% or 0.1 ms; 0.000 ms).
- Pass default@8 after rehearsal: 2026-10-06T14:25:04.124Z to 2026-10-06T14:25:24.130Z (20.0 s), 11,525 searches, 0 failed, p50 13.208 ms, mean 13.878 ms, p99 28.468 ms, 576.1 QPS (1000/QPS 1.736 ms).
- Pass exact after default@8: 2026-10-06T14:25:42.144Z to 2026-10-06T14:26:42.148Z (60.0 s), 13,956 searches, 0 failed, p50 4.214 ms, mean 4.296 ms, p99 5.894 ms, 232.6 QPS (1000/QPS 4.300 ms).
- Pass default@1 after exact: 2026-10-06T14:27:00.165Z to 2026-10-06T14:27:20.167Z (20.0 s), 5,393 searches, 0 failed, p50 3.667 ms, mean 3.706 ms, p99 5.263 ms, 269.6 QPS (1000/QPS 3.709 ms).
- Passes in the order run: default@8, exact, default@1; each after its own warm-up. Untimed searches (rehearsals, per-pass warm-ups, settle checks and extensions): 52,103 sent, 0 failed (warmupErrors). Index after the searches: ready, 524 of 524 indexed (duckdb_indexes() lists gvb_gvbbench_eshoponweb_hnsw, pragma_hnsw_index_info() counts 524 vectors of 524 rows, EXPLAIN of the default search shows HNSW_INDEX_SCAN on it = True).
- Benchmark copy gvbbench_eshoponweb dropped afterwards.
- Connection: in this process (embedded), no network: no network address. No open connection seen (no open TCP connection was found).
- CPU pinning: none: an embedded engine runs inside the benchmark client process, so it shares the client CPUs, CPUs 0-1,4-5.
- Clock per pass (median MHz of engine CPUs / client CPUs, their average MHz, governor, CPUs busy outside the benchmark, client CPU per search; the clock was pinned at 3500 MHz (turbo off), and a pass whose average on either group is more than 1% off it is flagged): default@8 3492/3492 MHz, average 3492.3/3492.0, performance, outside load 0.21 before the warm-up, 0.21 during, client CPU 6.910 ms per search; exact 3492/3492 MHz, average 3492.8/3492.1, performance, outside load 0.20 before the warm-up, 0.22 during, client CPU 6.269 ms per search; default@1 3492/3492 MHz, average 3492.9/3492.1, performance, outside load 0.22 before the warm-up, 0.18 during, client CPU 5.023 ms per search.
Notes
- Order: targets ran one at a time in a random order from seed 701 (runSeed; --seed 701 repeats it, targetOrder lists it). Inside each target the timed passes also ran in a random order from the same seed and the target's name (passOrder): default@1 is one searcher for 20 s (every search's latency gives p50/p95/p99, the completed searches give QPS@1, its first answer to each query gives recall and nDCG), default@N is N searchers for 20 s (QPS@N), exact is the engine's exact mode, one searcher for 60 s cycling the queries.
- Preparation, untimed, before any timed pass: a rehearsal of every pass type at its own concurrency for 30 s each, through the same code the passes use.
- Warm-up and settle check, untimed, right before every timed pass: the pass's own search at the pass's own number of searchers for at least 15 s and at least 20 searches (at most 120 s), read in windows of at least 2 s and 100 searches; then a 3 s trial of the same pass. The trial's figure (p50 with one searcher, QPS with several) must lie within 10% of the warm-up's settled figure (the median of its last 3 windows, which must agree within 5%); if not, the warm-up is extended once (at least 30 s, until its windows agree, at most 120 s), where an extension's windows agree when its level test passes: the older and the newer half of its latest windows, 5 to 10 windows a half, each half read as the pass reads it (the p50 of all its searches with one searcher, its searches per second with several), agree within 5%, judged on the windows that stopped it (an extension whose cap runs out with fewer than 10 windows is judged by its last 3 instead); then a second trial is taken, which must lie inside the range of the newer half's windows or within 10% of the newer half's figure, and the warm-up runs again before the pass. After the pass its own figure is held against the settled figure, within 10%. In the level test, the second trial and the hold, two one-searcher p50s no more than 0.1 ms apart agree whatever their percentage (below what this box resolves at one searcher). Each target's notes give every check, and a pass that still disagrees, or whose own figure did not hold, flags its target as unsettled. With machine control on, the check for a quiet box is made when the warm-up is announced, before it starts (a wait between the warm-up and the timed pass let the engine go cold), so by the time the clock opens that check is as old as the warm-up and the trial (about 18 s, more after an extension); each pass's conditions record that lead (quietCheckLeadSeconds). Failed untimed searches are counted per target (warmupErrors) and are not in the timed error counts.
- Load rows/s counts only time inside each target's upsert calls: one writer, batches of 1000, rows already in memory, the collection dropped and created fresh first. Engines that build or finish their index after the writes do it in a separate timed index step (the load's index seconds), and the run waits for it before searching.
- Index proof: each engine's own report of its index (indexState) is read after the load and again after the last pass. A target whose index was not ready after the load was still measured and carries a WARNING; an engine that reports nothing counts as not ready.
- Search settings: each searched target records the settings its own index description states (searchSettings: the build parameters and the effort per query, such as m, ef_construction and ef_search), read after the load; consolidating never averages runs whose settings differ.
- Durability: each target's crash-safety setting as configured here (durability). Engines that do not force writes to disk on every commit load faster for that reason.
- Latency is client-side wall time around each search (network and driver included), every search of the default@1 window, one searcher, the queries cycled; a window with fewer than 200 searches, a p50 above 1.25 x its mean, or a mean above its p99 is flagged.
- QPS: N searchers back to back for 20 s per level; completed searches divided by the window's elapsed time.
- Recall@10: share of the exact top 10 (brute force in memory) that the engine returned. A hit whose exact similarity ties the 10th best (within 1e-5) also counts, because duplicate rows embed to identical vectors.
- Routes: a container engine (the benchmark's own SQL Server and Qdrant containers included) is reached at its container's own address on its Docker network, never through the published localhost port (docker-proxy); the native comparison targets (sql-native, qdrant-native) are native services reached directly over loopback. Each target's addresses and the connections the client held open after its passes are in its notes and in conditions.connections.
- RAM of compose engines, the benchmark's own SQL Server and Qdrant containers (sql, sql-diskann, qdrant, qdrant-hnsw) included, is docker stats of the engine's containers; for the native comparison targets (sql-native, qdrant-native) it is the whole native process, including every other database or collection it serves. Disk is the table's reserved pages (SQL), the collection folder (Qdrant), or for other engines what the load added to the engine's data folder (engines that keep data in memory until a snapshot show almost nothing).
- Engines: run-all starts an engine that is down and stops it afterwards only if it was not running when the run began; an engine that was already running is left running.
- WARNING: the engine did not report a ready index after the load for: elasticsearch. They were measured anyway; their numbers may come from a scan or a half-built index (see each target's index state).
- Machine control on: governor performance on every CPU during the run (before: schedutil; at the end: performance; after putting it back: schedutil). CPU clock pinned for the run: turbo off (intel_pstate/no_turbo 0 -> 1), so every CPU's clock is held at its ceiling of 3500 MHz whatever the engine runs [Correction 5]; the uncore (L3 and memory) clock is held at 3000 MHz (min 3000 MHz, max 3000 MHz (MSR 0x620 = 0x1e1e); was min 1200 MHz, max 3000 MHz (MSR 0x620 = 0xc1e)) (before: turbo on (intel_pstate/no_turbo 0), ceiling 3600 MHz on CPUs 0-7, floor 1200 MHz on CPUs 0-7; while pinned: turbo off (intel_pstate/no_turbo 1), ceiling 3500 MHz on CPUs 0-7, floor 1200 MHz on CPUs 0-7; at the end: turbo off (intel_pstate/no_turbo 1), ceiling 3500 MHz on CPUs 0-7, floor 1200 MHz on CPUs 0-7; after putting it back: turbo on (intel_pstate/no_turbo 0), ceiling 3600 MHz on CPUs 0-7, floor 1200 MHz on CPUs 0-7). Uncore limit at the end: min 3000 MHz, max 3000 MHz (MSR 0x620 = 0x1e1e); after putting it back: min 1200 MHz, max 3000 MHz (MSR 0x620 = 0xc1e). Each target's clock note gives every pass's average MHz on the engine CPUs and on the client CPUs; a pass whose average on either is more than 1% off the pinned 3500 MHz is flagged. Figures from runs made with turbo on are not comparable with these in absolute terms. engine CPUs 2-3,6-7 (cores 2,6 and 3,7), client CPUs 0-1,4-5 (cores 0,4 and 1,5); the client process was pinned; each engine was pinned to the engine CPUs for its turn and put back after (conditions.engines); an engine run-all started (and stopped) was asked to be created on them, and its notes say whether the host did so or it was moved there after the start. Busy box: right before each pass's warm-up the run waits, up to 10 min, while processes outside the benchmark (everything but this client and the engine under test's cgroups) use more than 0.3 CPUs on average over the last 60 s or the last 5 s, neither window reaching back past the start of the target or of its engine (so the engine's own start-up is not outside work); if the box does not clear the pass runs anyway, flagged 'busy box', as is a pass whose own outside load is above the limit. Outside load counts busy = user + nice + system + irq + softirq + steal (guest time is already in user); CONFIG_IRQ_TIME_ACCOUNTING is not set, so task and cgroup run time include the interrupt and softirq time that hit them and it is added; CONFIG_PARAVIRT_TIME_ACCOUNTING is not set, so steal is added (/boot/config-6.8.0-142-generic) (conditions.cpuAccounting); each pass also records this client's own CPU time per search (conditions.passes[].clientCpuMsPerSearch). CPU clocks were sampled every 250 ms; each pass's min/median/max per CPU is in conditions.passes. CPU idle states, recorded and left as found: driver intel_idle, governor menu, intel_idle max_cstate 9; POLL on, C1 on, C1E on, C3 OFF on CPUs 0-7 (default disabled), C6 on (conditions.cpuIdle). How each target was reached: conditions.connections. Client build Release, .NET 10.0.12.
- sqlitevec is embedded: it ran inside the client process on the client CPUs 0-1,4-5, sharing them with the client.
- duckdb is embedded: it ran inside the client process on the client CPUs 0-1,4-5, sharing them with the client.
- WARNING: busy box during mongodb exact: processes outside the benchmark used 0.31 CPUs on average during the pass, above the limit of 0.3.
- WARNING: clock off its pinned value during oracle default@8: the engine CPUs averaged 3121 MHz, -10.8% against the pinned 3500 MHz; the client CPUs averaged 3141 MHz, -10.3% against the pinned 3500 MHz (limit 1%); this pass is not comparable with passes at the pinned clock.
Raw files
results.md is kept unedited. It still holds the sentences this page leaves out of its copy. Count: 2
The raw files below hold the recorded statements that the corrections above refer to, as written.