首页|MuDP: multi-granularity data placement for uniform loops on SPM-DRAM architectures to minimize latency

MuDP: multi-granularity data placement for uniform loops on SPM-DRAM architectures to minimize latency

扫码查看
Scratch-pad memory (SPM) has been widely used in embedded systems because it allows software-controlled data placement. By designing data placement strategies, optimal solutions with minimal memory access latency for loops on SPM-DRAM architecture can be explored. Although existing works effectively reduce the latency by using fine-grained data placement methods, they fail in solving the case of inconsecutive array access. Meanwhile, fine-grained strategy can lead to excessive memory activation overhead, making it less efficient. Therefore, in this paper, we first propose a finegrained dynamic programming algorithm, called FiDP, to tackle unsolved case and minimize latency. In order to mitigate the frequent activation before data access, we then add a medium-grained scheme to our strategy. It can achieve a better solution than FiDP by strictly formulating an integer linear programming (ILP) problem and considering multiple granularities, which is called MuILP. Furthermore, to compensate for the high time complexity of ILP, we develop a heuristic multi-granularity data placement algorithm, called HMuDP, which achieves a near-optimal solution with lower complexity. Experimental results show that our FiDP reduces the total latency by 75.90%, 47.70% and 12.34% compared with LRU-cache, a greedy-based comparison method (called Uday) and a dynamic programming-based comparison method (called DLAA). Besides, our MuILP and HMuDP yield less latency than FiDP with 45.10% and 43.14% average improvement, respectively.

scratch-pad memorydata placementloopsembedded system

Yixuan DU、Edwin Hsing-Mean SHA、Yuhong SONG、Yibo GUO、Longshan XU、Qingfeng ZHUGE

展开 >

School of Computer Science and Technology, East China Normal University, Shanghai 200062, China

School of Computer and Artificial Intelligence, Zhengzhou University, Zhengzhou 450001, China

2025

Frontiers of computer science

Frontiers of computer science

SCI
ISSN:2095-2228
年,卷(期):2025.19(5)
  • 21