【24h】

Cache Prefetching in Embedded DSPs

机译:嵌入式DSP中的缓存预取

获取原文

摘要

Prefetching has been a commonplace feature in the general purpose CPU world for more than a decade but has been much less common in the embedded and mobile world, moreover it has not been utilized for DSPs. The goal of this paper is to adapt and simulate straight-forward hardware prefetching techniques for embedded DSPs, assess their performance using the cycle count metric and find their potential improvement under the strict constraints of low power and low complexity. By using industry standard benchmarks we come to the conclusion that even though these algorithms exhibit a very high inherent hit rate, total cycle count improvement is possible due to relatively high external memory delay that stems from shared buses. Several parameters are simulated, including but not limited to cache size, number of prefetched blocks and the use of a small FIFO buffer to store the prefetched blocks as opposed to writing them directly into cache memory. We show that even a small FIFO buffer results in an improvement of 8% on average and up to 35% in total cycle count even in traces that exhibited a cache hit rate of over 99% without prefetching. We also show that a small prefetch buffer enables us to halve the cache size with no discernible effect on performance.
机译:预取在通用CPU世界中是一个普遍的功能,超过十年,但在嵌入式和移动世界中已经不太常见,而且它没有用于DSP。本文的目标是为嵌入式DSP进行调整和模拟直接硬件预取技术,使用循环计数来评估它们的性能,并在严格的低功率和低复杂性的严格约束下找到它们的潜在改进。通过使用行业标准基准,我们得出结论,即使这些算法表现出非常高的固有击球率,由于相对高的外部存储器延迟,可以源于来自共用总线的相对高的外部存储器延迟,可以进行总循环计数。模拟了几个参数,包括但不限于缓存大小,预取块数和使用小的FIFO缓冲区存储预取块,而不是直接将它们写入缓存存储器中。我们表明,即使是一个小型FIFO缓冲区也会导致平均循环计算的8 %,即使在没有预取99 %的缓存命中率超过99 %的迹线,也会平均增长8 %。我们还表明,小型预取缓冲区使我们能够对缓存大小进行减半,没有对性能的效果。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号