首页> 美国政府科技报告 >Exact Analysis of the Cache Behavior of Nested Loops
【24h】

Exact Analysis of the Cache Behavior of Nested Loops

机译:嵌套循环缓存行为的精确分析

获取原文

摘要

The authors develop from first principles an exact model of the behavior of loop nests executing in a memory hierarchy by using a nontraditional classification of misses that has the key property of composability. They use Presburger formulas to express various kinds of misses as well as the state of the cache at the end of the loop nest. They use existing tools to simplify these formulas and to count cache misses. The model is powerful enough to handle imperfect loop nests and various flavors of non- linear array layouts based on bit interleaving of array indices. They also indicate how to handle modest levels of associativity, and how to perform limited symbolic analysis of cache behavior. The complexity of the formulas relates to the static structure of the loop nest rather than to its dynamic trip count, allowing the model to gain efficiency in counting cache misses by exploiting repetitive patterns of cache behavior. Validation against cache simulation confirms the exactness of our formulation. Our method can serve as the basis for a static performance predictor to guide program and data transformations to improve performance.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号