This paper presents {\scshape PaSh}, a system for parallelizing POSIX shell scripts. Given a script, {\scshape 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 {\scshape PaSh}-provided {\scshape 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 {\scshape PaSh} uses. Finally, {\scshape PaSh}'s {\scshape PaSh}'s extensive evaluation over 44 unmodified {\scshape Unix} scripts shows significant speedups ($0.89$--$61.1\times$, avg: $6.7\times$) stemming from the combination of its program transformations and runtime primitives.


翻译:本文展示了 pOSIX 外壳脚本平行化的系统 ; 这是 POSIX 外壳脚本平行化的系统 。 根据脚本, kscshape PaSh} 将其转换为数据流图, 执行一系列显示平行化的语义- 保存程序转换, 然后将数据流图转换为脚本 -- 将 POSIX 构造添加为明确指导平行化和提供 prscshape unix} 的 prscshape Unix} 运行时原始化, 以解决与性能和正确性有关的问题。 轻量级的批注语言允许命令开发者表达其命令的关键平行性属性 。 同时对 POSIX 和 GNU 命令的平行性研究 -- 两个大且常用的组 -- 指导批注语言和优化聚合库, 用于 spshape PaSh} 提供的 pressshape PaShe} 高级原始化评估 超过 44 $ (Schepeciate$) 和 Rium $. 1\\ pass shemealtime ax pass pass slages.

0
下载
关闭预览

相关内容

Linux导论,Introduction to Linux,96页ppt
专知会员服务
76+阅读 · 2020年7月26日
Python图像处理,366页pdf,Image Operators Image Processing in Python
【陈天奇】TVM:端到端自动深度学习编译器,244页ppt
专知会员服务
85+阅读 · 2020年5月11日
Keras François Chollet 《Deep Learning with Python 》, 386页pdf
专知会员服务
144+阅读 · 2019年10月12日
【电子书推荐】Data Science with Python and Dask
专知会员服务
43+阅读 · 2019年6月1日
Web渗透测试Fuzz字典分享
黑白之道
20+阅读 · 2019年5月22日
已删除
将门创投
3+阅读 · 2019年5月6日
TensorFlow 2.0新特性之Ragged Tensor
深度学习每日摘要
18+阅读 · 2019年4月5日
Jiagu:中文深度学习自然语言处理工具
AINLP
90+阅读 · 2019年2月20日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
16+阅读 · 2018年12月24日
【推荐】中文处理(BiLSTM分词)工具包FoolNLTK
机器学习研究会
6+阅读 · 2017年12月27日
Arxiv
0+阅读 · 2020年12月1日
Directions for Explainable Knowledge-Enabled Systems
Arxiv
26+阅读 · 2020年3月17日
Arxiv
7+阅读 · 2018年1月30日
VIP会员
相关资讯
Web渗透测试Fuzz字典分享
黑白之道
20+阅读 · 2019年5月22日
已删除
将门创投
3+阅读 · 2019年5月6日
TensorFlow 2.0新特性之Ragged Tensor
深度学习每日摘要
18+阅读 · 2019年4月5日
Jiagu:中文深度学习自然语言处理工具
AINLP
90+阅读 · 2019年2月20日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
16+阅读 · 2018年12月24日
【推荐】中文处理(BiLSTM分词)工具包FoolNLTK
机器学习研究会
6+阅读 · 2017年12月27日
Top
微信扫码咨询专知VIP会员