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

基于程序计数器的数据地址翻译

PC-Indexed Data Address Translation

University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Shyam Murthy, Gurindar S Sohi

AI总结:

本文提出了一种新的数据地址翻译方法PCAX,利用加载指令的程序计数器而非数据虚拟地址获取页面表项,旨在减少数据翻译查找缓冲器(DTLB)的缺失率,实验表明该方法可降低DTLB缺失率2-3倍,并减少二次TLB缺失。

摘要:

本文提出了一种新颖的数据地址翻译方法PCAX,利用加载指令的程序计数器而非数据虚拟地址来获取页面表项。PCAX旨在用于程序中一小部分静态加载指令。观察到一小部分静态加载指令导致DTLB大部分缺失,且动态实例常访问相同PTE。PCAX可将传统DTLB的有效缺失率降低2-3倍,甚至更多。此外,PCAX还能减少二次TLB缺失。由于PCAX所用表可在指令获取时同时访问,即使较慢,也能在数据地址计算前提供有效PTE。这在84个服务器跟踪中带来1.7%的平均性能提升,并减少7%的数据地址翻译能耗。

英文摘要:

This paper proposes a novel way to assist conventional data address translation. The approach, PC-Indexed Data Address Translation (PCAX), uses the PC of a load instruction, and not a data virtual address, to obtain the page table entry (PTE) for the data accessed by a load instruction. PCAX is intended to be used for a small subset of the static loads in a program. We observe that: (i) a small subset of static loads is responsible for most of the misses in a data translation lookaside buffer (DTLB), and (ii) often a dynamic instance of a static load instruction accesses the same PTE as the last dynamic instance, and consider PCAX for this subset. With PCAX the effective miss rate of a conventional DTLB can be cut down by a factor of 2-3X in many cases, and even more in some cases. PCAX is also beneficial in reducing the number of secondary TLB (STLB) misses. Since the tables used for PCAX can be accessed alongside instruction fetch, they can be slow, yet frequently provide a valid PTE even before the data address calculation. This yields an average performance improvement of 1.7% while reducing data address translation energy by 7% across 84 server traces.

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

↑