Dr. Top-k: Delegate-Centric Top-k on GPUs

Anil Gaihre, Da Zheng, Scott Weitze, Lingda Li, Shuaiwen Leon Song +3 more
9/16/2021
cs.IRcs.DBcs.DC

Official code: Anil-Gaihre/DrTopKSC (14 stars, Cuda, last commit 2021-09-14).

Abstract

Recent top-$k$ computation efforts explore the possibility of revising various sorting algorithms to answer top-$k$ queries on GPUs. These endeavors, unfortunately, perform significantly more work than needed.

Show full abstract

This paper introduces Dr. Top-k, a Delegate-centric top-$k$ system on GPUs that can reduce the top-$k$ workloads significantly. Particularly, it contains three major contributions: First, we introduce a comprehensive design of the delegate-centric concept, including maximum delegate, delegate-based filtering, and $β$ delegate mechanisms to help reduce the workload for top-$k$ up to more than 99%. Second, due to the difficulty and importance of deriving a proper subrange size, we perform a rigorous theoretical analysis, coupled with thorough experimental validations to identify the desirable subrange size. Third, we introduce four key system optimizations to enable fast multi-GPU top-$k$ computation. Taken together, this work constantly outperforms the state-of-the-art.

View on arXivView PDF

Code Implementations(1)

142Cuda, ShellApr 9, 20215 years ago

Similar Papers

Cite this paper

@article{gaihre2021topk,
  title  = {Dr. Top-k: Delegate-Centric Top-k on GPUs},
  author = {Anil Gaihre and Da Zheng and Scott Weitze and Lingda Li and Shuaiwen Leon Song and Caiwen Ding and Xiaoye S Li and Hang Liu},
  year   = {2021},
  eprint = {2109.08219},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.08219}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.08219.svg)](https://codeofpaper.com/paper/2109.08219)

Discussion