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

WaveCache:面向推测和乱序DataFlow的内存操作执行

Transactional WaveCache: Towards Speculative and Out-of-Order DataFlow Execution of Memory Operations

Leandro A. J. Marzulo, Felipe M. G. França, Vítor Santos Costa

摘要:

WaveScalar是第一个可以有效地提供命令式语言所需的顺序内存语义的DataFlow架构。这项工作提出了一种替代的内存排序机制,这种体系结构,事务WaveCache。我们的机制维护代码块内内存操作的执行顺序,称为波,但增加了推测执行的能力,乱序,从不同的波操作。这种排序机制的灵感来自于支持Transmittance Memories的进展。波被认为是原子区域,并作为嵌套事务执行。如果一个wave已经完成了所有内存操作的执行,只要前面的wave被提交,它就可以被提交。如果在推测波中检测到危险,则所有后续波(子波)都将中止并重新执行。我们在一组人工基准上评估WaveCache。如果基准测试不经常访问内存,我们可以实现大约90%的加速。在内存密集型应用程序上观察到33.1%和24%的加速,如果内存带宽成为瓶颈,则会出现高达16%的减速。对于一个充满WAW,WAR和RAW危险的应用程序,加速了139.7%。

英文摘要:

The WaveScalar is the first DataFlow Architecture that can efficiently provide the sequential memory semantics required by imperative languages. This work presents an alternative memory ordering mechanism for this architecture, the Transaction WaveCache. Our mechanism maintains the execution order of memory operations within blocks of code, called Waves, but adds the ability to speculatively execute, out-of-order, operations from different waves. This ordering mechanism is inspired by progress in supporting Transactional Memories. Waves are considered as atomic regions and executed as nested transactions. If a wave has finished the execution of all its memory operations, as soon as the previous waves are committed, it can be committed. If a hazard is detected in a speculative Wave, all the following Waves (children) are aborted and re-executed. We evaluate the WaveCache on a set artificial benchmarks. If the benchmark does not access memory often, we could achieve speedups of around 90%. Speedups of 33.1% and 24% were observed on more memory intensive applications, and slowdowns up to 16% arise if memory bandwidth is a bottleneck. For an application full of WAW, WAR and RAW hazards, a speedup of 139.7% was verified.

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

↑