Temperature-Aware Data Allocation for Embedded Systems with Cache and Scratchpad Memory

Authors:

Abstract
The hybrid memory architecture that contains both on-chip cache and scratchpad memory (SPM) has been widely used in embedded systems. In this article, we explore this hybrid memory architecture by jointly optimizing time performance and temperature for embedded systems with loops. Our basic idea is to adaptively adjust the workload distribution between cache and SPM based on the current temperature. For a problem in which the workload can be estimated a priori, we present a nonlinear programming formulation to optimally minimize the total execution time of a loop under the constraints of SPM size and temperature. To solve a problem in which the workload is not known a priori, we propose a temperature-aware adaptive loop scheduling algorithm called TALS to dynamically allocate data to cache and SPM at runtime. The experimental results show that our algorithms can effectively achieve both performance and temperature optimization for embedded systems with cache and SPM.
Funding Information
  • National Natural Science Foundation of China (61272103, 61373049)
  • National 863 Program (2013AA013202)
  • Germany/Hong Kong Joint Research Scheme
  • Research Grants Council of Hong Kong
  • Germany Academic Exchange Service of Germany (G_HK021/12)
  • Hong Kong Polytechnic University (4-ZZD7, G-YK24, G-YM10, G-YN36)

This publication has 43 references indexed in Scilit: