arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.26965cs.SEcs.DC
收藏

在基于笔记的系统中高效重现分布式工作流

Efficiently Reproducing Distributed Workflows in Notebook-based Systems

University of Missouri(密苏里大学);DePaul University(德保罗大学);University of Notre Dame(圣母大学)

Talha Azaz, Raza Ahmad, Md Saiful Islam, Douglas Thain, Tanu Malik

AI总结:

本文提出NBRewind系统,通过增量检查点和日志提升分布式工作流在笔记中的可重现性与效率,减少全量重执行开销。

摘要:

Notebooks提供了一个适合迭代开发、模块化执行和易分享的环境。分布式工作流越来越多地在notebooks中被编写和执行,但分享和重现仍然具有挑战性。即使小的代码或参数更改也常迫使完整端到端重执行分布式工作流,限制了此类工作负载的迭代开发。当前改进notebook执行的方法针对单节点工作流,而分布式工作流的优化技术通常牺牲可重现性。我们引入NBRewind,一种notebook内核系统,用于在notebooks中高效、可重现地执行分布式工作流。NBRewind包含两个内核——审计和重复。审计内核执行增量、单元级检查点以避免不必要的重运行;重复重建检查点并启用部分重执行,包括管理分布式工作流的notebook单元。两种内核方法均基于跨单元的数据流分析。我们展示了检查点和日志作为标准notebook规范一部分如何提升分享和可重现性。通过真实案例研究,我们证明创建增量检查点添加了最小的开销,并使基于notebook的分布式工作流在HPC系统上实现可移植、跨站点的可重现性。

英文摘要:

Notebooks provide an author-friendly environment for iterative development, modular execution, and easy sharing. Distributed workflows are increasingly being authored and executed in notebooks, yet sharing and reproducing them remains challenging. Even small code or parameter changes often force full end-to-end re-execution of the distributed workflow, limiting iterative development for such workloads. Current methods for improving notebook execution operate on single-node workflows, while optimization techniques for distributed workflows typically sacrifice reproducibility. We introduce NBRewind, a notebook kernel system for efficient, reproducible execution of distributed workflows in notebooks. NBRewind consists of two kernels--audit and repeat. The audit kernel performs incremental, cell-level checkpointing to avoid unnecessary re-runs; repeat reconstructs checkpoints and enables partial re-execution including notebook cells that manage distributed workflow. Both kernel methods are based on data-flow analysis across cells. We show how checkpoints and logs when packaged as part of standardized notebook specification improve sharing and reproducibility. Using real-world case studies we show that creating incremental checkpoints adds minimal overhead and enables portable, cross-site reproducibility of notebook-based distributed workflows on HPC systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑