Incr: Faster Re-Execution via Bolt-On Incrementalization
Yizheng Xie, Evangelos Lamprou, Jerry Xia, Nikos Vasilakis
摘要
While most software development is incremental, most execution environments are not: even small program modifications fail to take advantage of prior executions, at worst requiring full re-execution of all computational stages in the modified program. Such full re-execution decelerates software development and debugging, especially in dynamic polyglot environments such as the Unix and Linux shell. This paper presents Incr, a system that accelerates the re-execution of unmodified shell programs by automatically incrementalizing their execution. Incr analyzes and tracks interdependencies to detect and store key intermediate results, reusing them on subsequent re-executions whenever possible. Incr’s effect analysis supports correct re-execution even for non-idempotent computations, and several static and dynamic optimizations reduce the runtime and storage overheads of incrementalization. Applied to diverse real-world scenarios, Incr accelerates re-execution by an average of 34.2× and a maximum of 373.3×—all while requiring no developer annotations or code modifications and remaining behaviorally indistinguishable on over 10,000 test cases.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- PaSh: light-touch data-parallel shell processing 引用了 POSH: A Data-Aware Shell
- Controlling Opaque-Component Effects with Semisolates and Try 引用了 POSH: A Data-Aware Shell
- Controlling Opaque-Component Effects with Semisolates and Try 引用了 Practically Correct, Just-in-Time Shell Script Parallelization
- Controlling Opaque-Component Effects with Semisolates and Try 引用了 The Koala Benchmarks for the Shell: Characterization and Implications
- Practically Correct, Just-in-Time Shell Script Parallelization 引用了 PaSh: light-touch data-parallel shell processing
- Practically Correct, Just-in-Time Shell Script Parallelization 引用了 POSH: A Data-Aware Shell
- The Koala Benchmarks for the Shell: Characterization and Implications 引用了 PaSh: light-touch data-parallel shell processing
- The Koala Benchmarks for the Shell: Characterization and Implications 引用了 POSH: A Data-Aware Shell
- The Koala Benchmarks for the Shell: Characterization and Implications 引用了 Practically Correct, Just-in-Time Shell Script Parallelization
引用它的顶会 Paper1
它引用的 Paper10
- POSH: A Data-Aware ShellDeepti Raghavan, Sadjad Fouladi, Philip Alexander Levis, Matei ZahariaUSENIX ATC 2020 · 33 次引用
- Reproducible ContainersOmar S. Navarro Leija, Kelly Shiptoski, Ryan G. Scott, Baojun Wang 等ASPLOS 2020 · 21 次引用
- Practically Correct, Just-in-Time Shell Script ParallelizationKonstantinos Kallas, Tammam Mustafa, Jan Bielak, Dimitris Karnikis 等OSDI 2022 · 13 次引用
- PaSh: light-touch data-parallel shell processingNikos Vasilakis, Konstantinos Kallas, Konstantinos Mamouras, Achilles Benetopoulos 等EuroSys 2021 · 12 次引用
- The Koala Benchmarks for the Shell: Characterization and ImplicationsEvangelos Lamprou, Ethan Williams, Georgios Kaoukis, Zhuoxuan Zhang 等USENIX ATC 2025 · 12 次引用
相关 Paper
- Progressive Scrutiny: Incremental Detection of UBI bugs in the Linux KernelYizhuo Zhai, Yu Hao, Zheng Zhang, Weiteng Chen 等NDSS 2022
- hS: Speculative Script Reordering at Subprocess GranularityGeorgios Liargkovas, Di Jin, Tianyu (Ezri) Zhu, Dan Liu 等OSDI 2026 · 3 次引用
- Fractal: Fault-Tolerant Shell-Script DistributionZhicheng Huang, Ramiz Dundar, Yizheng Xie, Konstantinos Kallas 等NSDI 2026 · 4 次引用
- DiSh: Dynamic Shell-Script DistributionTammam Mustafa, Konstantinos Kallas, Pratyush Das, Nikos VasilakisNSDI 2023 · 11 次引用
- Ahead-of-Time Analysis of Shell Program EffectsLukas Lazarek, Evangelos Lamprou, George Kapetanakis, Anirudh Narsipur 等SOSP 2026
