FESIA: A Fast and SIMD-Efficient Set Intersection Approach on Modern CPUs
Jiyuan Zhang, Yi Lu, Daniele G. Spampinato, Franz Franchetti
摘要
Set intersection is an important operation and widely used in both database and graph analytics applications. However, existing state-of-the-art set intersection methods only consider the size of input sets and fail to optimize for the case in which the intersection size is small. In real-world scenarios, the size of most intersections is usually orders of magnitude smaller than the size of the input sets, e.g., keyword search in databases and common neighbor search in graph analytics. In this paper, we present FESIA, a new set intersection approach on modern CPUs. The time complexity of our approach is O(n/ √ w + r), in which w is the SIMD width, and n and r are the size of input sets and intersection size, respectively. The key idea behind FESIA is that it first uses bitmaps to filter out unmatched elements from the input sets, and then selects suitable specialized kernels (i.e., small function blocks) at runtime to compute the final intersection on each pair of bitmap segments. In addition, all data structures in FESIA are designed to take advantage of SIMD instructions provided by vector ISAs with various SIMD widths, including SSE, AVX, and the latest AVX512. Our experiments on both realworld and synthetic datasets show that our intersection method achieves more than an order of magnitude better performance than conventional scalar implementations, and up to 4x better performance than state-of-the-art SIMD implementations.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper1
问问它们各自怎么用它相关 Paper
- HERO: A Hierarchical Set Partitioning and Join Framework for Speeding up the Set Intersection Over GraphsBoyu Yang, Weiguo Zheng, Xiang Lian, Yuzheng Cai 等SIGMOD 2024 · 被引用 5 次
- Many-Core Clique Enumeration with Fast Set IntersectionsJovan Blanusa, Radu Stoica, Paolo Ienne, Kubilay AtasuVLDB 2020
- SISA: Set-Centric Instruction Set Architecture for Graph Mining on Processing-in-Memory SystemsMaciej Besta, Raghavendra Kanakagiri, Grzegorz Kwasniewski, Rachata Ausavarungnirun 等MICRO 2021 · 被引用 78 次
- X-SET: An Efficient Graph Pattern Matching Accelerator With Order-Aware Parallel Intersection UnitsChenxi Xu, Tianhui Shi, Shixuan Sun, Jidong Zhai 等MICRO 2025 · 被引用 1 次
- Database Processing-in-Memory: An Experimental StudyTiago Rodrigo Kepe, Eduardo C. de Almeida, Marco A. Z. AlvesVLDB 2020 · 被引用 22 次
