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

开源RTOS内存管理机制分析和改进
引用本文:何巍,何建忠.开源RTOS内存管理机制分析和改进[J].计算机工程,2010,36(10):67-69.
作者姓名:何巍  何建忠
作者单位:上海理工大学光电与计算机工程学院,上海,200093
摘    要:针对开源RTOS(FreeRTOS)内存分配时间不确定及内存利用率低、不能很好支持动态内存分配等不足,研究FreeRTOS的内存管理机制并比较几种典型动态内存管理算法的优缺点。移植修改过的TLSF算法对管理机制进行改进,较小的内存分成固定大小的内存块,用一级位图索引组织,较大的内存用二级间隔表组织。实验结果表明该方法能较好地提高内存分配速度和利用率。

关 键 词:实时操作系统  开源RTOS  TLSF算法

Analysis and Improvement on FreeRTOS Memory Management Mechanism
HE Wei,HE Jian-zhong.Analysis and Improvement on FreeRTOS Memory Management Mechanism[J].Computer Engineering,2010,36(10):67-69.
Authors:HE Wei  HE Jian-zhong
Affiliation:(School of Optical-Electrical and Computer Engineering, University of Shanghai for Science and Technology, Shanghai 200093)
Abstract:The uncertainty of memory allocation time and low memory utilization are shortages of Free Real Time Operating System(FreeRTOS), which also lacks good support to dynamic memory allocation. To solve such problems, this paper analyzes the memory management mechanism of FreeRTOS and compares several typical dynamic memory management algorithms and try to improve its performance through the transplantation of modified Two Level Segregated Fit(TLSF) algorithm. The smaller memory is divided into fixed-size memory blocks and organized by bitmap index, while the larger memory is organized by TLSF. Experimental results show that this method can improve the memory allocation speed and memory utilization.
Keywords:Real Time Operating System(RTOS)  Free Real Time Operating System(FreeRTOS)  Two Level Segregated Fit(TLSF) algorithm
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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