ParPaRaw: Massively Parallel Parsing of Delimiter-Separated Raw Data
摘要
Parsing is essential for a wide range of use cases, such as stream processing, bulk loading, and in-situ querying of raw data. Yet, the compute-intense step often constitutes a major bottleneck in the data ingestion pipeline, since parsing of inputs that require more involved parsing rules is challenging to parallelise. This work proposes a massively parallel algorithm for parsing delimiter-separated data formats on GPUs. Other than the state-of-the-art, the proposed approach does not require an initial sequential pass over the input to determine a thread's parsing context. That is, how a thread, beginning somewhere in the middle of the input, should interpret a certain symbol (e.g., whether to interpret a comma as a delimiter or as part of a larger string enclosed in double-quotes). Instead of tailoring the approach to a single format, we are able to perform a massively parallel finite state machine (FSM) simulation, which is more flexible and powerful, supporting more expressive parsing rules with general applicability. Achieving a parsing rate of as much as 14.2 GB/s, our experimental evaluation on a GPU with 3 584 cores shows that the presented approach is able to scale to thousands of cores and beyond. With an end-to-end streaming approach, we are able to exploit the full-duplex capabilities of the PCIe bus and hide latency from data transfers. Considering the end-to-end performance, the algorithm parses 4.8 GB in as little as 0.44 seconds, including data transfers.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- GpJSON: High-performance JSON Data Processing on GPUs 引用了 Scalable Structural Index Construction for JSON Analytics
- GIO: Generating Efficient Matrix and Frame Readers for Custom Data Formats by Example 引用了 Scalable Structural Index Construction for JSON Analytics
- JSONSki: streaming semi-structured data with bit-parallel fast-forwarding 引用了 Scalable Structural Index Construction for JSON Analytics
引用它的顶会 Paper6
- Scalable Structural Index Construction for JSON AnalyticsLin Jiang, Junqiao Qiu, Zhijia ZhaoVLDB 2021 · 16 次引用
- JSONSki: streaming semi-structured data with bit-parallel fast-forwardingLin Jiang, Zhijia ZhaoASPLOS 2022 · 13 次引用
- GIO: Generating Efficient Matrix and Frame Readers for Custom Data Formats by ExampleSaeed Fathollahzadeh, Matthias BoehmSIGMOD 2023 · 4 次引用
- Fast and Scalable Data Transfer Across Data SystemsHaralampos Gavriilidis, Kaustubh Beedkar, Matthias Boehm, Volker MarklSIGMOD 2025 · 4 次引用
- GpJSON: High-performance JSON Data Processing on GPUsSacheendra Talluri, Guido Walter Di Donato, Luca Danelutti, Koen Vlaswinkel 等VLDB 2025 · 3 次引用
相关 Paper
- Fleet: A Framework for Massively Parallel Streaming on FPGAsJames Thomas, Pat Hanrahan, Matei ZahariaASPLOS 2020 · 39 次引用
- One Pass to Parse Them All: Fused Parallel CSV ProcessingSimon Ellmann, Thomas NeumannVLDB 2026
- Scaling out speculative execution of finite-state machines with parallel mergeYang Xia, Peng Jiang, Gagan AgrawalPPoPP 2020 · 10 次引用
- cuJSON: A Highly Parallel JSON Parser for GPUsAshkan Vedadi Gargary, Soroosh Safari Loaliyan, Zhijia ZhaoASPLOS 2026
- ngAP: Non-blocking Large-scale Automata Processing on GPUsTianao Ge, Tong Zhang, Hongyuan LiuASPLOS 2024 · 11 次引用
