• 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
Advanced Search
Tang Tao, Yang Xuejun, and Lin Yisong. Locality Analysis and Optimization for Stream Programs Based on Iteration Sequence[J]. Journal of Computer Research and Development, 2012, 49(6): 1363-1375.
Citation: Tang Tao, Yang Xuejun, and Lin Yisong. Locality Analysis and Optimization for Stream Programs Based on Iteration Sequence[J]. Journal of Computer Research and Development, 2012, 49(6): 1363-1375.

Locality Analysis and Optimization for Stream Programs Based on Iteration Sequence

More Information
  • Published Date: June 14, 2012
  • The stream programming model has been widely studied in recent years, and it is proved to be a good candidate for the stream architecture based on software-managed streaming memory such as stream register file. However, some researches point out that the stream programming model is also beneficial to the hardware-managed coherent cache-based architectures. Besides, general data cache has been integrated into the GPGPU recently, which is the most important scenario where the stream programming model is used. Thus, exploiting the cache locality becomes very critical to improve the performance of the stream programs on these architectures. Due to the particular execution model, the way that the reuse carried by the stream programs is transformed into locality differs from that of serial programs. The traditional locality analysis method cannot be used to analyze the stream programs directly. Based on the detailed analysis of transformation from reuse to locality, we propose the concept of “iteration sequence” to capture the difference between the execution model of stream and serial programs. Then we extend the traditional locality analysis method and propose a general locality analysis method based on the iteration sequence. Further, we propose two locality optimization techniques derived from the locality analysis model. The experimental results obtained on the GPGPUSim simulator illustrate that our quantitative analysis about the locality of stream program is efficient and the locality optimization techniques can evidently improve the locality and the performance.
  • Related Articles

    [1]Du Yujie, Wang Zhigang, Wang Ning, Liu Xinyi, Yi Juncheng, Nie Jie, Wei Zhiqiang, Gu Yu, Yu Ge. Optimization Methods for Distributed Iterative Computing Performance over Multi-Dimensional Large Graph[J]. Journal of Computer Research and Development, 2023, 60(3): 654-675. DOI: 10.7544/issn1000-1239.202110839
    [2]Song Shuwei, Ni Xiaoze, Chen Ting. Gas Optimization for Smart Contracts: A Survey[J]. Journal of Computer Research and Development, 2023, 60(2): 311-325. DOI: 10.7544/issn1000-1239.202220887
    [3]He Jianhao, Li Lüzhou. An Overview of Quantum Optimization[J]. Journal of Computer Research and Development, 2021, 58(9): 1823-1834. DOI: 10.7544/issn1000-1239.2021.20210276
    [4]Liu Hui, Xu Jinlong, Zhao Rongcai, Yao Jinyang. Compiler Optimization Sequence Selection Method Based on Learning Model[J]. Journal of Computer Research and Development, 2019, 56(9): 2012-2026. DOI: 10.7544/issn1000-1239.2019.20180789
    [5]Liu Song, Wu Weiguo, Zhao Bo, Jiang Qing. Loop Tiling for Optimization of Locality and Parallelism[J]. Journal of Computer Research and Development, 2015, 52(5): 1160-1176. DOI: 10.7544/issn1000-1239.2015.20131387
    [6]Ai Lihua and Luo Siwei. Study of Grid Locality and Its Optimization[J]. Journal of Computer Research and Development, 2008, 45(10): 1669-1675.
    [7]Cui Zhendong, Wang Xicheng. Optimization Design of Turbine Engine Foundation on Grid[J]. Journal of Computer Research and Development, 2007, 44(10): 1652-1660.
    [8]Ge Hongwei and Liang Yanchun. A Multiple Sequence Alignment Algorithm Based on a Hidden Markov Model and Immune Particle Swarm Optimization[J]. Journal of Computer Research and Development, 2006, 43(8): 1330-1336.
    [9]Dou Quansheng, Zhou Chunguang, Xu Zhongyu, Pan Guanyu. Swarm-Core Evolutionary Particle Swarm Optimization in Dynamic Optimization Environments[J]. Journal of Computer Research and Development, 2006, 43(1): 89-95.
    [10]Dou Quansheng, Zhou Chunguang, and Ma Ming. Two Improvement Strategies for Particle Swarm Optimization[J]. Journal of Computer Research and Development, 2005, 42(5): 897-904.

Catalog

    Article views (758) PDF downloads (382) Cited by()

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return