Saved in:
Bibliographic Details
Main Authors: Hahnfeld, Jonas, Blomer, Jakob, Kollegger, Thorsten
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.14239
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929549833404416
author Hahnfeld, Jonas
Blomer, Jakob
Kollegger, Thorsten
author_facet Hahnfeld, Jonas
Blomer, Jakob
Kollegger, Thorsten
contents High Energy Physics (HEP) experiments, for example at the Large Hadron Collider (LHC) at CERN, store data at exabyte scale in sets of files. They use a binary columnar data format by the ROOT framework, that also transparently compresses the data. In this format, cells are not necessarily atomic but they may contain nested collections of variable size. The fact that row and block sizes are not known upfront makes it challenging to implement efficient parallel writing. In particular, the data cannot be organized in a regular grid where it is possible to precompute indices and offsets for independent writing. In this paper, we propose a scalable approach to efficient multithreaded writing of nested data in columnar format into a single file. Our approach removes the bottleneck of a single writer while staying fully compatible with the compressed, columnar, variably row-sized data representation. We discuss our design choices and the implementation of scalable parallel writing for ROOT's RNTuple format. An evaluation of our approach shows perfect scalability only limited by storage bandwidth for a synthetic benchmark. Finally we evaluate the benefits for a real-world application of dataset skimming.
format Preprint
id arxiv_https___arxiv_org_abs_2410_14239
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Parallel Writing of Nested Data in Columnar Formats
Hahnfeld, Jonas
Blomer, Jakob
Kollegger, Thorsten
Distributed, Parallel, and Cluster Computing
High Energy Physics (HEP) experiments, for example at the Large Hadron Collider (LHC) at CERN, store data at exabyte scale in sets of files. They use a binary columnar data format by the ROOT framework, that also transparently compresses the data. In this format, cells are not necessarily atomic but they may contain nested collections of variable size. The fact that row and block sizes are not known upfront makes it challenging to implement efficient parallel writing. In particular, the data cannot be organized in a regular grid where it is possible to precompute indices and offsets for independent writing. In this paper, we propose a scalable approach to efficient multithreaded writing of nested data in columnar format into a single file. Our approach removes the bottleneck of a single writer while staying fully compatible with the compressed, columnar, variably row-sized data representation. We discuss our design choices and the implementation of scalable parallel writing for ROOT's RNTuple format. An evaluation of our approach shows perfect scalability only limited by storage bandwidth for a synthetic benchmark. Finally we evaluate the benefits for a real-world application of dataset skimming.
title Parallel Writing of Nested Data in Columnar Formats
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2410.14239