English

Parallel Writing of Nested Data in Columnar Formats

Distributed, Parallel, and Cluster Computing 2024-10-21 v1

Abstract

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.

Keywords

Cite

@article{arxiv.2410.14239,
  title  = {Parallel Writing of Nested Data in Columnar Formats},
  author = {Jonas Hahnfeld and Jakob Blomer and Thorsten Kollegger},
  journal= {arXiv preprint arXiv:2410.14239},
  year   = {2024}
}

Comments

This preprint has not undergone peer review (when applicable) or any post-submission improvements or corrections. The Version of Record of this contribution is published in "Euro-Par 2024: Parallel Processing", and is available online at https://doi.org/10.1007/978-3-031-69766-1_2

R2 v1 2026-06-28T19:26:56.675Z