Zerrow:Bauplan 中真正的零拷贝 Arrow 流水线
Zerrow: True Zero-Copy Arrow Pipelines in Bauplan
AI总结:
针对 Bauplan 基于 Apache Arrow 的数据流水线仍受 Linux 共享内存限制而产生拷贝的问题,本文提出含去匿名化内核模块的 Zerrow 技术,以消除几乎全部数据拷贝。
摘要:
Bauplan 是一个基于 FaaS 的 lakehouse,专为数据流水线构建:其执行引擎使用 Apache Arrow 在 DAG 的节点之间传递数据。尽管 Arrow 被称为“零拷贝格式”,但在实践中,Linux 内核对共享内存的支持有限,使得完全避免拷贝十分困难。在本工作中,我们介绍了若干新技术,以消除流水线中几乎所有拷贝:具体而言,我们实现了一个新的内核模块,用于执行去匿名化,从而消除一次到中间数据的拷贝。最后,我们分享了在不同工作负载类型上的初步评估,并讨论了未来改进计划。
英文摘要:
Bauplan is a FaaS-based lakehouse specifically built for data pipelines: its execution engine uses Apache Arrow for data passing between the nodes in the DAG. While Arrow is known as the "zero copy format", in practice, limited Linux kernel support for shared memory makes it difficult to avoid copying entirely. In this work, we introduce several new techniques to eliminate nearly all copying from pipelines: in particular, we implement a new kernel module that performs de-anonymization, thus eliminating a copy to intermediate data. We conclude by sharing our preliminary evaluation on different workloads types, as well as discussing our plan for future improvements.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。