DOE OSTI · 3022809
Optimizing Management of Persistent Data Structures in High-Performance Analytics
Abstract
Large-scale data analytics workflows ingest massive input data into various data structures, including graphs and key-value datastores. These data structures undergo multiple transformations and computations and are typically reused in incremental and iterative analytics workflows. Persisting in-memory views of these data structures enables reusing them beyond the scope of a single program run while avoiding repetitive raw data ingestion overheads. Memory-mapped I/O enables persisting in-memory data structures without data serialization and deserialization overheads. However, memory-mapped I/O lacks the key feature of persisting consistent snapshots of these data structures for incremental ingestion and processing. The obstacles to efficient virtual memory snapshots using memory-mapped I/O include background writebacks outside the application’s control, and the significantly high storage footprint of such snapshots. To address these limitations, we present Privateer, a memory and storage management tool that enables storage-efficient virtual memory snapshotting while also optimizing snapshot I/O performance. Here, we integrated Privateer into Metall, a state-of-the-art persistent memory allocator for C++, and the Lightning Memory-Mapped Database (LMDB), a widely-used key-value datastore in data analytics and machine learning. Privateer optimized application performance by 1.22× when storing data structure snapshots to node-local storage, and up to 16.7× when storing snapshots to a parallel file system. Privateer also optimizes storage efficiency of incremental data structure snapshots by up to 11× using data deduplication and compression.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Youssef, Karim [Lawrence Livermore National Laboratory (LLNL), Livermore, CA (United States)] (ORCID:0000000345449613), Iwabuchi, Keita [Lawrence Livermore National Laboratory (LLNL), Livermore, CA (United States)], Gokhale, Maya [Lawrence Livermore National Laboratory (LLNL), Livermore, CA (United States)] (ORCID:0000000342295735), Feng, Wu-chun [Virginia Polytechnic Inst. and State Univ. (Virginia Tech), Blacksburg, VA (United States)], Pearce, Roger [Lawrence Livermore National Laboratory (LLNL), Livermore, CA (United States)]. 2025-12-31. Optimizing Management of Persistent Data Structures in High-Performance Analytics. https://doi.org/10.1109/tpds.2025.3646133
Cite the original work for its findings. Save a collection to share your selection of sources.