DiSh: Dynamic Shell-Script Distribution
Tammam Mustafa, Konstantinos Kallas, Pratyush Das, Nikos Vasilakis
摘要
Shell scripting remains prevalent for automation and dataprocessing tasks, partly due to its dynamic features-e.g., expansion, substitution-and language agnosticism-i.e., the ability to combine third-party commands implemented in any programming language. Unfortunately, these characteristics hinder automated shell-script distribution, often necessary for dealing with large datasets that do not fit on a single computer. This paper introduces DISH, a system that distributes the execution of dynamic shell scripts operating on distributed filesystems. DISH is designed as a shim that applies program analyses and transformations to leverage distributed computing, while delegating all execution to the underlying shell available on each computing node. As a result, DISH does not require modifications to shell scripts and maintains compatibility with existing shells and legacy functionality. We evaluate DISH against several options available to users today: (i) Bash, a singlenode shell-interpreter baseline, (ii) PASH, a state-of-the-art automated-parallelization system, and (iii) Hadoop Streaming, a MapReduce system that supports language-agnostic thirdparty components. Combined, our results demonstrate that DISH offers significant performance gains, requires no developer effort, and handles arbitrary dynamic behaviors pervasive in real-world shell scripts.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- PaSh: light-touch data-parallel shell processing 引用了 POSH: A Data-Aware Shell
- PaSh: light-touch data-parallel shell processing 引用了 DiffStream: differential output testing for stream processing programs
- Incr: Faster Re-Execution via Bolt-On Incrementalization 引用了 PaSh: light-touch data-parallel shell processing
- Incr: Faster Re-Execution via Bolt-On Incrementalization 引用了 POSH: A Data-Aware Shell
- Incr: Faster Re-Execution via Bolt-On Incrementalization 引用了 Practically Correct, Just-in-Time Shell Script Parallelization
- Incr: Faster Re-Execution via Bolt-On Incrementalization 引用了 The Koala Benchmarks for the Shell: Characterization and Implications
- Incr: Faster Re-Execution via Bolt-On Incrementalization 引用了 Fractal: Fault-Tolerant Shell-Script Distribution
- Incr: Faster Re-Execution via Bolt-On Incrementalization 引用了 Riker: Always-Correct and Fast Incremental Builds from Simple Specifications
- hS: Speculative Script Reordering at Subprocess Granularity 引用了 PaSh: light-touch data-parallel shell processing
- hS: Speculative Script Reordering at Subprocess Granularity 引用了 POSH: A Data-Aware Shell
- hS: Speculative Script Reordering at Subprocess Granularity 引用了 Practically Correct, Just-in-Time Shell Script Parallelization
- hS: Speculative Script Reordering at Subprocess Granularity 引用了 The Koala Benchmarks for the Shell: Characterization and Implications
- hS: Speculative Script Reordering at Subprocess Granularity 引用了 Riker: Always-Correct and Fast Incremental Builds from Simple Specifications
- 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
- The Koala Benchmarks for the Shell: Characterization and Implications 引用了 Riker: Always-Correct and Fast Incremental Builds from Simple Specifications
- Fractal: Fault-Tolerant Shell-Script Distribution 引用了 PaSh: light-touch data-parallel shell processing
- Fractal: Fault-Tolerant Shell-Script Distribution 引用了 POSH: A Data-Aware Shell
- Fractal: Fault-Tolerant Shell-Script Distribution 引用了 Practically Correct, Just-in-Time Shell Script Parallelization
- Fractal: Fault-Tolerant Shell-Script Distribution 引用了 The Koala Benchmarks for the Shell: Characterization and Implications
- Opportunistically Parallel Lambda Calculus 引用了 PaSh: light-touch data-parallel shell processing
- Opportunistically Parallel Lambda Calculus 引用了 Practically Correct, Just-in-Time Shell Script Parallelization
引用它的顶会 Paper6
- The Koala Benchmarks for the Shell: Characterization and ImplicationsEvangelos Lamprou, Ethan Williams, Georgios Kaoukis, Zhuoxuan Zhang 等USENIX ATC 2025 · 12 次引用
- Incr: Faster Re-Execution via Bolt-On IncrementalizationYizheng Xie, Evangelos Lamprou, Jerry Xia, Nikos VasilakisOSDI 2026 · 4 次引用
- Fractal: Fault-Tolerant Shell-Script DistributionZhicheng Huang, Ramiz Dundar, Yizheng Xie, Konstantinos Kallas 等NSDI 2026 · 4 次引用
- hS: Speculative Script Reordering at Subprocess GranularityGeorgios Liargkovas, Di Jin, Tianyu (Ezri) Zhu, Dan Liu 等OSDI 2026 · 3 次引用
- Opportunistically Parallel Lambda CalculusStephen Mell, Konstantinos Kallas, Steve Zdancewic, Osbert BastaniOOPSLA 2025 · 2 次引用
它引用的 Paper6
- POSH: A Data-Aware ShellDeepti Raghavan, Sadjad Fouladi, Philip Alexander Levis, Matei ZahariaUSENIX ATC 2020 · 33 次引用
- DiffStream: differential output testing for stream processing programsKonstantinos Kallas, Filip Niksic, Caleb Stanford, Rajeev AlurOOPSLA 2020 · 18 次引用
- 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 次引用
- Riker: Always-Correct and Fast Incremental Builds from Simple SpecificationsCharlie Curtsinger, Daniel W. BarowyUSENIX ATC 2022 · 12 次引用
相关 Paper
- Ahead-of-Time Analysis of Shell Program EffectsLukas Lazarek, Evangelos Lamprou, George Kapetanakis, Anirudh Narsipur 等SOSP 2026
- Executable formal semantics for the POSIX shellMichael Greenberg, Austin J. BlattPOPL 2020 · 21 次引用
- Pasta: A Cost-Based Optimizer for Generating Pipelining Schedules for Dataflow DAGsXiaozhen Liu, Yicong Huang, Xinyuan Lin, Avinash Kumar 等SIGMOD 2025 · 1 次引用
- Babelfish: Efficient Execution of Polyglot QueriesPhilipp Marian Grulich, Steffen Zeuch, Volker MarklVLDB 2022 · 32 次引用
- BAASH: lightweight, efficient, and reliable blockchain-as-a-service for HPC systemsAbdullah Al-Mamun, Feng Yan, Dongfang ZhaoSC 2021 · 14 次引用
