Membrane: Accelerating Database Analytics with Bank-Level DRAM-PIM Filtering

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Shekar, Akhil, Gaffney, Kevin, Prammer, Martin, Kiyawat, Khyati, Wu, Lingxi, Caminal, Helena, Fan, Zhenxing, Gao, Yimin, Venkat, Ashish, Martínez, José F., Patel, Jignesh, Skadron, Kevin
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912317298442240
author Shekar, Akhil
Gaffney, Kevin
Prammer, Martin
Kiyawat, Khyati
Wu, Lingxi
Caminal, Helena
Fan, Zhenxing
Gao, Yimin
Venkat, Ashish
Martínez, José F.
Patel, Jignesh
Skadron, Kevin
author_facet Shekar, Akhil
Gaffney, Kevin
Prammer, Martin
Kiyawat, Khyati
Wu, Lingxi
Caminal, Helena
Fan, Zhenxing
Gao, Yimin
Venkat, Ashish
Martínez, José F.
Patel, Jignesh
Skadron, Kevin
contents In-memory database query processing frequently involves substantial data transfers between the CPU and memory, leading to inefficiencies due to Von Neumann bottleneck. Processing-in-Memory (PIM) architectures offer a viable solution to alleviate this bottleneck. In our study, we employ a commonly used software approach that streamlines JOIN operations into simpler selection or filtering tasks using pre-join denormalization which makes query processing workload more amenable to PIM acceleration. This research explores DRAM design landscape to evaluate how effectively these filtering tasks can be efficiently executed across DRAM hierarchy and their effect on overall application speedup. We also find that operations such as aggregates are more suitably executed on the CPU rather than PIM. Thus, we propose a cooperative query processing framework that capitalizes on both CPU and PIM strengths, where (i) the DRAM-based PIM block, with its massive parallelism, supports scan operations while (ii) CPU, with its flexible architecture, supports the rest of query execution. This allows us to utilize both PIM and CPU where appropriate and prevent dramatic changes to the overall system architecture. With these minimal modifications, our methodology enables us to faithfully perform end-to-end performance evaluations using established analytics benchmarks such as TPCH and star-schema benchmark (SSB). Our findings show that this novel mapping approach improves performance, delivering a 5.92x/6.5x speedup compared to a traditional schema and 3.03-4.05x speedup compared to a denormalized schema with 9-17% memory overhead, depending on the degree of partial denormalization. Further, we provide insights into query selectivity, memory overheads, and software optimizations in the context of PIM-based filtering, which better explain the behavior and performance of these systems across the benchmarks.
format Preprint
id arxiv_https___arxiv_org_abs_2504_06473
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Membrane: Accelerating Database Analytics with Bank-Level DRAM-PIM Filtering
Shekar, Akhil
Gaffney, Kevin
Prammer, Martin
Kiyawat, Khyati
Wu, Lingxi
Caminal, Helena
Fan, Zhenxing
Gao, Yimin
Venkat, Ashish
Martínez, José F.
Patel, Jignesh
Skadron, Kevin
Hardware Architecture
In-memory database query processing frequently involves substantial data transfers between the CPU and memory, leading to inefficiencies due to Von Neumann bottleneck. Processing-in-Memory (PIM) architectures offer a viable solution to alleviate this bottleneck. In our study, we employ a commonly used software approach that streamlines JOIN operations into simpler selection or filtering tasks using pre-join denormalization which makes query processing workload more amenable to PIM acceleration. This research explores DRAM design landscape to evaluate how effectively these filtering tasks can be efficiently executed across DRAM hierarchy and their effect on overall application speedup. We also find that operations such as aggregates are more suitably executed on the CPU rather than PIM. Thus, we propose a cooperative query processing framework that capitalizes on both CPU and PIM strengths, where (i) the DRAM-based PIM block, with its massive parallelism, supports scan operations while (ii) CPU, with its flexible architecture, supports the rest of query execution. This allows us to utilize both PIM and CPU where appropriate and prevent dramatic changes to the overall system architecture. With these minimal modifications, our methodology enables us to faithfully perform end-to-end performance evaluations using established analytics benchmarks such as TPCH and star-schema benchmark (SSB). Our findings show that this novel mapping approach improves performance, delivering a 5.92x/6.5x speedup compared to a traditional schema and 3.03-4.05x speedup compared to a denormalized schema with 9-17% memory overhead, depending on the degree of partial denormalization. Further, we provide insights into query selectivity, memory overheads, and software optimizations in the context of PIM-based filtering, which better explain the behavior and performance of these systems across the benchmarks.
title Membrane: Accelerating Database Analytics with Bank-Level DRAM-PIM Filtering
topic Hardware Architecture
url https://arxiv.org/abs/2504.06473