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
WU Jian-ping, FANG Pan, LING Ming, ZHANG Yang
Received:
Revised:
Online:
Published:
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:
TN302
WU Jian-ping, FANG Pan, LING Ming, ZHANG Yang. On-Chip Memory Dynamic Optimization for Embedded Linux[J]. Journal of Applied Sciences, 2012, 30(4): 356-362.
0 / / Recommend
Add to citation manager EndNote|Reference Manager|ProCite|BibTeX|RefWorks
URL: https://www.jas.shu.edu.cn/EN/10.3969/j.issn.0255-8297.2012.04.005
https://www.jas.shu.edu.cn/EN/Y2012/V30/I4/356