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 条
  • [41] Optimizing bandwidth allocation for heterogeneous traffic in IoT
    Zhijie Ma
    Qinglin Zhao
    Jun Huang
    Peer-to-Peer Networking and Applications, 2017, 10 : 610 - 621
  • [42] Flow-Aware Allocation for On-Chip Networks
    Banerjee, Arnab
    Moore, Simon W.
    2009 3RD ACM/IEEE INTERNATIONAL SYMPOSIUM ON NETWORKS-ON-CHIP, 2009, : 183 - 192
  • [43] Optimizing Power Allocation in LoRaWAN IoT Applications
    Al-Gumaei, Yousef A.
    Aslam, Nauman
    Chen, Xiaomin
    Raza, Mohsin
    Ansari, Rafay Iqbal
    IEEE INTERNET OF THINGS JOURNAL, 2022, 9 (05) : 3429 - 3442
  • [44] Optimizing bandwidth allocation for heterogeneous traffic in IoT
    Ma, Zhijie
    Zhao, Qinglin
    Huang, Jun
    PEER-TO-PEER NETWORKING AND APPLICATIONS, 2017, 10 (03) : 610 - 621
  • [45] Reliable On-chip Memory Design for CMPs
    BanaiyanMofrad, Abbas
    2012 31ST INTERNATIONAL SYMPOSIUM ON RELIABLE DISTRIBUTED SYSTEMS (SRDS 2012), 2012, : 487 - 488
  • [46] Thermally tuned on-chip optical memory
    Bose, Anindya
    Chakraborty, Rajib
    PHYSICA SCRIPTA, 2024, 99 (09)
  • [47] Optimizing Power Allocation to CPU and Memory Subsystems in Overprovisioned HPC Systems
    Sarood, Osman
    Langer, Akhil
    Kale, Laxmikanth
    Rountree, Barry
    de Supinski, Bronis
    2013 IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING (CLUSTER), 2013,
  • [48] On-chip flash memory microcomputers and their applications
    Tatezaki, Jun'ichi
    Asakami, Hiroaki
    Watanabe, Terukazu
    Hitachi Review, 1999, 48 (02): : 64 - 67
  • [49] A superconductive flash digitizer with on-chip memory
    Kaplan, SB
    Bradley, PD
    Brock, DK
    Gaidarenko, D
    Gupta, D
    Li, WQ
    Rylov, SV
    IEEE TRANSACTIONS ON APPLIED SUPERCONDUCTIVITY, 1999, 9 (02) : 3020 - 3025
  • [50] Comparison of a Ring On-Chip Network and a Code-Division Multiple-Access On-Chip Network
    Wang, Xin
    Nurmi, Jari
    VLSI DESIGN, 2007,