A Novel Adaptive Scratchpad Memory Management Strategy

被引:5
作者
Deng, Ning [1 ]
Ji, Weixing [1 ]
Li, Jiaxin [1 ]
Shi, Feng [1 ]
Wang, Yizhuo [1 ]
机构
[1] Beijing Inst Technol, Sch Comp Sci & Technol, Beijing 100081, Peoples R China
来源
2009 15TH IEEE INTERNATIONAL CONFERENCE ON EMBEDDED AND REAL-TIME COMPUTING SYSTEMS AND APPLICATIONS, PROCEEDINGS | 2009年
关键词
Scratchpad memory; virtual memory; embedded processor;
D O I
10.1109/RTCSA.2009.33
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Scratchpad Memory (SPM) is a fast and small software-managed SRAM. Its current extensive uses in embedded processors are motivated by the advantages of power saving, small area and low access time compared with cache. However, existing SPM management methods depend heavily on profiling and compilers. The dependence on compiler also makes embedded applications hard to transplant. This paper presents a novel strategy to manage the scratchpad memory without compiler support. Based on the memory reference locality theory, a hardware random sampling module is adopted to dynamically identify the frequently accessed addresses at runtime. The consequential data movement and address redirection are handled by software operation with the assistance of memory management unit (MMU). We evaluate our method on 10 typical embedded applications and compare the results to a cache reference system. Experimental results show that, on average, our scheme can achieve 33.5% reduction in energy consumption with only slight (<1%) decrease in throughput versus the reference system.
引用
收藏
页码:236 / 241
页数:6
相关论文
共 50 条
[41]   Precise Management of Scratchpad Memories for Localising Array Accesses in Scientific Codes [J].
Groesslinger, Armin .
COMPILER CONSTRUCTION, PROCEEDINGS, 2009, 5501 :236-250
[42]   Scheduling of Synchronous Data Flow Models onto Scratchpad Memory-Based Embedded Processors [J].
Che, Weijia ;
Chatha, Karam S. .
ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2013, 13
[43]   Compilation of Stream Programs onto Scratchpad Memory Based Embedded Multicore Processors Through Retiming [J].
Che, Weijia ;
Chatha, Karam .
PROCEEDINGS OF THE 48TH ACM/EDAC/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2011, :122-127
[44]   SMART: A Heterogeneous Scratchpad Memory Architecture for Superconductor SFQ-based Systolic CNN Accelerators [J].
Zokaee, Farzaneh ;
Jiang, Lei .
PROCEEDINGS OF 54TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE, MICRO 2021, 2021, :912-924
[45]   Improving Thread-level Parallelism in GPUs Through Expanding Register File to Scratchpad Memory [J].
Yu, Chao ;
Bai, Yuebin ;
Sun, Qingxiao ;
Yang, Hailong .
ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2019, 15 (04)
[46]   Dynamic and adaptive SPM management for a multi-task environment [J].
Ji, Weixing ;
Deng, Ning ;
Shi, Feng ;
Zuo, Qi ;
Li, Jiaxin .
JOURNAL OF SYSTEMS ARCHITECTURE, 2011, 57 (02) :181-192
[47]   Static Minimization of Total Energy Consumption in Memory Subsystem for Scratchpad-Based Systems-on-Chips [J].
Menichelli, F. ;
Olivieri, M. .
IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2009, 17 (02) :161-171
[48]   Low-cost scratchpad memory organizations using heterogeneous cell sizes for low-voltage operations [J].
Gilani, Syed ;
Park, Taejoon ;
Kim, Nam Sung .
MICROPROCESSORS AND MICROSYSTEMS, 2014, 38 (07) :707-716
[49]   Compiler-directed scratchpad memory data transfer optimization for multithreaded applications on a heterogeneous many-core architecture [J].
Xiaohan Tao ;
Jianmin Pang ;
Jinlong Xu ;
Yu Zhu .
The Journal of Supercomputing, 2021, 77 :14502-14524
[50]   Compiler-directed scratchpad memory data transfer optimization for multithreaded applications on a heterogeneous many-core architecture [J].
Tao, Xiaohan ;
Pang, Jianmin ;
Xu, Jinlong ;
Zhu, Yu .
JOURNAL OF SUPERCOMPUTING, 2021, 77 (12) :14502-14524