Partitioning and allocation of scratch-pad memory for priority-based preemptive multi-task systems
Authors:
- 1 March 2010
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 15301591,p. 1124-1129
Abstract
Scratch-pad memory has been employed as a partial or entire replacement for cache memory due to its better energy efficiency. In this paper, we propose scratch-pad memory management techniques for priority-based preemptive multi-task systems. Our techniques are applicable to a real-time environment. The three methods which we propose, i.e., spatial, temporal, and hybrid methods, bring about effective usage of the scratch-pad memory space, and achieve energy reduction in the instruction memory subsystems. We formulate each method as an integer programming problem that simultaneously determines (1) partitioning of scratch-pad memory space for the tasks, and (2) allocation of program code to scratch-pad memory space for each task. It is remarkable that periods and priorities of tasks are considered in the formulas. Additionally, we implement an RTOS-hardware cooperative support mechanism for a runtime code allocation to the scratch-pad memory space. We have made the experiments with the fully functional real-time operating system. The experimental results with four task sets have demonstrated the effectiveness of our techniques. Up to 73% energy reduction compared to a standard method was achieved.Keywords
This publication has 12 references indexed in Scilit:
- Partitioning and Allocation of Scratch-Pad Memory in Priority-Based Multi-Task SystemsIPSJ Transactions on System and LSI Design Methodology, 2009
- Scratchpad memory management in a multitasking environment2008
- Operating system integrated energy aware scratchpad allocation strategies for multiprocess applications2007
- Exploiting statistical information for implementation of instruction scratchpad memory in embedded systemIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2006
- An efficient profile-based algorithm for scratchpad memory partitioningIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2005
- Scratchpad sharing strategies for multiprocess embedded systems: a first approach2005
- Assigning program and data objects to scratchpad for energy reduction2003
- An optimal memory allocation scheme for scratch-pad-based embedded systemsACM Transactions on Embedded Computing Systems, 2002
- Reducing energy consumption by dynamic copying of instructions onto onchip memory2002
- Scheduling Algorithms for Multiprogramming in a Hard-Real-Time EnvironmentJournal of the ACM, 1973