Micro Partitioning: Friendly to the Hardware and the Developer
Open Access
- 18 June 2023
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 27-34
Abstract
Modern hardware’s complexity has made studying hardware-conscious algorithms a relevant topic for many years. Partitioning algorithms, for instance, break data into bits that fit into fast CPU caches. Unfortunately, they are often challenging to design, develop, and maintain. While hardware-oblivious algorithms are easier to build, they may perform poorly when hardware or data deviate from expectations. In this paper, we introduce micro partitioning, which enhances the partitioning problem in a way that outperforms state-of-the-art solutions while being hardware-agnostic. By storing tuples in a tight address space, micro partitioning creates an access pattern that is friendly to both caches and translation lookaside buffers. We also show how micro partitioning interacts with task-based execution strategies in a symbiotic way, making micro partitioning intuitive to express for developers.Keywords
Funding Information
- Lamarr Institute for Machine Learning and Artificial Intelligence
- Deutsche Forschungsgemeinschaft (TE 1117/2-1)
This publication has 19 references indexed in Scilit:
- On the surprising difficulty of simple thingsProceedings of the VLDB Endowment, 2015
- Improving main memory hash joins on Intel Xeon Phi processorsProceedings of the VLDB Endowment, 2015
- A comprehensive study of main-memory partitioning and its application to large-scale comparison- and radix-sort2014
- Morsel-driven parallelism2014
- DPAgg: A Dynamic Partition Aggregation on Multicore Processor in Main-Memory Database2013
- Main-memory hash joins on multi-core CPUs: Tuning to the underlying hardware2013
- Efficiently compiling efficient query plans for modern hardwareProceedings of the VLDB Endowment, 2011
- Data-oriented transaction executionProceedings of the VLDB Endowment, 2010
- StarPU: A Unified Platform for Task Scheduling on Heterogeneous Multicore Architectures2009
- Optimizing main-memory join on modern hardwareIEEE Transactions on Knowledge and Data Engineering, 2002