Lune

EuroSys2021顶会

PaSh: light-touch data-parallel shell processing

Nikos Vasilakis, Konstantinos Kallas, Konstantinos Mamouras, Achilles Benetopoulos, Lazar Cvetkovic

摘要

This paper presents PaSh, a system for parallelizing POSIX shell scripts. Given a script, PaSh converts it to a dataflow graph, performs a series of semantics-preserving program transformations that expose parallelism, and then converts the dataflow graph back into a script---one that adds POSIX constructs to explicitly guide parallelism coupled with PaSh-provided Unix-aware runtime primitives for addressing performance- and correctness-related issues. A lightweight annotation language allows command developers to express key parallelizability properties about their commands. An accompanying parallelizability study of POSIX and GNU commands---two large and commonly used groups---guides the annotation language and optimized aggregator library that PaSh uses. PaSh's extensive evaluation over 44 unmodified Unix scripts shows significant speedups (0.89--61.1×, avg: 6.7×) stemming from the combination of its program transformations and runtime primitives.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Incr: Faster Re-Execution via Bolt-On Incrementalization 引用了 POSH: A Data-Aware Shell
  • Incr: Faster Re-Execution via Bolt-On Incrementalization 引用了 DiSh: Dynamic Shell-Script Distribution
  • 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
  • DiSh: Dynamic Shell-Script Distribution 引用了 Offload Annotations: Bringing Heterogeneous Computing to Existing Libraries and Workloads
  • DiSh: Dynamic Shell-Script Distribution 引用了 POSH: A Data-Aware Shell
  • DiSh: Dynamic Shell-Script Distribution 引用了 Practically Correct, Just-in-Time Shell Script Parallelization
  • DiSh: Dynamic Shell-Script Distribution 引用了 DiffStream: differential output testing for stream processing programs
  • Practically Correct, Just-in-Time Shell Script Parallelization 引用了 POSH: A Data-Aware Shell
  • The Koala Benchmarks for the Shell: Characterization and Implications 引用了 POSH: A Data-Aware Shell
  • The Koala Benchmarks for the Shell: Characterization and Implications 引用了 DiSh: Dynamic Shell-Script Distribution
  • The Koala Benchmarks for the Shell: Characterization and Implications 引用了 Practically Correct, Just-in-Time Shell Script Parallelization
  • Fractal: Fault-Tolerant Shell-Script Distribution 引用了 POSH: A Data-Aware Shell
  • Fractal: Fault-Tolerant Shell-Script Distribution 引用了 DiSh: Dynamic Shell-Script Distribution
  • 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
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper8

  1. Practically Correct, Just-in-Time Shell Script ParallelizationKonstantinos Kallas, Tammam Mustafa, Jan Bielak, Dimitris Karnikis 等OSDI 2022 · 13 次引用
  2. The Koala Benchmarks for the Shell: Characterization and ImplicationsEvangelos Lamprou, Ethan Williams, Georgios Kaoukis, Zhuoxuan Zhang 等USENIX ATC 2025 · 12 次引用
  3. DiSh: Dynamic Shell-Script DistributionTammam Mustafa, Konstantinos Kallas, Pratyush Das, Nikos VasilakisNSDI 2023 · 11 次引用
  4. Incr: Faster Re-Execution via Bolt-On IncrementalizationYizheng Xie, Evangelos Lamprou, Jerry Xia, Nikos VasilakisOSDI 2026 · 4 次引用
  5. Fractal: Fault-Tolerant Shell-Script DistributionZhicheng Huang, Ramiz Dundar, Yizheng Xie, Konstantinos Kallas 等NSDI 2026 · 4 次引用

它引用的 Paper4

  1. BreakApp: Automated, Flexible Application CompartmentalizationNikos Vasilakis, Ben Karel, Nick Roessler, Nathan Dautenhahn 等NDSS 2018 · 66 次引用
  2. POSH: A Data-Aware ShellDeepti Raghavan, Sadjad Fouladi, Philip Alexander Levis, Matei ZahariaUSENIX ATC 2020 · 33 次引用
  3. DiffStream: differential output testing for stream processing programsKonstantinos Kallas, Filip Niksic, Caleb Stanford, Rajeev AlurOOPSLA 2020 · 18 次引用
  4. Offload Annotations: Bringing Heterogeneous Computing to Existing Libraries and WorkloadsGina Yuan, Shoumik Palkar, Deepak Narayanan, Matei ZahariaUSENIX ATC 2020 · 11 次引用

相关 Paper

  1. hS: Speculative Script Reordering at Subprocess GranularityGeorgios Liargkovas, Di Jin, Tianyu (Ezri) Zhu, Dan Liu 等OSDI 2026 · 3 次引用
  2. Executable formal semantics for the POSIX shellMichael Greenberg, Austin J. BlattPOPL 2020 · 21 次引用
  3. Ahead-of-Time Analysis of Shell Program EffectsLukas Lazarek, Evangelos Lamprou, George Kapetanakis, Anirudh Narsipur 等SOSP 2026
  4. Discovering Parallelisms in Python ProgramsSiwei Wei, Guyang Song, Senlin Zhu, Ruoyi Ruan 等FSE 2023 · 1 次引用
  5. Pasta: A Cost-Based Optimizer for Generating Pipelining Schedules for Dataflow DAGsXiaozhen Liu, Yicong Huang, Xinyuan Lin, Avinash Kumar 等SIGMOD 2025 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖