arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.17773cs.AR
收藏

一种通过共享缓存耦合两个独立硬件执行线程的微处理器评估

An evaluation of a microprocessor with two independent hardware execution threads coupled through a shared cache

Madhav P. Desai

AI总结:

本文评估了一种通过复制执行流水线并共享缓存构成的双硬件线程微处理器,其面积开销为单线程处理器的25%,在可并行化应用上实现1.6至1.88倍加速,但在缓存未命中频繁时性能下降。

摘要:

我们研究了通过在与现有执行流水线并行的情况下增加第二份执行流水线副本,来增强具有单条执行流水线的微处理器的效用。由此产生的双硬件线程微处理器具有两条相同、独立、单发射、按序执行的流水线(硬件线程),它们共享一个公共的内存子系统(由指令缓存、数据缓存以及内存管理单元组成)。从设计角度看,由于使用了现有的经过验证的执行流水线和内存单元实现,双线程处理器的组装与验证得以简化。由于内存单元由两个硬件线程共享,增加第二个硬件线程的相对面积开销为现有单线程处理器面积的25%。我们使用FPGA实现评估了双线程处理器相对于单线程处理器的性能。在可并行化的应用上,我们观察到1.6倍至1.88倍的加速。对于不可并行化的应用,加速则较为有限。我们还观察到,双线程处理器在产生大量缓存未命中的应用上性能会下降。

英文摘要:

We investigate the utility of augmenting a microprocessor with a single execution pipeline by adding a second copy of the execution pipeline in parallel with the existing one. The resulting dual-hardware-threaded microprocessor has two identical, independent, single-issue in-order execution pipelines (hardware threads) which share a common memory sub-system (consisting of instruction and data caches together with a memory management unit). From a design perspective, the assembly and verification of the dual threaded processor is simplified by the use of existing verified implementations of the execution pipeline and a memory unit. Because the memory unit is shared by the two hardware threads, the relative area overhead of adding the second hardware thread is 25\% of the area of the existing single threaded processor. Using an FPGA implementation we evaluate the performance of the dual threaded processor relative to the single threaded one. On applications which can be parallelized, we observe speedups of 1.6X to 1.88X. For applications that are not parallelizable, the speedup is more modest. We also observe that the dual threaded processor performance is degraded on applications which generate large numbers of cache misses.

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

↑