+高级检索
基于程序动态特征的多级缓存协调预取机制
DOI:
作者:
作者单位:

作者简介:

通讯作者:

基金项目:


Multi-level cache coordinated prefetching mechanism based on program dynamic characteristics
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
    摘要:

    处理器的性能增长速度远超内存速度,导致内存访问延迟成为关键瓶颈,而预取技术成为性能提升的关键手段.不同于规则内存访问,间接内存访问更依赖于软件预取,因为采用硬件预取不仅增加硬件复杂性和成本,还难以针对具体应用特征进行优化.现有的间接内存预取通常基于静态编译器实现,存在局限性:一是直接将数据预取到L1缓存,未能充分利用多级缓存层次结构;二是统一的分阶段数据预取策略不能适应不同程序的差异性.为解决上述问题,提出了一种基于程序动态特征的多级缓存协调预取机制—MLCCP.MLCCP通过分析程序动态特征,为不同程序选择合适的预取策略.在具备间接内存访问特征的基准测试中,MLCCP在国产申威831处理器上实现了平均1.25倍的性能加速,相较于基于静态编译器软件预取方法Ainsworth & Jones,性能提升了1.20倍.

    Abstract:

    The growth of processor performance has far outpaced improvements in memory speed, making memory access latency a major performance bottleneck. However, prefetching plays a particularly critical role in improving performance. Different from regular memory accesses, indirect memory accesses rely more heavily on software prefetching, since hardware-based approaches significantly increase hardware complexity and cost, and are difficult to tailor to application-specific characteristics. Existing compiler-based software prefetching methods for indirect memory accesses face two main limitations: (i) they typically prefetch data only into the L1 cache, underutilizing the multi-level cache hierarchy; (ii) staged prefetching strategies are applied uniformly to all programs, without considering program-specific behavior. To address these issues, we propose MLCCP, a software-coordinated prefetching mechanism for indirect memory accesses. MLCCP analyzes dynamic program characteristics to select appropriate prefetching strategies for different programs. On benchmarks featuring indirect memory access patterns, MLCCP achieves an average 1.25× speedup on the domestic SW831 processor, representing a 1.20× improvement over the static compiler-based software prefetching method proposed by Ainsworth and Jones.

    参考文献
    相似文献
    引证文献
文章指标
  • PDF下载次数:
  • HTML阅读次数:
  • 摘要点击次数:
  • 引用次数:
引用本文

周浩杰 ?,程莹莹 ,韩耀辉 ,邵宁远 ,许啸跃 ,方伟 .基于程序动态特征的多级缓存协调预取机制[J].湖南大学学报:自然科学版,2026,53(10):227~237

复制
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2026-11-01
  • 出版日期:
作者稿件一经被我刊录用,如无特别声明,即视作同意授予我刊论文整体的全部复制传播的权利,包括但不限于复制权、发行权、信息网络传播权、广播权、表演权、翻译权、汇编权、改编权等著作使用权转让给我刊,我刊有权根据工作需要,允许合作的数据库、新媒体平台及其他数字平台进行数字传播和国际传播等。特此声明。
关闭