We present a dataflow model for modelling parallel Unix shell pipelines. To accurately capture the semantics of complex Unix pipelines, the dataflow model is order-aware, i.e., the order in which a node in the dataflow graph consumes inputs from different edges plays a central role in the semantics of the computation and therefore in the resulting parallelization. We use this model to capture the semantics of transformations that exploit data parallelism available in Unix shell computations and prove their correctness. We additionally formalize the translations from the Unix shell to the dataflow model and from the dataflow model back to a parallel shell script. We implement our model and transformations as the compiler and optimization passes of a system parallelizing shell pipelines, and use it to evaluate the speedup achieved on 47 pipelines.


翻译:我们为模拟平行Unix 贝壳管道提供了一个数据流模型。 为了准确地捕捉复杂的Unix管道的语义,数据流模型是有秩序的,即数据流图中的节点消耗来自不同边缘的投入的顺序在计算语义和由此而来的平行化过程中发挥着核心作用。我们使用这个模型来捕捉利用Unix 贝壳计算中的数据平行的变异的语义,并证明这些变异的正确性。我们进一步将Unix 贝壳转换为数据流模型,并将数据流模型转换为平行的外壳脚本。我们把模型和变换作为平行贝壳管道系统的编译和优化通道,并用来评价47个管道的加速率。

0
下载
关闭预览

相关内容

UNIX操作系统(UNIX),是美国AT&T公司1971年在PDP-11上运行的操作系统。具有多用户、多任务的特点,支持多种处理器架构,最早由肯·汤普逊(Kenneth Lane Thompson)、丹尼斯·里奇(Dennis MacAlistair Ritchie)和道格拉斯·麦克罗伊于1969年在AT&T的贝尔实验室开发。 现为 Linux、BSD 和 Solaris 等多种符合 POSIX 标准的「Unix 类操作系统」的统称。
专知会员服务
53+阅读 · 2021年7月21日
专知会员服务
81+阅读 · 2021年6月20日
5G网络安全标准化白皮书, 53页pdf
专知会员服务
63+阅读 · 2021年5月15日
756页美国国家安全AI战略报告
专知会员服务
160+阅读 · 2021年3月25日
【经典书】Linux UNIX系统编程手册,1554页pdf
专知会员服务
44+阅读 · 2021年2月20日
【博士论文】解耦合的类脑计算系统栈设计
专知会员服务
29+阅读 · 2020年12月14日
Linux导论,Introduction to Linux,96页ppt
专知会员服务
76+阅读 · 2020年7月26日
知识图谱推理,50页ppt,Salesforce首席科学家Richard Socher
专知会员服务
105+阅读 · 2020年6月10日
LibRec 精选:AutoML for Contextual Bandits
LibRec智能推荐
7+阅读 · 2019年9月19日
Transferring Knowledge across Learning Processes
CreateAMind
26+阅读 · 2019年5月18日
阿里120页PPT诠释国家“智能+”战略
智能交通技术
4+阅读 · 2019年4月22日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
16+阅读 · 2018年12月24日
tensorflow项目学习路径
北京思腾合力科技有限公司
10+阅读 · 2017年11月23日
推荐|TensorFlow/PyTorch/Sklearn实现的五十种机器学习模型
全球人工智能
24+阅读 · 2017年7月14日
Arxiv
0+阅读 · 2021年9月7日
Arxiv
5+阅读 · 2020年10月14日
Arxiv
7+阅读 · 2018年1月30日
Arxiv
8+阅读 · 2018年1月30日
VIP会员
相关VIP内容
专知会员服务
53+阅读 · 2021年7月21日
专知会员服务
81+阅读 · 2021年6月20日
5G网络安全标准化白皮书, 53页pdf
专知会员服务
63+阅读 · 2021年5月15日
756页美国国家安全AI战略报告
专知会员服务
160+阅读 · 2021年3月25日
【经典书】Linux UNIX系统编程手册,1554页pdf
专知会员服务
44+阅读 · 2021年2月20日
【博士论文】解耦合的类脑计算系统栈设计
专知会员服务
29+阅读 · 2020年12月14日
Linux导论,Introduction to Linux,96页ppt
专知会员服务
76+阅读 · 2020年7月26日
知识图谱推理,50页ppt,Salesforce首席科学家Richard Socher
专知会员服务
105+阅读 · 2020年6月10日
相关资讯
LibRec 精选:AutoML for Contextual Bandits
LibRec智能推荐
7+阅读 · 2019年9月19日
Transferring Knowledge across Learning Processes
CreateAMind
26+阅读 · 2019年5月18日
阿里120页PPT诠释国家“智能+”战略
智能交通技术
4+阅读 · 2019年4月22日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
16+阅读 · 2018年12月24日
tensorflow项目学习路径
北京思腾合力科技有限公司
10+阅读 · 2017年11月23日
推荐|TensorFlow/PyTorch/Sklearn实现的五十种机器学习模型
全球人工智能
24+阅读 · 2017年7月14日
Top
微信扫码咨询专知VIP会员