Abstract
In order to meet the requirements of rapid real-time and high memory utilization in the dynamic memory allocation of embedded real-time operating systems, this paper introduces memory block access attributes into the process of memory allocation and merge based on the TLSF algorithm and designs a TLSF-based embedded real-time operating system dynamic memory management mechanism. In the process of dynamic memory frequent application and merger will increase the longer time consumption and higher memory fragmentation rate, especially in the long-running embedded real-time operating system is more obvious. This paper uses the bitmap and the two-level segregated list data structure of the TLSF algorithm to quickly locate free memory blocks. This way can improve the search rate of free memory blocks. And by using the statistical data such as system dynamic memory allocation, release, reapply interval and duration, we can acquire the access attributes of memory blocks of different sizes. These access attributes contribute to selecting different memory allocation and merge strategies. The experimental results on μC/OS-II operating system show that the improved embedded dynamic memory management algorithm in this paper can effectively improve the memory allocation efficiency while ensuring a low fragmentation rate.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.