Sangam: A Confluence of Knowledge Streams

A Study of the Fundamental Performance Characteristics of GPUs and CPUs for Database Analytics

Show simple item record

dc.creator Shanbhag, Anil
dc.creator Madden, Samuel
dc.creator Yu, Xiangyao
dc.date 2022-10-19T16:43:32Z
dc.date 2021-11-05T15:20:30Z
dc.date 2022-10-19T16:43:32Z
dc.date 2020
dc.date 2021-01-29T19:07:21Z
dc.date.accessioned 2023-02-17T20:14:45Z
dc.date.available 2023-02-17T20:14:45Z
dc.identifier https://hdl.handle.net/1721.1/137522.2
dc.identifier Shanbhag, Anil, Madden, Samuel and Yu, Xiangyao. 2020. "A Study of the Fundamental Performance Characteristics of GPUs and CPUs for Database Analytics." Proceedings of the ACM SIGMOD International Conference on Management of Data.
dc.identifier.uri http://localhost:8080/xmlui/handle/CUHPOERS/242296
dc.description © 2020 Association for Computing Machinery. There has been significant amount of excitement and recent work on GPU-based database systems. Previous work has claimed that these systems can perform orders of magnitude better than CPU-based database systems on analytical workloads such as those found in decision support and business intelligence applications. A hardware expert would view these claims with suspicion. Given the general notion that database operators are memory-bandwidth bound, one would expect the maximum gain to be roughly equal to the ratio of the memory bandwidth of GPU to that of CPU. In this paper, we adopt a model-based approach to understand when and why the performance gains of running queries on GPUs vs on CPUs vary from the bandwidth ratio (which is roughly 16× on modern hardware). We propose Crystal, a library of parallel routines that can be combined together to run full SQL queries on a GPU with minimal materialization overhead. We implement individual query operators to show that while the speedups for selection, projection, and sorts are near the bandwidth ratio, joins achieve less speedup due to differences in hardware capabilities. Interestingly, we show on a popular analytical workload that full query performance gain from running on GPU exceeds the bandwidth ratio despite individual operators having speedup less than bandwidth ratio, as a result of limitations of vectorizing chained operators on CPUs, resulting in a 25× speedup for GPUs over CPUs on the benchmark.
dc.format application/pdf
dc.language en
dc.publisher ACM
dc.relation 10.1145/3318464.3380595
dc.relation Proceedings of the ACM SIGMOD International Conference on Management of Data
dc.rights Article is made available in accordance with the publisher's policy and may be subject to US copyright law. Please refer to the publisher's site for terms of use.
dc.source ACM
dc.title A Study of the Fundamental Performance Characteristics of GPUs and CPUs for Database Analytics
dc.type Article
dc.type http://purl.org/eprint/type/ConferencePaper


Files in this item

Files Size Format View
3318464.3380595.pdf 1.365Mb application/pdf View/Open

This item appears in the following Collection(s)

  • DSpace@MIT [2699]
    DSpace@MIT is a digital repository for MIT's research, including peer-reviewed articles, technical reports, working papers, theses, and more.

Show simple item record

Search DSpace


Advanced Search

Browse