Compiler-assisted cache replacement: Problem formulation and performance evaluation

被引:1
作者
Yang, HB [1 ]
Govindarajan, R
Gao, GR
Hu, Z
机构
[1] Univ Delaware, Dept Elect & Comp Engn, Newark, DE 19716 USA
[2] Indian Inst Sci, Dept Comp Sci & Automat, Bangalore 560012, Karnataka, India
来源
LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING | 2004年 / 2958卷
关键词
D O I
10.1007/978-3-540-24644-2_6
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Recent research results show that conventional hardware-only cache solutions result in unsatisfactory cache utilization for both regular and irregular applications. To overcome this problem, a number of architectures introduce instruction hints to assist cache replacement. For example, Intel Itanium architecture augments memory accessing instructions with cache hints to distinguish data that will be referenced in the near future from the rest. With the availability of such methods, the performance of the underlying cache architecture critically depends on the ability of the compiler to generate code with appropriate cache hints. In this paper we formulate this problem - giving cache hints to memory instructions such that cache miss rate is minimized - as a 0/1 knapsack problem, which can be efficiently solved using a dynamic programming algorithm. The proposed approach has been implemented in our compiler testbed and evaluated on a set of scientific computing benchmarks. Initial results show that our approach is effective on reducing the cache miss rate and improving program performance.
引用
收藏
页码:77 / 92
页数:16
相关论文
共 22 条
  • [1] Allen R., 2002, OPTIMIZING COMPILERS
  • [2] ANANTHARAMAN S, 1998, P 1998 IEEE REAL TIM
  • [3] [Anonymous], 1342 U WISC COMP SCI
  • [4] BURGER DC, 1995, CSTR951261 WMADISONC
  • [5] CALLAHAN D, 1990, P ACM SIGPLAN 90 C P, P53
  • [6] CHI CH, 1989, P SIGPLAN PLDI 89 PO, P344
  • [7] CHI CH, 1989, 22 ANN HAW INT C SYS, P277
  • [8] CORMEN TH, 1992, INTRO ALGORITHMS
  • [9] STRATEGIES FOR CACHE AND LOCAL MEMORY MANAGEMENT BY GLOBAL PROGRAM TRANSFORMATION
    GANNON, D
    JALBY, W
    GALLIVAN, K
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1988, 5 (05) : 587 - 616
  • [10] GAO GR, 1996, P 1996 INT WORKSH LA