Bridging Software-Hardware for CXL Memory Disaggregation in Billion-Scale Nearest Neighbor Search

Author:

Jang Junhyeok1,Choi Hanjin2,Bae Hanyeoreum1,Lee Seungjun1,Kwon Miryeong2,Jung Myoungsoo2

Affiliation:

1. KAIST, Daejeon

2. KAIST and Panmnesia, Inc., Daejeon

Abstract

We propose CXL-ANNS , a software-hardware collaborative approach to enable scalable approximate nearest neighbor search (ANNS) services. To this end, we first disaggregate DRAM from the host via compute express link (CXL) and place all essential datasets into its memory pool. While this CXL memory pool allows ANNS to handle billion-point graphs without an accuracy loss, we observe that the search performance significantly degrades because of CXL’s far-memory-like characteristics. To address this, CXL-ANNS considers the node-level relationship and caches the neighbors in local memory, which are expected to visit most frequently. For the uncached nodes, CXL-ANNS prefetches a set of nodes most likely to visit soon by understanding the graph traversing behaviors of ANNS. CXL-ANNS is also aware of the architectural structures of the CXL interconnect network and lets different hardware components collaborate with each other for the search. Further, it relaxes the execution dependency of neighbor search tasks and allows ANNS to utilize all hardware in the CXL network in parallel. Our evaluation shows that CXL-ANNS exhibits 93.3% lower query latency than state-of-the-art ANNS platforms that we tested. CXL-ANNS also outperforms an oracle ANNS system that has unlimited local DRAM capacity by 68.0%, in terms of latency.

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture

Reference74 articles.

1. A scalable processing-in-memory accelerator for parallel graph processing

2. Michael Anderson , Benny Chen , Stephen Chen , Summer Deng , Jordan Fix , Michael Gschwind , Aravind Kalaiah , Changkyu Kim , Jaewon Lee , Jason Liang , et al . 2021 . First-generation inference accelerator deployment at facebook. arXiv preprint arXiv:2107.04140(2021). Michael Anderson, Benny Chen, Stephen Chen, Summer Deng, Jordan Fix, Michael Gschwind, Aravind Kalaiah, Changkyu Kim, Jaewon Lee, Jason Liang, et al. 2021. First-generation inference accelerator deployment at facebook. arXiv preprint arXiv:2107.04140(2021).

3. An optimal algorithm for approximate nearest neighbor searching fixed dimensions;Arya Sunil;Journal of the ACM (JACM),1998

4. Martin Aumüller , Erik Bernhardsson , and Alexander Faithfull . 2017 . ANN-benchmarks: A benchmarking tool for approximate nearest neighbor algorithms . In International conference on similarity search and applications. Springer. Martin Aumüller, Erik Bernhardsson, and Alexander Faithfull. 2017. ANN-benchmarks: A benchmarking tool for approximate nearest neighbor algorithms. In International conference on similarity search and applications. Springer.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3