Analysis and Improvement on FreeRTOS Memory Management Mechanism
HE Jian-zhong · Jisuanji gongcheng · 2010
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.