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 条
  • [31] Reliable On-Chip Voltage Regulation for Sustainable and Compact IoT and Heterogeneous Computing Systems
    Wang, Longfei
    Kose, Selcuk
    PROCEEDINGS OF THE 2018 GREAT LAKES SYMPOSIUM ON VLSI (GLSVLSI'18), 2018, : 285 - 290
  • [32] A fast on-chip profiler memory
    Lysecky, R
    Cotterell, S
    Vahid, F
    39TH DESIGN AUTOMATION CONFERENCE, PROCEEDINGS 2002, 2002, : 28 - 33
  • [33] Towards Energy Efficient Hybrid On-chip Scratch Pad Memory with Non-Volatile Memory
    Hu, Jingtong
    Xue, Chun Jason
    Zhuge, Qingfeng
    Tseng, Wei-Che
    Sha, Edwin H. -M.
    2011 DESIGN, AUTOMATION & TEST IN EUROPE (DATE), 2011, : 746 - 751
  • [34] Efficient Partitioning of On-Cloud Remote Executable Code and On-Chip Software for Complex-Connected IoT
    Lee, Dongkyu
    Cho, Jeonghun
    Park, Daejin
    2019 IEEE INTERNATIONAL CONFERENCE ON BIG DATA AND SMART COMPUTING (BIGCOMP), 2019, : 627 - 630
  • [35] Generating On-Chip Heterogeneous Systems from High-Level Parallel Code
    Cilardo, Alessandro
    Gallo, Luca
    2014 17TH EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD), 2014, : 161 - 168
  • [36] Optimizing an on-chip boost DC-DC converter with an on-chip or on-board inductor
    Chao, Paul C. -P.
    Cheng, Chun-Kai
    Kuan, Ching-Huan
    MICROSYSTEM TECHNOLOGIES-MICRO-AND NANOSYSTEMS-INFORMATION STORAGE AND PROCESSING SYSTEMS, 2015, 21 (12): : 2727 - 2735
  • [37] Optimizing power allocation in contemporary IoT systems: A deep reinforcement learning approach
    Zhang, Yan
    Jing, Ru
    Zou, Yuanjie
    Cao, Zaihui
    SUSTAINABLE COMPUTING-INFORMATICS & SYSTEMS, 2025, 46
  • [38] Optimizing Power and Performance for Reliable On-Chip Networks
    Yanamandra, Aditya
    Eachempati, Soumya
    Soundararajan, Niranjan
    Narayanan, Vijaykrishnan
    Irwin, Mary Jane
    Krishnan, Ramakrishnan
    2010 15TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC 2010), 2010, : 426 - 431
  • [39] Object-Level Memory Allocation and Migration in Hybrid Memory Systems
    Liu, Haikun
    Liu, Renshan
    Liao, Xiaofei
    Jin, Hai
    He, Bingsheng
    Zhang, Yu
    IEEE TRANSACTIONS ON COMPUTERS, 2020, 69 (09) : 1401 - 1413
  • [40] A Convolutional Code for On-chip Interconnect Crosstalk Reduction
    Courtay, Antoine
    Boutillon, Emmanuel
    Laurent, Johann
    ISCAS: 2009 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS, VOLS 1-5, 2009, : 145 - 148