Seedlabs
Source research

RAGPerf: An End-to-End Benchmarking Framework for Retrieval-Augmented Generation Systems

Shaobo Li, Yirui Zhou, Yuan Xu, Kevin Chen, Daniel Waddington, Swaminathan Sundararaman et al. · 2026 · 6 citationsRead the paper

We present the design and implementation of a RAG-based AI system benchmarking (RAGPerf) framework for characterizing the system behaviors of RAG pipelines. To facilitate detailed profiling and fine-grained performance analysis, RAGPerf decouples the RAG workflow into several modular components — embedding, indexing, retrieval, reranking, and generation. RAGPerf offers the flexibility for users to configure the core parameters of each component and examine their impact on the end-to-end query performance and quality. RAGPerf has a workload generator to model real-world scenarios by supporting diverse datasets (e.g., text, pdf, code, and audio), different retrieval and update ratios, and query distributions. RAGPerf also supports different embedding models, major vector databases such as LanceDB, Milvus, Qdrant, Chroma, and Elasticsearch, as well as different LLMs for content generation. It automates the collection of performance metrics (i.e., end-to-end query throughput, host/GPU memory footprint, and CPU/GPU utilization) and accuracy metrics (i.e., context recall, query accuracy, and factual consistency). We demonstrate the capabilities of RAGPerf through a comprehensive set of experiments and open source its codebase at GitHub. Our evaluation shows that RAGPerf incurs negligible performance overhead.

What the full text shows

Working prototype
  • Generation stage dominates end-to-end latency in text pipelines — 75% to 91% of total latency (Text pipeline using Qwen7B, GPT20B, and Qwen72B with batch size 64)
  • Reranking stage dominates latency in PDF/image pipelines — 28% to 87% of total iteration time (PDF/image pipeline based on ColPali algorithm)
  • Chroma exhibits a severe scalability bottleneck during data insertion — 7.8x increase in total execution time vs. LanceDB (Text pipeline indexing stage)
  • Format conversion is the primary bottleneck for PDF/image indexing with OCR — 98.2% of total duration on average (PDF/image pipelines using EasyOCR and RapidOCR)
  • Embedding stage duration is relatively stable in text pipelines — 2450 seconds on average (Text pipeline indexing stage)
Setup
Server with two 32-core AMD EPYC 9334 CPUs, 1.4TB DDR5 RAM, two NVIDIA H100NVL GPUs (94GB), and Samsung 990 Pro SSDs; datasets include Wikipedia (19.3GB text), Arxiv (48GB PDF), and PeoplesSpeech (35.5GB audio).
How
The authors developed RAGPerf, a modular benchmarking framework that decouples RAG workflows into embedding, indexing, retrieval, reranking, and generation. It utilizes a workload generator to simulate real-world scenarios across multiple data modalities and automates the collection of system and accuracy metrics.
Limitations
Performance of reranking in PDF/image pipelines is heavily dependent on the specific vector database's support for concurrent lookups

Summarized by Gemma 4 from the open-access full text · 17 Nov 2026. Read it