arXiv:2610.26960cs.DBOct 2026

Manuscript Offprint

arXiv:2610.26960

VS-Flash: Harnessing Vector Search with Computational Memory-Semantic Flash

Donguk Kim, Sangjun Pae, Daeyoung Lee, Dong Kim

Abstract

As generative AI continues to evolve, retrieval-augmented generation (RAG) systems are driving rapid growth in vector database capacity requirements. As datasets outgrow host DRAM, vector databases rely on MMap-based serving over SSDs to extend capacity. However, high-fan-out ANN searches generate concurrent irregular accesses that contend for host memory and storage resources, degrading bulk throughput and inflating tail latency under mixed workloads.

In this paper, we address these challenges through memory-semantic capacity and workload-aware compute placement. VS-Flash exposes flash as a large-capacity memory-semantic space and dynamically selects the execution engine according to runtime query and workload characteristics. It offloads throughput-oriented large-batch queries to a Computational Memory-Semantic Flash (CMS-Flash) device, while executing latency-sensitive small-batch queries on the host CPU. Both paths access the same resident segments, avoiding a separate host-DRAM replica.

Across three billion-scale datasets, VS-Flash improves bulk-search throughput over vanilla Milvus by 36.8×36.8\times on average, with up to a 57.4×57.4\times improvement. Under mixed workloads, VS-Flash reduces the p99 latency of latency-sensitive requests by up to 24.8×24.8\times while sustaining device-side bulk search. These results show that VS-Flash delivers scalable vector search beyond host DRAM capacity while jointly improving bulk throughput and small-request tail latency.

1 Introduction

Vector similarity search is a core operation in retrieval-augmented generation (RAG), recommendation, and semantic retrieval [20,23]. Vector database management systems such as Milvus [31] commonly serve approximate nearest-neighbor (ANN) indexes through the host memory hierarchy [9,24,31]. When a vector-search dataset exceeds the DRAM capacity available to a query node, Milvus's MMap-enabled Data Storage feature retrieves index pages and vectors on demand. The resulting fine-grained accesses during irregular ANN traversal contend for limited DRAM capacity and repeatedly invoke host-OS page placement and page-fault handling.

VS-Flash replaces demand paging with a segment-centric, data-centric execution model in which segment residency governs both data movement and computation placement. It explicitly stages whole active segments from flash in device DRAM, then executes large-batch searches on device-side many-core resources beside the resident data. The same segments remain directly accessible to the host CPU, allowing latency-sensitive small batches to execute without a separate host-DRAM replica. This organization couples computation offload with shared segment access, rather than treating data placement and execution as independent decisions.

In summary, we make the following contributions:

• We identify asymmetric interference in Milvus MMap serving: throughput-oriented large batches intensify host-side memory contention and degrade the latency of small batches under mixed workloads.

• We design VS-Flash, which preloads whole segments into device DRAM, executes bulk search on a CMS-Flash device, and routes latency-sensitive requests to the host CPU without a host-DRAM replica.

• We implement VS-Flash in Milvus with a device-side ANN runtime and evaluate bulk-search throughput and mixed-workload tail latency.

References (32)