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

MRCN:面向近内存处理架构的增强一致性机制

MRCN: Enhanced Coherence Mechanism for Near Memory Processing Architectures

Amit Kumar Kabat, Shubhang Pandey, TG Venkatesh

AI总结:

针对近内存处理架构中CPU与处理单元共享内存的一致性开销问题,本文构建CONDA策略的高精度分析模型,提出MRCN监控回滚一致性方案,以有限硬件开销减少不必要重执行,性能较CONDA最高提升25%。

摘要:

在近内存处理(NMP)中,处理单元(PE)被放置在3D存储器附近,减少了CPU与内存之间不必要的数据传输。然而,由于CPU和NMP的处理单元共享内存空间,维持二者之间的一致性是一项挑战。当前大多数研究针对卸载代码块,采用细粒度或粗粒度的指令粒度来维持一致性。我们发现,对于大多数NMP卸载的指令而言,一致性冲突概率较低,等待一致性事务会阻碍性能提升。我们针对一种名为CONDA的现有一致性策略构建了分析模型,其准确率误差在4%以内。该模型明确了关键影响参数:卸载代码的粒度、冲突概率、事务时间以及提交时间。本文利用该分析模型确定了CONDA的潜在优化方向,提出了一种名为MRCN(NMP监控回滚一致性)的新型一致性方案。MRCN在解决一致性问题的同时,以有限的硬件开销消除了不必要的重执行。我们在合成基准测试和Rodinia基准测试上对MRCN进行了评估,分析结果与仿真结果的准确率误差在4%以内;在不同执行条件下,针对相同基准测试,MRCN相比CONDA策略性能提升最高可达25%。

英文摘要:

In Near Memory Processing (NMP), processing elements(PEs) are placed near the 3D memory, reducing unnecessary data transfers between the CPU and the memory. However, as the CPUs and the PEs of the NMP use a shared memory space, maintaining coherency between them is a challenge. Most current literature relies on maintaining coherence for fine-grained or coarse-grained instruction granularities for the offloaded code blocks. We understand that for most NMP-offloaded instructions, the coherence conflict is low, and waiting for the coherence transaction hinders the performance. We construct an analytical model for an existing coherence strategy called CONDA, which is within 4% accuracy. This model indicates the key parameters responsible - the granularity of offloaded code, probability of conflicts, transaction times, and commit time. This paper identifies the prospective optimizations using the analytical model for CONDA. It proposes a new coherence scheme called MRCN: Monitored Rollback Coherence for NMP. MRCN addresses the coherence issue while eliminating unnecessary re-executions with limited hardware overhead. The MRCN is evaluated on synthetic as well as Rodinia benchmarks. The analytical results are within 4% accuracy of the simulation results. The MRCN shows improvement of upto 25% over CONDA strategy for the same benchmark under different execution conditions.

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

↑