当前位置:主页 > 科技论文 > 计算机论文 >

基于OSP平台的内存管理研究及实现

发布时间:2018-07-16 09:35
【摘要】:随着通信技术和互联网行业的迅猛发展,以及电子智能产品的普及,嵌入式系统的应用越来越广泛。新一代全球无线通信标准LTE的提出,使得嵌入式软件平台的开发逐步成为通信领域设备级嵌入式单板软件新的开发模式和实现思想。内存管理的基本任务就是有效地对动态和静态内存进行分配、回收,并同时保证系统的快速性和稳定性。因此,本文研究基于嵌入式软件平台的内存管理技术,对保证通信系统中数据存储和发送的安全性和可靠性具有重要意义。 本文基于嵌入式软件平台OSP,对四种常用的动态内存管理算法的实现原理、算法性能和基带处理单元BBU的内存需求进行分析,研究出适用于OSP平台的内存管理方案R3,设计和实现OSP平台的内存管理,并在支持PowerPC体系结构的嵌入式系统下,通过Linux终端对BBU板内存管理模块进行功能测试,分析测试结果,验证OSP平台内存管理的可行性。本文主要工作如下: (1)研究了嵌入式软件平台OSP的相关原理,设计出OSP平台内存管理模块的总体框架,并讲解了实现系统内存管理的关键技术,包括进程内存分布、内存分配方式、虚拟内存、内存碎片的分类、如何减少内存碎片等。 (2)研究了Glibc、TCMalloc、TLSF、Memory Pool等四种常用的动态内存管理算法的原理,比较各算法在不同系统需求下的优势与不足,在X86和PPC环境下,编程实现了算法的性能测试,并对BBU内存需求进行分析,研究出符合OSP应用实际需求的内存管理方案R3。 (3)采用内存管理方案R3,将内存区域分类,设计了基本数据结构及全局变量,通过编码实现了OSP平台的内存管理,包括内存初始化、内存申请、内存释放、内存的线程Cache、内存信息查看、当前任务内存信息查看、内存覆盖检查、内存经验值统计和内存转换等,为在基带处理单元BBU硬件上实现OSP平台的内存管理打下了基础。 (4)分析了基带处理单元BBU板的硬件架构和主要单元的功能,在PPC环境下对OSP内存管理模块进行板级测试,按照测试流程对各进程的内存数据进行逐步分析和统计,最终在硬件上实现了OSP平台的内存管理,为基带处理单元BBU在OSP平台下的消息通信提供了高效、稳定的内存管理机制。
[Abstract]:With the rapid development of communication technology and Internet industry, as well as the popularity of electronic intelligent products, embedded systems are more and more widely used. With the new generation of global wireless communication standard LTE, the development of embedded software platform has gradually become a new development mode and realization idea of device level embedded veneer software in communication field. The basic task of memory management is to allocate and recycle the dynamic and static memory effectively, and at the same time to ensure the system's rapidity and stability. Therefore, the research of memory management technology based on embedded software platform is of great significance to ensure the security and reliability of data storage and transmission in communication system. Based on the embedded software platform OSPs, this paper analyzes the implementation principle, algorithm performance and memory requirement of BBU, the four commonly used dynamic memory management algorithms. The memory management scheme R3 for OSP platform is studied. The memory management of OSP platform is designed and implemented. Under the embedded system supporting PowerPC architecture, the function of BBU board memory management module is tested through Linux terminal, and the test results are analyzed. Verify the feasibility of OSP platform memory management. The main work of this paper is as follows: (1) the related principles of the embedded software platform OSP are studied, the overall framework of the OSP platform memory management module is designed, and the key technology of realizing the system memory management, including the distribution of process memory, is explained. Memory allocation, virtual memory, classification of memory fragments, how to reduce memory fragmentation, etc. (2) the principle of four commonly used dynamic memory management algorithms, such as Glibcn TCMallocn TLSFU memory Pool, is studied. Compared the advantages and disadvantages of each algorithm under different system requirements, under the X86 and PPC environment, the performance of the algorithm is tested, and the BBU memory requirements are analyzed. The memory management scheme R3which meets the actual requirements of OSP applications is studied. (3) the memory management scheme R3 is adopted to classify the memory regions, design the basic data structure and global variables, and realize the memory management of OSP platform by coding. Including memory initialization, memory request, memory release, memory thread Cache, memory information view, current task memory information view, memory overlay check, memory experience value statistics and memory conversion, etc. It lays a foundation for realizing the memory management of OSP platform on BBU hardware. (4) the hardware architecture of BBU board and the function of main unit are analyzed. In the PPC environment, the OSP memory management module is tested at the board level. According to the test flow, the memory data of each process are analyzed and counted step by step. Finally, the memory management of the OSP platform is realized on the hardware. It provides an efficient and stable memory management mechanism for message communication of BBU on OSP platform.
【学位授予单位】:武汉理工大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP368.1

【参考文献】

相关期刊论文 前1条

1 闫家年;陈文光;郑纬民;;面向结构体数据布局优化的高效内存管理[J];清华大学学报(自然科学版);2011年01期

相关硕士学位论文 前6条

1 姜力波;Linux内存管理分析与研究[D];电子科技大学;2011年

2 王元;嵌入式Linux数控系统的底层平台构建[D];上海交通大学;2012年

3 何伦;基于Linux的IMA软件平台的设计与实现[D];上海交通大学;2012年

4 李志军;面向嵌入式实时系统的动态内存管理方法研究[D];重庆大学;2007年

5 李满丽;复杂嵌入式系统内存管理方案的研究与实现[D];厦门大学;2009年

6 严涛;KVM系统任务管理的设计与实现[D];华中科技大学;2009年



本文编号:2125974

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2125974.html


Copyright(c)文论论文网All Rights Reserved | 网站地图

版权申明:资料由用户6ef29***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱[email protected]