• 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
Advanced Search
Zheng Long, Liao Xiaofei, Wu Song, Jin Hai. A Replay System for Performance Analysis of Multi-Threaded Programs[J]. Journal of Computer Research and Development, 2015, 52(1): 45-55. DOI: 10.7544/issn1000-1239.2015.20140105
Citation: Zheng Long, Liao Xiaofei, Wu Song, Jin Hai. A Replay System for Performance Analysis of Multi-Threaded Programs[J]. Journal of Computer Research and Development, 2015, 52(1): 45-55. DOI: 10.7544/issn1000-1239.2015.20140105

A Replay System for Performance Analysis of Multi-Threaded Programs

More Information
  • Published Date: December 31, 2014
  • In recent years, it is a hotspot for program analysis to detect performance bugs in multi-threaded applications. However, traditional record/replay systems focusing on concurrent anomalies have many limitations to tackle the issues of performance bugs, such as replay overhead and imprecision of replay-based execution time. To cope with the problems above, this paper proposes an improved replay system PerfPlay which can be used for the performance analysis of multi-threaded programs. To be specific, we first collect and analyze the requisite information for the program performance. Secondly, the different replay strategies are discussed and then we present a novel schedule-driven strategy to ensure the performance fidelity of replay system. Finally, we study the classical performance problem of “inter-thread unnecessary lock contention” under the framework of PerfPlay. Compared with the traditional replay strategies, our experimental results demonstrate the performance fidelity of PerfPlay. Through the case study, we find a few performance bugs in real-world and further verify the effectiveness of PerfPlay.
  • Related Articles

    [1]Tian Zhenzhou, Wang Ningning, Wang Qing, Gao Cong, Liu Ting, Zheng Qinghua. Plagiarism Detection of Multi-Threaded Programs by Mining Behavioral motifs[J]. Journal of Computer Research and Development, 2020, 57(1): 202-213. DOI: 10.7544/issn1000-1239.2020.20180871
    [2]Gao Ke, Fan Dongrui, Liu Zhiyong. Decoupling Contention with VRB Mechanism for Multi-Threaded Applications[J]. Journal of Computer Research and Development, 2015, 52(11): 2577-2588. DOI: 10.7544/issn1000-1239.2015.20148178
    [3]Su Wen, Zhang Longbing, Gao Xiang, Su Menghao. A Cache Locking and Direct Cache Access Based Network Processing Optimization Method[J]. Journal of Computer Research and Development, 2014, 51(3): 681-690.
    [4]Tang Yixuan, Wu Junmin, Chen Guoliang, Sui Xiufeng, Huang Jing. A Utility Based Cache Optimization Mechanism for Multi-Thread Workloads[J]. Journal of Computer Research and Development, 2013, 50(1): 170-180.
    [5]Shou Lidan, Hu Wei, Luo Xinyuan, Chen Ke, and Chen Gang. An Implementation of Attributive Predicate Lock in Database System[J]. Journal of Computer Research and Development, 2012, 49(10): 2260-2270.
    [6]Yuan Qingbo, Zhao Jianbo, Chen Mingyu, Sun Ninghui. Performance Bottleneck Analysis and Solution of Shared Memory Operating System on a Multi-Core Platform[J]. Journal of Computer Research and Development, 2011, 48(12): 2268-2276.
    [7]Wen Shuguang, Xie Gaogang. libpcap-MT: A General Purpose Packet Capture Library with Multi-Thread[J]. Journal of Computer Research and Development, 2011, 48(5): 756-764.
    [8]Tian Hangpei, Gao Deyuan, Fan Xiaoya, and Zhu Yian. Memory Request Queue of Multi-Core Multi-Threading Processor for Real-Time Stream Processing[J]. Journal of Computer Research and Development, 2009, 46(10): 1634-1641.
    [9]Li Zusong, Xu Xianchao, Hu Weiwu, Tang Zhimin. Research on Simultaneous Multi-Microthreading Architecture[J]. Journal of Computer Research and Development, 2007, 44(5): 768-774.
    [10]Yao Nianmin, Shu Jiwu, and Zheng Weimin. The Distributed Lock Scheme in SAN[J]. Journal of Computer Research and Development, 2005, 42(2): 338-343.

Catalog

    Article views (1542) PDF downloads (810) Cited by()

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return