Big data causing big (TLB) problems: Taming random memory accesses on the GPU

Research output: Contribution to book/Conference proceedings/Anthology/ReportConference contributionContributedpeer-review

Contributors

Abstract

GPUS are increasingly adopted for large-scale database processing, where data accesses represent the major part of the computation. If the data accesses are irregular, like hash table accesses or random sampling, the GPU performance can suffer. Especially when scaling such accesses beyond 2GB of data, a performance decrease of an order of magnitude is encountered. This paper analyzes the source of the slowdown through extensive micro-benchmarking, attributing the root cause to the Translation Look aside Buffer (TLB). Using the micro-benchmarks, the TLB hierarchy and structure are fully analyzed on two different GPU architectures, identifying never before- published TLB sizes that can be used for efficient large-scale application tuning. Based on the gained knowledge, we propose a TLB-conscious approach to mitigate the slowdown for algorithms with irregular memory access. The proposed approach is applied to two fundamental database operations - random sampling and hash-based grouping - showing that the slowdown can be dramatically reduced, and resulting in a performance increase of up to 13x.

Details

Original languageEnglish
Title of host publicationDAMON '17: Proceedings of the 13th International Workshop on Data Management on New Hardware
PublisherAssociation for Computing Machinery (ACM), New York
Number of pages10
ISBN (print)978-1-4503-5025-9
Publication statusPublished - 14 May 2017
Peer-reviewedYes

Publication series

SeriesMOD: International Conference on Management of Data (DaMoN)
ISSN0730-8078

Conference

Title13th International Workshop on Data Management on New Hardware, DAMON 2017
Duration14 - 19 May 2017
CityChicago
CountryUnited States of America

External IDs

Scopus 85021772296
ORCID /0000-0001-8107-2775/work/142253579

Keywords

ASJC Scopus subject areas

Keywords

  • GPU, Grouping, Random memory access, TLB, Virtual memory