WCET-Aware Data Selection and Allocation for Scratchpad Memory

被引:0
作者
Wan, Qing [1 ]
Wu, Hui [1 ]
Xue, Jingling [1 ]
机构
[1] Univ New S Wales, Sch Comp Sci & Engn, Sydney, NSW 2052, Australia
关键词
Algorithms; Performance; Worst-Case Execution Time; Scratchpad Memory Allocation; Graph Coloring; Acyclic Graph Orientation;
D O I
10.1145/2345141.2248425
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In embedded systems, SPM (scratchpad memory) is an attractive alternative to cache memory due to its lower energy consumption and higher predictability of program execution. This paper studies the problem of placing variables of a program into an SPM such that its WCET (worst-case execution time) is minimized. We propose an efficient dynamic approach that comprises two novel heuristics. The first heuristic iteratively selects a most beneficial variable as an SPM resident candidate based on its impact on the k longest paths of the program. The second heuristic incrementally allocates each SPM resident candidate to the SPM based on graph coloring and acyclic graph orientation. We have evaluated our approach by comparing with an ILP-based approach and a longest-path-based greedy approach using the eight benchmarks selected from Powerstone and Malardalen WCET Benchmark suites under three different SPM configurations. Our approach achieves up to 21% and 43% improvements in WCET reduction over the ILP-based approach and the greedy approach, respectively.
引用
收藏
页码:41 / 50
页数:10
相关论文
共 29 条
  • [1] Angiolini F., 2004, PROC CASES, P259
  • [2] [Anonymous], P 5 IEEE ACM INT C H
  • [3] WCET-directed dynamic scratchpad memory allocation of data
    Deverge, Jean-Francois
    Puaut, Isabelle
    [J]. 19TH EUROMICRO CONFERENCE ON REAL-TIME SYSTEMS, PROCEEDINGS, 2007, : 179 - +
  • [4] Dynamic scratchpad memory management for code in portable systems with an MMU
    Egger, Bernhard
    Lee, Jaejin
    Shin, Heonshik
    [J]. ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2008, 7 (02)
  • [5] Falk H, 2009, DES AUT CON, P732
  • [6] An integrated hardware/software approach for run-time scratchpad management
    Francesco, P
    Marchal, P
    Atienza, D
    Benini, L
    Catthoor, F
    Mendias, JM
    [J]. 41ST DESIGN AUTOMATION CONFERENCE, PROCEEDINGS 2004, 2004, : 238 - 243
  • [7] Goldberg A., 1994, SIGSOFT Software Engineering Notes, P80
  • [8] Gustafsson Jan., 2010, WCET2010, P137
  • [9] Hennessy J., 2007, Computer Architecture-A Quantitative Approach
  • [10] Hardware/software managed scratchpad memory for embedded system
    Janapsatya, A
    Parameswaran, S
    Ignjatovic, A
    [J]. ICCAD-2004: INTERNATIONAL CONFERENCE ON COMPUTER AIDED DESIGN, IEEE/ACM DIGEST OF TECHNICAL PAPERS, 2004, : 370 - 377