【ACCESS精品源码栏目提醒】:网学会员--在 ACCESS精品源码编辑为广大网友搜集整理了:基于ARM的嵌入式LINUX的内存优化技术研究与实现(1) - 技术总结绩等信息,祝愿广大网友取得需要的信息,参考学习。
南京航空航天大学硕士学位论文基于ARM的嵌入式Linux的内存优化技术研究与实现姓名吴懿申请学位级别硕士专业计算机科学与技术指导教师章勇2011-03南京航空航天大学硕士学位论文 I 摘 要 随着计算机技术和信息通信技术的不断发展信息化时代的脚步已经越来越快。
在这个大背景下由于嵌入式系统在抗老化、防颠簸、极端环境试验中比其他架构的类似系统有着明显的优势故在我军的“高、精、尖”领域大量装备部队且由于Linux的开源性较其他系统的黑箱模式安全性更强故基于ARM的嵌入式Linux系统成为这个潮流中的主流产品。
但由于设计方面的特殊需求如在内存管理模式上照搬桌面Linux的模式则不能在内存使用效率上达到最优化。
本研究课题从Linux的内核着手从进程管理通信管理内存管理三大主要方向对其进行关键技术的解析特别对内存管理进行模型分析从用户内存管理器、进程虚拟内存管理器、物理内存管理器、内核缓冲区管理器五部分对其进行研究分别在系统启动时系统运行时的代码段、数据段、bss段、栈段、堆段ARM硬件相关用户体验四大方向对基于ARM的嵌入式Linux系统提出一个内存优化方案。
同时对堆栈的优化中的页面置换算法进行改进在Linux Kernel中添加一个RgScanProcessint itime int imemory int ipid int imode进程调用和对扫描程序kswapd进程进行规避系统主要任务进程所需内存空间的设计形成一个页面置换算法的LRU改进算法从而实现对系统的内存优化。
最后实现上述内存优化方案和改进算法通过试验验证其有效性。
利用三种样本进程模拟系统本身无序的进程运行流程得出测试结果结果表明课题相关改进对基于ARM的嵌入式Linux内存优化有一定的借鉴意义。
关键词嵌入式系统ARMLinux内存优化内核调用页面置换LRUkswapd 基于ARM的嵌入式Linux的内存优化技术研究与实现 II ABSTRACT With the computer technology and information and communication technology continues to evolve the information age has become increasingly a faster pace. Embedded system in anti-aging、anti-bump、the extreme environmental testing have a distinct advantage than similar systems in other structure so in our military these have a large number of troops using the embedded system. And because the open source nature of Linux over other systems and has more security than other black-box mode ARM-based embedded Linux system has become the mainstream of this trend in the product. However due to their special needs in the design the model of memory management in Linux on the desktop can not achieve its best efficiency. The research studies the Linux kernel in three main directions of the techniques which are process management、communications management and memory management. Particular we are from five parts of memory management which are memory management device from the user the process virtual memory manager physical memory manager and the kernel buffer manager to study it. Giving proposed memory optimization of ARM-based embedded Linux system in four aspects system startup the code segment、data segment、bss segment、stack segment and stack segment when the system is running ARM hardware related the direction of the user experience. Also we improve the page replacement algorithm of the stack in the Linux Kernel adding a RgScanProcess int itime int imemory int ipid int imode process calls and designing the system Memory that scanner kswapd processes needs to avoid the process of the main tasks of the system in this wa
上一篇:
易积分平台Android 版广告植入开发手册
下一篇:
对硕士毕业生迁移失业目的地的实证研讨