Computer Engineering and Applications ›› 2009, Vol. 45 ›› Issue (33): 16-18.DOI: 10.3778/j.issn.1002-8331.2009.33.006

• 博士论坛 • Previous Articles     Next Articles

System-level memory optimization approach based on LGDFG models

WANG Bin   

  1. Department of Communication Engineering,Hangzhou Dianzi University,Hangzhou 310018,China
  • Received:2009-06-25 Revised:2009-09-25 Online:2009-11-21 Published:2009-11-21
  • Contact: WANG Bin

基于LGDFG模型的系统级存储优化方法

汪 斌   

  1. 杭州电子科技大学 通信工程学院,杭州 310018
  • 通讯作者: 汪 斌

Abstract: This paper proposes a system-level memory optimization approach,which uses LGDFG(Large Grain Data Flow Graph) model to share memory space of application programs.LGDFG model comprises nodes and edges,which denote sub-functions and producing-consuming relationship of variables respectively.After checking the LGDFG,the live time of each global variable is determined.Variables which have non-overlapping live time can share the same memory space in different periods.Finally,AC3 decoding program is employed as an example to describe the approach in detail.Implementation results show that the memory space has decreased 25.8% for AC3 decoding program.This approach has reduced the data memory size of application programs significantly.

Key words: memory optimization, data flow graph, AC3, audio

摘要: 提出了一种基于LGDFG(粗颗粒度数据流图)的系统级存储优化方法,该方法为被优化的程序建立LGDFG模型,把每个程序段作为该模型的一个节点,分析前后节点之间的数据产生消耗关系,从而得到不同数据块对应的生存周期,对于生存周期相互间不重叠的数据段可以实现存储共享。以音频AC3解码程序为例,用LGDFG模型分析了程序中不同数据块之间的产生消耗关系,从而实现不同数据块间的存储共享。试验结果表明使用该方法AC3解码程序数据存储容量减少了25.8%,有效地减少了数据存储容量。

关键词: 存储优化, 数据流图, AC3, 音频

CLC Number: