期刊文献+

嵌入式Linux的片上存储动态优化 被引量:1

On-Chip Memory Dynamic Optimization for Embedded Linux
下载PDF
导出
摘要 为了充分利用片上高速便签存储器(scratch-pad memory,SPM),提升嵌入式Linux系统性能并降低功耗,该文提出一种面向嵌入式Linux用户进程的SPM动态优化方案.利用虚存管理技术在Linux内核的内存模型中添加SPM页区,建立以SPM页区为基础的动态SPM页框分配机制,并实现页框分配的通用接口函数.在实现对用户程序(包括代码段、栈和BSS段)优化的基础上,提出自主设计的自动采样交换器(auto profile and pageswap,APPS)优化方案.该方案能在内核态自动分析用户进程热点并通过专用DMA将其搬运到SPM中,最终实现多进程用户程序的动态SPM优化.实验结果表明,基于该优化方案的系统性能得到显著提升. 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.
出处 《应用科学学报》 EI CAS CSCD 北大核心 2012年第4期356-362,共7页 Journal of Applied Sciences
基金 "青蓝工程"基金资助
关键词 LINUX 内存管理 便签存储器 自动采样交换器 Linux memory management scratch-pad memory (SPM) auto profile and page swap (APPS)
  • 相关文献

参考文献14

  • 1WULF W A, MCKEE S A. Hitting the memory wall: implication of the obvious [J]. ACM Computer Archtiecture News, 1995, 23(1): 24-29.
  • 2PANDA P, DUTT N, NICOLAU A. Memory organiza- tion for data cache performance in embedded proces- sor [C]//IEEE Proceedings of System Synthesis, La Jolla, CA, 1996: 90-95.
  • 3STEINKE S, WEHMEYER L, LEE B, MARWEDEL P. Assigning program and data obj@cts to scratchpad for energy reduction IC]//Proceedings of the Conference on Design, Automation and Test in Europe. New York: IEEE Computer Society, 2002: 409-415.
  • 4MARTEIL F, JULIEN N, SENN E, MARTIN E. A com- plete methodology for memory optimization in DSP applications [C]//Proceedings of Euromicro Sympo- sium on Diuital System Design, 2004: 98-103.
  • 5STEINKE S, GRUNWALD N, WEHMEYER L, BANAKAR R, BALAKRISHNAN M, MARWEDEL P. Reducing en- ergy consumption by dynamic copying of instructions onto onchip memory [C]//Proceedings of the 15th In- ternational Symposium on System Synthesis, 2002: 213-218.
  • 6胡志刚,石金锋,蒋湘涛.针对能耗热点的SPM静态分配管理策略[J].计算机工程与应用,2010,46(3):58-61. 被引量:4
  • 7MILENKOVIC A, MILENKOVIC M, BARNES N. A per- formance evaluation of memory hierarchy in embed- ded systems lC]//Proceedings of the 35th Southeast- ern Symposium on System Theory, 2003: 427-431.
  • 8WANG Huan, ZHANG Yang, MEI Chen, LING Ming. Energy-oriented dynamic SPM allocation based on time-slotted cache conflict graph [C]//Design, Au- tomation & Test in Europe Conference & Exhibition (DATE), 2010: 598-601.
  • 9EGGER B, LEE J, SHIN H. Dynamic scratchpad mem- ory management for code in portable systems with an MMU [J]. ACM Transactions on Embedded Com- puting Systems (TECS), 2008, 7(2): 1-38.
  • 10CHO H, EGGER B, LEE J, SHIN H. Dynamic data scratchpad memory management for a memory sub- system with an MMU [C]// Proceedings of the 2007 ACM conference on Languages, Compilers, and Tools for Embedded Systems, New York, USA, 2007: 195- 206.

二级参考文献8

  • 1Banakar R,Steinke S,Lee B S,et al.Comparison of cache and scratch pad based memory system with respect to performance, area and energy consumption Tech,Rep:762[R].University of Dortmund, 2001.
  • 2Panda P R,Dutt N D,Nicolau A.Efficient utilization of scratchpad memory in embedded processor applications[C]//Proceedings of the European Design and Test Conference,Paris,1997:7-11.
  • 3Avissar O, Barua R,Stewart D.An optimal memory allocation scheme for scratch-pad based embedded systems[J].ACM Transactions on Embedded Systems, 2002,1 ( 1 ) : 6-26.
  • 4Steinke S,Wehmayer L,Lee B S.Assigning program and data objects to scratchpad for energy reduction[C]//Proceedings of the Design,Automation and Test in Europe Conference and Exhibition, Paris, 2002:409-415.
  • 5Shivakumar P,Jouppi N P.Cacti 3.0:An integrated cache timing, power,and area model Tech,Rep:2001/2[R].Compaq Computer Corporation, 2001.
  • 6Burger D,Austin T.Thc simplescalar tool set, version 2.0 Tech, Rep:cs1997/01[R].University of Wisconsin, 1997.
  • 7Lee C.Mediaheneh..A tool for evaluating multimedia and communications systems[C]//Proc 30th Annu IEEE Conf Microarchiteeture. Los Alamitos,CA:IEEE Computer Society Press, 1997:330-337.
  • 8王学香,浦汉来,杨军.基于扩展控制流图的片上存储器分配策略[J].电子学报,2007,35(8):1558-1562. 被引量:6

共引文献3

同被引文献4

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部