一种基于二维选择准则的数据预取方法
An Approach to Data Prefetching Using 2-Dimensional Selection Criteria
摘要:
我们提出了一种方法来数据存储器预取增加了标准的预取缓冲区的选择标准的基础上的性能和使用模式的一个给定的指令。这种方法建立在基于模式匹配的预取器之上,具体地说,该预取器可以在流、步幅或流后跟步幅之间进行选择。我们跟踪最近调用的指令,以决定下一步要预取的数据量。该决定基于调用这些指令的频率和预取器的命中/未命中率。在我们的方法中,我们将预取的数据量分为三类:高程度,标准程度和低程度。我们对高预取度、标准预取度和低预取度的不同值进行了测试,以确定最佳组合分别为1、4、8行。二维选择标准将预取器的性能提高了9.5%,超过了第一个数据预取冠军。不幸的是,性能也下降了14%,但在我们测试的所有基准测试中平均保持相似。
英文摘要:
We propose an approach to data memory prefetching which augments the standard prefetch buffer with selection criteria based on performance and usage pattern of a given instruction. This approach is built on top of a pattern matching based prefetcher, specifically one which can choose between a stream, a stride, or a stream followed by a stride. We track the most recently called instructions to make a decision on the quantity of data to prefetch next. The decision is based on the frequency with which these instructions are called and the hit/miss rate of the prefetcher. In our approach, we separate the amount of data to prefetch into three categories: a high degree, a standard degree and a low degree. We ran tests on different values for the high prefetch degree, standard prefetch degree and low prefetch degree to determine that the most optimal combination was 1, 4, 8 lines respectively. The 2 dimensional selection criteria improved the performance of the prefetcher by up to 9.5% over the first data prefetching championship winner. Unfortunately performance also fell by as much as 14%, but remained similar on average across all of the benchmarks we tested.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。