首页 | 本学科首页   官方微博 | 高级检索  
     

嵌入式实时系统中动态内存管理算法的设计与实现
引用本文:沈非一,张延园,林奕.嵌入式实时系统中动态内存管理算法的设计与实现[J].计算机与现代化,2015,0(7):103.
作者姓名:沈非一  张延园  林奕
作者单位:西北工业大学计算机学院,陕西 西安,710129
基金项目:国家自然科学基金资助项目
摘    要:嵌入式实时系统中内存管理是非常重要的组成部分,在兼顾实时性和内存碎片率指标的要求下,本文基于伙伴系统和TLSF算法设计一种新的动态内存管理算法。该算法对于小块内存和大块内存采取不同的处理方式,小块内存利用伙伴算法管理,大块内存利用二级分段索引管理并调整二级索引的分配和释放队列顺序,同时对内存的分割条件予以限定。算法选用μCos III操作系统作为实验平台,在系统原有的内存管理算法基础上进行实现,实验结果表明该算法具有较好的时间和碎片率综合性能。目前该算法已经得到了实际应用。

关 键 词:动态内存管理    &mu  Cos  III    伙伴系统    TLSF  />  
收稿时间:2015-07-28

A Dynamic Memory Management Method Based on μC/OS
SHEN Fei-yi,ZHANG Yan-yuan,LIN Yi.A Dynamic Memory Management Method Based on μC/OS[J].Computer and Modernization,2015,0(7):103.
Authors:SHEN Fei-yi  ZHANG Yan-yuan  LIN Yi
Abstract:Memory management is important in real time system. This paper develops a new dynamic memory management algorithm based on Buddy system and TLSF algorithm on consideration of both real time and fragmentation rate. The new algorithm deals with large and small pieces of memory in different ways. Buddy system is used to manage small pieces while large ones are organized by two level segregating indices. This paper performs experimental study on μCos III OS by implementing the new method and which shows good performance in both time consuming and fragmentation rate. At present  the method has been applied to an actual project.
Keywords:dynamic memory management  μCos-III  Buddy system  TLSF
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机与现代化》浏览原始摘要信息
点击此处可从《计算机与现代化》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号