基于马尔可夫链的嵌入式内存预测分配算法  被引量:2

Research of predictable embedded memory distribution mechanism based on Markov

在线阅读下载全文

作  者:程小辉[1,2] 龚幼民[1] 许安明[2] 

机构地区:[1]上海大学机电工程与自动化学院,上海200072 [2]桂林理工大学信息科学与工程学院,广西桂林541004

出  处:《计算机工程与设计》2013年第8期2727-2731,共5页Computer Engineering and Design

基  金:国家自然科学基金项目(61063001);广西自然科学基金项目(0832264)

摘  要:为了提高嵌入式系统内存动态分配效率,在分析经典内存分配算法和马尔可夫链预测原理的基础上,提出了一种嵌入式系统内存预测分配算法。该算法融合聚类分析法,利用内存分配的转移量统计信息及其概率矩阵对嵌入式系统内存动态分配进行预测。在实现中采用轻量级预测线程预测下一次申请的内存块大小,减少内存动态分配时等待内存创建的时间。通过增加预测线程的μC/OS-Ⅱ系统和未增加预测线程的μC/OS-Ⅱ系统进行对比实验,实验结果表明了该算法的可行性和高效性。To increase the allocation efficiency of dynamic memory for embedded system,a new design forecast method of embedded memory allocation algorithm based on analysis of classical memory allocation algorithm and Markov chain prediction principle is presented.The algorithm is used to predict the embedded system memory dynamic allocation by transfer quantity statistics from the memory allocation and probability matrix,combined with the clustering analysis.In the algorithm realization,lightweight prediction thread is proposed to forecast the next application in memory so as to reduce time of waiting for creating memory when system allocates memory.By the experiment comparison between μC/OS-Ⅱ system with predicted thread and μC/OS-Ⅱ system with no predicted thread,it is verified that the proposed algorithm is feasible and efficient.

关 键 词:嵌入式系统 内存管理 马尔可夫链 预测算法 μC OS-Ⅱ系统 

分 类 号:TP316.2[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象