节点文献

一种基于arm9的嵌入式web服务器内存优化算法

Embedded Web Server-based ARM9 Memory Optimization Algorithm

【作者】 赵霞

【导师】 陈晓云; 谢建湘;

【作者基本信息】 兰州大学 , 计算机技术, 2010, 硕士

【摘要】 随着无线网络在生活中的应用,生产生活将会越来越便利,人们可以想象出的便利将通过无线网络远程控制技术得以实现。而对于无线网络设备来讲,其硬件环境以及内存容量与一般网络设备比较差距较大,需要更为优秀的软件算法的支持来平衡这种不足。本文主要工作是在CSRm前端智能控制器AT91RM9200上的嵌入式操作系统ARM-Linux平台上,自行设计开发了内存域优化管理算法-EWMO,以期能够提高CSRm前端智能控制器的反应速度。通过深入理解嵌入式系统动态内存技术思想,对已有的常用内存管理算法进行研究和分析,比较不同算法的优劣,并在此基础上结合其优点,提出一种嵌入式WEB服务器内存域优化管理算法,使其提高整体系统的控制反应速度,同时更为有效的避免内存泄露的问题。无线网络设备内存容量较一般网络设备小的多,并且对于实时性和安全性的要求又特别高,所以算法以及数据结构的设计中不仅要设计尽量小的代码段来节省内存空间,同时又要保证程序执行时的稳定性和实时性。传统的内存申请方式是直接通过malloc函数或者new运算来申请内存的,但通过这种方式申请内存会增加内存碎片的产生,内存分配效率很低。相较于传统内存分配方式,内存域的管理分配模式能够在很大程度上减少内存碎片的产生比提高内存分配效率。最后对方案实际测试的结果达到了以上的要求,证明方案高效、正确、可行。

【Abstract】 With the application of the wireless network in the life, production and life will become more convenient, the convenience people can imagine can be achieved by the remote control technology of the wireless network. Because as for the hardware environment and the memory capacity, there is big gap between the equipment of the wireless network and the equipment of the general network, we need the support of the better software algorithms to balance the shortfall.The efforts of this paper are designing and developping the optimization management algorithm of the memory domain-EWMO, which is based on the platform of the front CSRm intelligent controller on the AT91RM9200 ARM-Linux embedded operating system. The aim of the algorithm is explorating to improve the response speed of the front end CSRm intelligent controller by researching the optimization of the memory. Through deep understanding of the dynamic memory technology of the embedded systems and through research and analysis of the advantages and disadvantages of the memory management algorithms that have been commonly used, this paper proposed an optimized memory domain management algorithm based on the embedded WEB server, which can make it more effective to avoid memory leak. Because Memory capacity of the wireless network equipment is smaller than that of the usual network equipment, and the wireless network have higher requirements for real-time and safety, the designs of algorithms and data structures are as small as possible not only to save memory space, at the same time to ensure the stability and the real-time needs of program execution. The traditional ways of the application for the memory are using the malloc functions or directly using the new operator, which will increase the memory fragmentation, and decrease the efficience of the memory allocation Compared to the traditional ways of memory allocation, the management allocation model of memory domain can largely reduce the memory fragmentation and improve the efficiency of memory allocation.Finally, the actual test results show this algorithm achieves the above requirements, and the program is proved effective, correct and feasible.

  • 【网络出版投稿人】 兰州大学
  • 【网络出版年期】2010年 10期
节点文献中: 

本文链接的文献网络图示:

本文的引文网络