arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2012.15422cs.PLcs.DC
收藏

一种顺序感知的并行Unix流水线数据流模型

An Order-Aware Dataflow Model for Parallel Unix Pipelines

Shivam Handa, Konstantinos Kallas, Nikos Vasilakis, Martin Rinard

摘要:

我们提出了一个并行Unix shell管道建模的Cocklow模型。为了准确地捕捉复杂Unix流水线的语义,Repllow模型是顺序感知的,即,在计算的语义中,并且因此在所得到的并行化中,BLOWLOW图中的节点消耗来自不同边的输入的顺序起着中心作用。我们使用这个模型来捕捉的语义转换,利用数据并行在Unix外壳计算,并证明其正确性。此外,我们还正式的翻译从Unix shell到的Ankllow模型,并从Ankllow模型回到一个并行的shell脚本。我们实现我们的模型和转换的编译器和优化通过系统并行shell管道,并使用它来评估47管道上实现的加速比。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑