当前位置:主页 > 科技论文 > 计算机论文 >

基于预测原理的嵌入式内存分配算法设计

发布时间:2018-01-12 05:22

  本文关键词:基于预测原理的嵌入式内存分配算法设计 出处:《计算机工程与设计》2014年09期  论文类型:期刊论文


  更多相关文章: 内存块 利用率 碎片率 预测 合并


【摘要】:针对嵌入式系统中内存管理存在的实时性与碎片率较大等问题,分别从时间和空间角度对其进行分析,采用基于预测分配和合并分配原理的预测-合并分配机制。从时间上,利用预测线程预测下一次申请内存的大小,提前分配以减少系统等待内存创建的时间;将2次申请的内存块合并成一大块,以大块为申请单位申请内存块,以降低内存块被多次分割导致的内部碎片。μC/OS-Ⅱ平台对比实验结果表明,改进后的预测-合并内存分配算法能有效从时间和内存碎片率方面提高系统的整体性能。
[Abstract]:Aiming at the problems of real time and high fragment rate in memory management in embedded system, this paper analyzes them from the point of view of time and space. Based on the principle of predictive allocation and merge allocation, the predictor thread is used to predict the size of the next application memory in time, so as to reduce the time of system waiting for memory creation. The two applications are merged into one block, and the block is applied for as the application unit, so as to reduce the internal fragmentation caused by the multiple partition of the memory block. The results of comparison experiments on 渭 C / OS- 鈪,

本文编号:1412880

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1412880.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户c49d1***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com