Journal of Applied Sciences ›› 2012, Vol. 30 ›› Issue (4): 356-362.doi: 10.3969/j.issn.0255-8297.2012.04.005

• Electronic Engineering • Previous Articles     Next Articles

On-Chip Memory Dynamic Optimization for Embedded Linux

WU Jian-ping, FANG Pan, LING Ming, ZHANG Yang   

  1. National ASIC System Engineering Research Center, Southeast University, Nanjing 210096, China
  • Received:2011-05-20 Revised:2011-12-31 Online:2012-07-23 Published:2012-07-25

Abstract:

An on-chip memory (scratch-pad memory, SPM) dynamic optimization approach (auto profile
and page swap, APPS) for Linux user process is explored to improve system performance and reduce power
consumption. The SPM page zone is added to the memory model of Linux kernel by a virtual memory system.
The dynamic allocation mechanism for the SPM page frame is implemented based on the SPM page zone.
The general interface function for the SPM page frame assignment is provided for other processes. Based on
optimization for user program including code, stack and BSS segment, the APPS scheme is introduced. This
method can automatically analyze the hot-spots of processes in kernel mode and transmit them to the SPM
zone by a dedicated DMA channel. Therefore, the multi-process user program will be dynamically optimized.
Experimental results show that the proposed approach can improve the system performance.

Key words:  Linux, memory management, scratch-pad memory (SPM), auto profile and page swap (APPS)

CLC Number: