When More Cores Hurts: The Vector Database Scaling Paradox in HPC

Seth Ockerman, Song Young Oh, Amal Gueroudji, Rochana Chaturvedi, Philip Carns, Nicholas Chia, Matthieu Dorier, Robert Latham, Tanwi Mallick, Swan Perarnau, Robert Underwood, Kyle Chard, Ian Foster, Robert Ross, Shivaram VenkataramanarXiv 2026

TL;DR

Vector databases (VDBs) are highly optimized for cloud environments, but they run into a massive "scaling paradox" when deployed on High-Performance Computing (HPC) supercomputers. This paper reveals that adding more CPU cores can actually degrade query throughput by up to 30.67%, and scaling from 16 to 256 distributed workers yields a meager 5.46× improvement. The findings expose a fundamental architectural mismatch between cloud-native database designs and the realities of supercomputing hardware.

What Problem Does This Paper Address?

From molecular search to climate trajectory tracking, emerging scientific AI workflows increasingly rely on vector embeddings to navigate massive datasets. To query this data efficiently, researchers need vector databases. However, popular VDBs (like Qdrant, Milvus, and Weaviate) were built from the ground up for cloud infrastructure.

HPC systems are fundamentally different: they feature massive many-core CPUs, deep parallel storage hierarchies (like Lustre and DAOS), and ultra-high-bandwidth interconnects. This paper addresses a critical gap: How do cloud-native vector databases actually behave when pushed to supercomputing scale, and do their designs align with the needs of large-scale scientific workloads?

Methods

To evaluate these systems without cloud orchestration tools like Docker or Kubernetes (which are typically banned or unsupported on supercomputers), the authors built VECHINI, an HPC-native benchmarking framework. VECHINI uses containerization via Apptainer and parallel execution via MPI to deploy VDBs within secure HPC environments.

Using VECHINI, the authors conducted an end-to-end evaluation of Qdrant, Milvus, and Weaviate on two production supercomputers: Polaris and Aurora. They analyzed the entire VDB lifecycle—ingestion, index construction (including GPU acceleration), and querying—under two primary workload patterns: insert-then-query (bulk loading) and mixed insert-query (dynamic agentic workflows).

Fig. 1: Life cycle of a vector database.

Datasets

The study evaluated performance across four datasets of varying scales and dimensionalities:

  • GIST: 1 million image embeddings (960 dimensions).
  • dbpedia-openai-1M: 1 million text embeddings (1560 dimensions).
  • Yandex-text-to-image (Yandex-T2I): 1 billion multimodal embeddings (200 dimensions, 745 GB).
  • Pes2o-VE: A novel, real-world scientific dataset introduced by the authors. Derived from an academic biology corpus, it contains ~88 million 2560-dimensional embeddings (843.56 GB), making it one of the largest publicly available embedding datasets.

Key Insights and Ideas

  • The Scaling Paradox: More cores can mean less performance. Beyond 32 virtual cores, query throughput plateaus or drops. This is primarily due to memory bandwidth saturation; as more cores contend for shared in-memory data structures during graph traversal, memory stall cycles skyrocket from 65% to 85%.
  • The Broadcast-Gather Bottleneck: Distributed VDBs rely on a model where a coordinator node broadcasts queries to all workers and aggregates the results. At supercomputer scale, the single aggregating worker becomes a severe bottleneck, leaving non-merging compute nodes sitting idle at less than 1% CPU utilization.
  • Hidden Segmentation Trade-offs: Modern VDBs implicitly trade accuracy for speed by splitting data shards into multiple independent segments, each with its own index. More segments yield higher recall but drastically increase the computational cost per query.
  • Storage Layer Friction: Cloud-native VDBs enforce fine-grained, per-insert consistency and rely heavily on Write-Ahead Logs (WAL). This design creates severe backpressure on parallel filesystems like Lustre, preventing the databases from fully utilizing the massive network bandwidth available in HPC setups.
Fig. 2: Pes2o-VE: Testing the impact of different storage mediums on insertion rate on Polaris and Aurora.

Key Results

  • Diminishing Distributed Returns: Scaling a distributed query workload from 16 to 256 workers (a 16× increase in hardware resources) only yielded a 5.46× improvement in throughput.
  • Negative Core Scaling: In single-node testing on Aurora, adding CPU cores past the optimal threshold caused a 30.67% drop in query throughput for certain configurations due to memory contention.
  • HPC Hardware Wins on Indexing: Supercomputers excel at index building. Thanks to high core counts and memory bandwidth, index construction times dropped by an average of 6.83× compared to cloud baselines. GPU-accelerated indexing (tested via Milvus's CAGRA on Polaris) provided up to a 10.04× speedup for high-dimensional datasets like Pes2o-VE.
  • Severe Write Amplification: Storage overhead is a major issue at scale. Milvus exhibited a 2.8× write amplification when writing to Lustre, expanding a 95 GB dataset into 266 GB of physical storage overhead.
Fig. 5: Pes2o-VE-10M and Yandex-T2I=10M index core test- ing on Aurora. The white line in the bars indicates when Milvus finishes constructing an initial index. Weaviate is omitted because its index-building process is sequential.

Limitations and Future Work

A major limitation highlighted by the study was system instability at extreme scales. The authors were unable to successfully load the full Pes2o-VE dataset into Milvus for query evaluation due to persistent runtime failures and WAL creation timeouts on the Lustre filesystem. Additionally, Weaviate currently lacks GPU acceleration entirely, limiting its optimization potential on modern heterogeneous supercomputers.

The authors conclude that the HPC community cannot simply copy-paste cloud-native vector databases onto supercomputers. Future research must focus on designing HPC-aware VDBs that feature relaxed consistency models during bulk ingestion, multi-path ingestion APIs to bypass WAL bottlenecks, and entirely new distributed query threading models that eliminate the centralized broadcast-gather bottleneck.

Summary updated

Abstract

Vector databases have been designed and optimized for cloud environments; however, emerging scientific AI workloads (e.g., molecular search, meteorological trajectory detection, and literature-driven hypothesis generation) demand efficient, scalable execution on HPC systems. We present a large-scale evaluation of three state-of-the-art vector databases -- Qdrant, Milvus, and Weaviate -- on two production supercomputers, scaling to 256 distributed workers across 64 compute nodes. We evaluate representative workload patterns -- mixed read/write and write-then-read -- using popular benchmarks, multimodal embeddings, and a novel real-world scientific dataset. Our results reveal that workload characteristics can limit latency reduction, additional cores can reduce query throughput by up to 30.67%, and scaling from 16 to 256 workers (16x) only yields a 5.46x improvement. This scaling paradox exposes the fundamental mismatch between cloud-oriented designs and HPC systems, highlighting the need for new, HPC-aware vector database designs.
BibTeX
@misc{ockerman2026when,
  author = {Seth Ockerman and Song Young Oh and Amal Gueroudji and Rochana Chaturvedi and Philip Carns and Nicholas Chia and Matthieu Dorier and Robert Latham and Tanwi Mallick and Swan Perarnau and Robert Underwood and Kyle Chard and Ian Foster and Robert Ross and Shivaram Venkataraman},
  title = {{When More Cores Hurts: The Vector Database Scaling Paradox in HPC}},
  year = {2026},
  eprint = {2606.08950},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.08950},
}

Loading related content...

Figure