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

硬件预取器库

Arsenal of Hardware Prefetchers

Dishank Yadav, Chaitanya Paikara

摘要:

硬件预取是容许高成本DRAM访问的延迟容限优化技术之一。虽然硬件预取是大多数商业机器上流行的基本机制之一,但没有一种预取技术可以在所有访问模式和不同类型的工作负载中很好地工作。通过本文,我们提出阿森纳,预取框架,它允许不同的数据预取器提供的优势相结合,通过动态选择最适合的预取器为当前的工作量。从而有效地提高了预取系统的通用性。它基于经典的Sandbox预取器,该预取器动态适应并利用多个偏移量进行顺序预取。我们通过在运行时在多前瞻偏移预取和定时SKID预取等预取器之间切换来进行下一步。Arsenal使用了一个节省空间的池过滤器Bloom filters,它可以跟踪每个组件预取器的有用预取,从而帮助维护每个组件预取器的得分。这种方法被证明是提供更好的加速比任何单独的预取。阿森纳提供了44.29%的性能提高单核混合和19.5%的一些选定的25个代表性的多核混合。

英文摘要:

Hardware prefetching is one of the latency tolerance optimization techniques that tolerate costly DRAM accesses. Though hardware prefetching is one of the fundamental mechanisms prevalent on most of the commercial machines, there is no prefetching technique that works well across all the access patterns and different types of workloads. Through this paper, we propose Arsenal, a prefetching framework which allows the advantages provided by different data prefetchers to be combined, by dynamically selecting the best-suited prefetcher for the current workload. Thus effectively improving the versatility of the prefetching system. It bases on the classic Sandbox prefetcher that dynamically adapts and utilizes multiple offsets for sequential prefetchers. We take it to the next step by switching between prefetchers like Multi look Ahead Offset Prefetching and Timing SKID Prefetcher on the run. Arsenal utilizes a space-efficient pooling filter, Bloom filters, that keeps track of useful prefetches of each of these component prefetchers and thus helps to maintain a score for each of the component prefetchers. This approach is shown to provide better speedup than anyone prefetcher alone. Arsenal provides a performance improvement of 44.29% on the single-core mixes and 19.5% for some of the selected 25 representative multi-core mixes.

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

↑