【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缓冲区存储预取块,而不是将它们直接写入高速缓存。我们显示,即使在没有预取的情况下,即使高速缓存命中率超过99%的跟踪,即使是很小的FIFO缓冲区也可以平均提高8%的总计数,并且总循环次数最多可以提高35%。我们还表明,较小的预取缓冲区使我们能够将缓存大小减半,而对性能没有明显影响。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号