Optimizing code allocation for hybrid on-chip memory in IoT systems

被引:0
|
作者
Sun, Zhe [1 ,2 ]
Zhou, Zimeng [3 ,4 ]
Fu, Fang-Wei [1 ,2 ]
机构
[1] Nankai Univ, Chern Inst Math, Tianjin 300071, Peoples R China
[2] Nankai Univ, LPMC, Tianjin 300071, Peoples R China
[3] Quan Cheng Lab, Jinan 250103, Peoples R China
[4] Shandong Univ, Sch Cyber Sci & Technol, Qingdao 266237, Peoples R China
关键词
Scratchpad memory; Hybrid on-chip memory; IoT systems; Cache interferences; Heuristic solution; SCRATCH-PAD MEMORY; ALGORITHMS;
D O I
10.1016/j.vlsi.2024.102195
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
With the increasing application of IoT devices, the memory subsystem, as the performance and energy bottleneck of IoT systems, has received a lot of attention. One of the keys is on -chip memory which can bridge the performance gap between the CPU and main memory. While many off -the -shelf embedded processors utilize the hybrid on -chip memory architecture containing scratchpad memories (SPMs) and caches, most existing literature ignores the collaboration between caches and SPMs. This paper proposes static SPM allocation strategies for the architecture mentioned above in IoT systems, which try to minimize the overall instruction memory subsystem latency and/or energy consumption. We capture the intra- and inter -task cache conflict misses via a fine-grained temporal cache behavior model. Based on this cache conflict information, we propose an integer linear programming (ILP) algorithm to generate an optimal static function level SPM allocation for system performance. Furthermore, to improve the scalability of the proposed allocation scheme for an enormous task set, we offer the interference factor to calculate the interference impact quantitatively. Then, based on the interference factor, we present two approximate knapsack based heuristic algorithms to provide near optimal static allocation schemes at both function- and basic block -level granularities, which favors fast design space exploration. The experiment results demonstrate that the proposed solution achieves a 30.85% improvement in memory performance, and up to 31.39% reduction in energy consumption, compared to the existing SPM allocation scheme at the function level. In addition, the proposed basic block level allocation algorithm shows better performance than our function level allocation algorithm and other basic block level allocation algorithm.
引用
收藏
页数:12
相关论文
共 50 条
  • [1] Optimizing Behavioral Near On-Chip Memory Computing Systems
    Si, Qilin
    Schafer, Benjamin Carrion
    2022 IEEE 33RD INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS (ASAP), 2022, : 27 - 33
  • [2] Data Allocation for Embedded Systems with Hybrid On-Chip Scratchpad and Caches
    Wang, Guanhua
    Ju, Lei
    Jia, Zhiping
    Li, Xin
    2013 IEEE 15TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS & 2013 IEEE INTERNATIONAL CONFERENCE ON EMBEDDED AND UBIQUITOUS COMPUTING (HPCC_EUC), 2013, : 366 - 373
  • [3] Polymorphic Memory: A Hybrid Approach for Utilizing On-Chip Memory in Manycore Systems
    Lim, Seung-Ho
    Seok, Hyunchul
    Park, Ki-Woong
    ELECTRONICS, 2020, 9 (12) : 1 - 23
  • [4] Fast and Accurate Code Placement of Embedded Software for Hybrid On-chip Memory Architecture
    Zhou, Zimeng
    Ju, Lei
    Jia, Zhiping
    Li, Xin
    2014 IEEE INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS, 2014 IEEE 6TH INTL SYMP ON CYBERSPACE SAFETY AND SECURITY, 2014 IEEE 11TH INTL CONF ON EMBEDDED SOFTWARE AND SYST (HPCC,CSS,ICESS), 2014, : 1008 - 1015
  • [5] CASA: Contention-Aware Scratchpad Memory Allocation for Online Hybrid On-Chip Memory Management
    Chang, Da-Wei
    Lin, Ing-Chao
    Chien, Yu-Shiang
    Lin, Chin-Lun
    Su, Alvin W. -Y.
    Young, Chung-Ping
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2014, 33 (12) : 1806 - 1817
  • [6] Unified On-chip Memory Allocation for SIMT Architecture
    Hayes, Ari B.
    Zhang, Eddy Z.
    PROCEEDINGS OF THE 28TH ACM INTERNATIONAL CONFERENCE ON SUPERCOMPUTING, (ICS'14), 2014, : 293 - 302
  • [7] Optimizing memory access traffic via runtime thread migration for on-chip distributed memory systems
    Fu, Weiwei
    Chen, Tianzhou
    Wang, Chao
    Liu, Li
    JOURNAL OF SUPERCOMPUTING, 2014, 69 (03): : 1491 - 1516
  • [8] Optimizing memory access traffic via runtime thread migration for on-chip distributed memory systems
    Weiwei Fu
    Tianzhou Chen
    Chao Wang
    Li Liu
    The Journal of Supercomputing, 2014, 69 : 1491 - 1516
  • [9] Efficient exploration of on-chip bus architectures and memory allocation
    Kim, S
    Im, C
    Ha, SH
    INTERNATIONAL CONFERENCE ON HARDWARE/SOFTWARE CODESIGN AND SYSTEM SYNTHESIS, 2004, : 248 - 253
  • [10] A preliminary study on data allocation of on-chip dual memory banks
    Cho, J
    Kim, J
    Paek, Y
    SIXTH ANNUAL WORKSHOP ON INTERACTION BETWEEN COMPILERS AND COMPUTER ARCHITECTURES, PROCEEDINGS, 2002, : 68 - 76