Storage access optimization for efficient GPU-centric information retrieval

Susav Shrestha, A. K. Gautam, Narasimha ReddyJournal of Supercomputing 2025

Abstract The rapid growth of AI/ML workloads has outpaced the capabilities of CPU-centric architectures to deliver the required data throughput and compute efficiency. This paper introduces a GPU-centric architecture leveraging GPUDirect Storage (GDS) to transfer data directly from SSDs to GPU memory, bypassing CPU bottlenecks and enabling high-throughput data paths. We propose Embedding from Storage Pipelined Network (ESPN) and its extension, ESPN-LIVE, which employ optimizations like data prefetching and on-demand embedding generation to align storage latency with GPU throughput. Experiments show ESPN reduces query latency by up to 3.9×, cuts memory usage by up to 16×, and improves throughput by up to 68%. ESPN-LIVE eliminates the need to store multi-vector embeddings by dynamically computing document representations, reducing storage costs by up to 16×, and making it particularly effective for single-query systems. These results highlight the potential of SSD-GPU integration for scalable, high-performance AI/ML workloads in information retrieval and LLM applications.

Introduction

Modern Information Retrieval (IR) and Large Language Model (LLM) workloads are hitting a "memory wall." State-of-the-art models like ColBERT use multi-vector embeddings, which represent documents with high precision but require massive amounts of storage—often hundreds of gigabytes for standard datasets. In traditional CPU-centric architectures, data must travel from the SSD to the CPU’s main memory (DRAM) before finally reaching the GPU for computation. This path creates two major issues: the CPU becomes a bottleneck for data management, and the limited GPU VRAM cannot accommodate the massive embedding tables required for large-scale retrieval.

Methods and Architecture

To overcome these limitations, we propose a GPU-centric approach using NVIDIA GPUDirect Storage (GDS). This architecture allows the GPU to pull data directly from NVMe SSDs, bypassing the CPU and system DRAM.

GPU-Centric Memory Hierarchy

We developed three specific strategies to optimize this data path:

  • ESPN (Embedding from Storage Pipelined Network): A pipelined network that utilizes a software prefetcher. While the CPU performs an Approximate Nearest Neighbor (ANN) search to identify document clusters, the prefetcher identifies likely candidates and begins streaming their embeddings from the SSD to the GPU. This effectively hides storage latency behind the search computation.
  • ESPN-Lite: A bandwidth-saving optimization that focuses on re-ranking only the top 64–128 documents rather than the standard 1000+. This reduces data transfer requirements by 8–16× with minimal impact on accuracy (approximately 0.5%).
  • ESPN-LIVE: This method stores pre-tokenized text instead of pre-computed embeddings. During the CPU's ANN search phase, the GPU performs real-time BERT inference to generate embeddings on-the-fly, trading compute power for a 16× reduction in storage requirements.

Key Results

The proposed system was evaluated using the MS-MARCO v1 and v2 datasets. Our results demonstrate that bypassing the OS-level page faults and buffer copies associated with standard memory mapping (mmap) leads to significant performance gains.

Throughput comparison: GPUD vs CPUONLY
  • Latency and Throughput: ESPN achieved a 3.1× to 3.9× reduction in query latency compared to traditional mmap methods. By overlapping I/O and computation, end-to-end query throughput improved by 68% over naive GDS implementations.
  • Memory and Storage Efficiency: The system reduced the memory footprint by 5× to 16×. Furthermore, ESPN-LIVE eliminated the need for multi-vector embedding tables entirely, reducing storage costs by 16× by storing tokens instead of dense vectors.

Conclusion

ESPN and ESPN-LIVE demonstrate that integrating SSDs directly into the GPU compute path can resolve the memory scaling challenges of modern IR models. While PCIe bandwidth remains a physical constraint, the use of predictive prefetching and on-the-fly computation allows for significantly more efficient hardware utilization. Future work will explore the use of RAID 0 configurations to further saturate PCIe links and the integration of Compute Express Link (CXL) for unified memory pools.

Summary updated

BibTeX
@article{shrestha2025storage,
  author = {Susav Shrestha and A. K. Gautam and Narasimha Reddy},
  title = {{Storage access optimization for efficient GPU-centric information retrieval}},
  journal = {The Journal of Supercomputing},
  year = {2025},
  doi = {10.1007/s11227-025-07118-9},
}
Figure