arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1804.07981cs.DC
收藏

交通模型的元胞自动机并行实现

Parallel Implementations of Cellular Automata for Traffic Models

Moreno Marzolla

摘要:

Biham-Middleton-Levine(BML)交通模型是一个简单的二维离散元胞自动机(CA)模型,用于研究交通流中的自组织和相变。从计算的角度来看,BML模型表现出离散CA的通常特征,其中自动机的状态根据取决于每个单元及其邻居的状态的简单规则进行更新。在本文中,我们研究了各种优化的影响,加快CA计算的BML模型作为一个案例研究。特别是,我们描述和分析的影响,依赖于CPU的功能,如多个核心或SIMD指令,并在GPU上的几个并行实现。实验评估提供了定量措施的回报,每种技术的加速方面,一个简单的串行实现。我们的研究结果表明,CPU和GPU实现的BML流量模型之间的性能差距可以通过巧妙地利用所有CPU功能来减少。

英文摘要:

The Biham-Middleton-Levine (BML) traffic model is a simple two-dimensional, discrete Cellular Automaton (CA) that has been used to study self-organization and phase transitions arising in traffic flows. From the computational point of view, the BML model exhibits the usual features of discrete CA, where the state of the automaton are updated according to simple rules that depend on the state of each cell and its neighbors. In this paper we study the impact of various optimizations for speeding up CA computations by using the BML model as a case study. In particular, we describe and analyze the impact of several parallel implementations that rely on CPU features, such as multiple cores or SIMD instructions, and on GPUs. Experimental evaluation provides quantitative measures of the payoff of each technique in terms of speedup with respect to a plain serial implementation. Our findings show that the performance gap between CPU and GPU implementations of the BML traffic model can be reduced by clever exploitation of all CPU features.

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

↑