本文已被:浏览 1858次 下载 3185次
Received:May 17, 2011 Revised:June 19, 2011
Received:May 17, 2011 Revised:June 19, 2011
中文摘要: 基于嵌入式在智能工控中缓存预分配的思想,提出一种预分配缓冲区管理机制Index,该机制实现了缓存的静态分配和回收,并在试验中对该机制进行了改进,使其更好的适应高速小型数据报的分配和管理。同时对缓存动态分配回收策略做了研究提出一种连带释放缓存的思想。最大限度实现一次分配一次释放,很好的克服了缓冲区因多次分配回收造成的内存泄露问题。通过性能分析比较,Index 机制报文处理能力高效可靠。
中文关键词: 嵌入式缓存预分配策略 Index 机制 嵌入式缓存回收策略
Abstract:This paper proposes a pre-allocated buffer management mechanisms Index. Based on the idea of memory pre-allocation, the mechanism supports static and dynamic allocation and backup allocation. The mechanism is proved, and make it better adapt to the small data report distribution and management. At the same time, a study of the dynamic recovery has been done and proposed a strategy for the associated-release of dynamic recovery propose of maximum allocation of just by once to achieve the release of a strategy. Problem of memory link is solved by avoiding repeatedly memory allocate and recovery. Through the analysis and comparison,performance index mechanism of message handing capacity, high efficiency and reliable.
文章编号: 中图分类号: 文献标志码:
基金项目:
引用文本:
石永生,高照恒.基于Embed系统的缓存利用策略.计算机系统应用,2011,20(12):123-126,172
SHI Yong-Sheng,GAO Zhao-Heng.Embedded System Cache Utilization Strategy.COMPUTER SYSTEMS APPLICATIONS,2011,20(12):123-126,172
石永生,高照恒.基于Embed系统的缓存利用策略.计算机系统应用,2011,20(12):123-126,172
SHI Yong-Sheng,GAO Zhao-Heng.Embedded System Cache Utilization Strategy.COMPUTER SYSTEMS APPLICATIONS,2011,20(12):123-126,172