| 注册
首页|期刊导航|计算机工程与应用|FreeRTOS内存管理方案的分析与改进

FreeRTOS内存管理方案的分析与改进

刘林 朱青 何昭晖

计算机工程与应用2016,Vol.52Issue(13):76-80,5.
计算机工程与应用2016,Vol.52Issue(13):76-80,5.DOI:10.3778/j.issn.1002-8331.1407-0557

FreeRTOS内存管理方案的分析与改进

Analysis and improvement of memory management scheme in FreeRTOS

刘林 1朱青 1何昭晖2

作者信息

  • 1. 湖南大学 电气与信息工程学院,长沙 410082
  • 2. 威胜集团有限公司,长沙 410205
  • 折叠

摘要

Abstract

The memory management shceme of Free Real Time Operating System(FreeRTOS)has some shortcomings, such as uncertain allocation time, frequent cutting, low utilization rate as well as inadequate consolidation mechanism, this paper adopts a strategy of"precised cutting"and"delayed merging"in order to reduce memory fragment and raise utilization rate furthest. Thus it introduces TLSF(Two-Level Segregated Fit)algorithm into FreeRTOS, using two levels of bitmap index to manage its dynamic memory and improving its process of memory allocation as well as release, then conducts the experimental test on the STM32 platform which ports with FreeRTOS. At last, the results show that this method improves the speed of memory allocation and reduces memory fragmentation rate.

关键词

FreeRTOS操作系统/内存管理/TLSF算法/STM32开发平台/内存碎片

Key words

FreeRTOS/memory management/Two-Level Segregated Fit(TLSF)algorithm/STM32 platform/memory fragment

分类

信息技术与安全科学

引用本文复制引用

刘林,朱青,何昭晖..FreeRTOS内存管理方案的分析与改进[J].计算机工程与应用,2016,52(13):76-80,5.

基金项目

国家高技术研究发展计划(863)(No.2011AA05A120). (863)

计算机工程与应用

OA北大核心CSCDCSTPCD

1002-8331

访问量0
|
下载量0
段落导航相关论文