当更多核心有害:HPC中的向量数据库扩展悖论
When More Cores Hurts: The Vector Database Scaling Paradox in HPC
AI总结:
本文评估了三种向量数据库在HPC系统上的扩展性能,发现工作负载特性限制延迟降低,增加核心可降低查询吞吐量达30.67%,扩展16倍仅提升5.46倍,揭示了云导向设计与HPC系统的不匹配。
摘要:
向量数据库是为云环境设计和优化的;然而,新兴的科学AI工作负载(例如分子搜索、气象轨迹检测和文献驱动的假设生成)需要在HPC系统上高效、可扩展地执行。我们在两台生产级超级计算机上对三种最先进的向量数据库——Qdrant、Milvus和Weaviate——进行了大规模评估,扩展到64个计算节点上的256个分布式工作节点。我们使用流行的基准测试、多模态嵌入和一个新颖的真实世界科学数据集,评估了代表性的工作负载模式——混合读写和先写后读。我们的结果表明,工作负载特性可能限制延迟降低,额外的核心可能将查询吞吐量降低高达30.67%,从16个工作节点扩展到256个(16倍)仅带来5.46倍的改进。这种扩展悖论揭示了云导向设计与HPC系统之间的根本不匹配,凸显了对新的、HPC感知的向量数据库设计的需求。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。