Optimize Vector Databases, Enhance RAG-Driven Generative AI
May 13, 2024Cathy Zhang, Dr. Malini Bhandaru

Summary
This post details optimizations in Milvus's write path to reduce memory movement overhead in the datanode buffer write. It describes how the merge logic allocates a new buffer to hold old and new data, leading to progressively larger buffers and slower data movement. The post also discusses the use of Linux 'perf' and Intel® vTune™ Profiler for low-level performance analysis, and highlights the importance of realistic datasets and benchmarking frameworks like VectorDBBench and vector-db-benchmark for evaluating vector database performance.
More from the Benchmarking and Performance Analysis trail
- Troubleshooting a Search Slowdown After Upgrading Milvus: Lessons from the WPS Team
- How to Safely Upgrade from Milvus 2.5.x to Milvus 2.6.x
- How to Debug Slow Search Requests in Milvus
- Hands-On with VDBBench: Benchmarking Vector Databases for POCs That Match Production
- https://zilliz.com/blog/vdbbench-1-0-benchmarking-with-your-real-world-production-workloads