FADATest: Fast and Adaptive Performance Regression Testing of Dynamic Binary Translation Systems

被引:3
|
作者
Wu, Jin [1 ]
Dong, Jian [1 ]
Fang, Ruili [2 ]
Zhang, Wen [2 ]
Wang, Wenwen [2 ]
Zuo, Decheng [1 ]
机构
[1] Harbin Inst Technol, Harbin, Peoples R China
[2] Univ Georgia, Athens, GA 30602 USA
关键词
Performance regression testing; DBT; Test program generation;
D O I
10.1145/3510003.3510169
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Dynamic binary translation (DBT) is the cornerstone of many important applications. In practice, however, it is quite difficult to maintain the performance efficiency of a DBT system due to its inherent complexity. Although performance regression testing is an effective approach to detect potential performance regression issues, it is not easy to apply performance regression testing to DBT systems, because of the natural differences between DBT systems and common software systems and the limited availability of effective test programs. In this paper, we present FADATest, which devises several novel techniques to address these challenges. Specifically, FADATest automatically generates adaptable test programs from existing real benchmark programs of DBT systems according to the runtime characteristics of the benchmarks. The test programs can then be used to achieve highly efficient and adaptive performance regression testing of DBT systems. We have implemented a prototype of FADATest. Experimental results show that FADATest can successfully uncover the same performance regression issues across the evaluated versions of two popular DBT systems, QEMU and Valgrind, as the original benchmark programs. Moreover, the testing efficiency is improved significantly on two different hardware platforms powered by x86-64 and AArch64, respectively.
引用
收藏
页码:896 / 908
页数:13
相关论文
共 50 条
  • [1] PerfDBT: Efficient Performance Regression Testing of Dynamic Binary Translation
    Wu, Jin
    Dong, Jian
    Fang, Ruili
    Wang, Wenwen
    Zuo, Decheng
    2020 IEEE 38TH INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD 2020), 2020, : 389 - 392
  • [2] Fast Dynamic Binary Translation for the Kernel
    Kedia, Piyus
    Bansal, Sorav
    SOSP'13: PROCEEDINGS OF THE TWENTY-FOURTH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES, 2013, : 101 - 115
  • [3] Binary Mutation Testing Through Dynamic Translation
    Becker, Markus
    Kuznik, Christoph
    Joy, Mabel Mary
    Xie, Tao
    Mueller, Wolfgang
    2012 42ND ANNUAL IEEE/IFIP INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS (DSN), 2012,
  • [4] Evaluating the Impact of Dynamic Binary Translation Systems on Hardware Cache Performance
    Ruiz-Alvarez, Arkaitz
    Hazelwood, Kim
    2008 IEEE INTERNATIONAL SYMPOSIUM ON WORKLOAD CHARACTERIZATION, 2008, : 121 - 130
  • [5] The Implementation of Dynamic Linking in Dynamic Binary Translation Systems
    Song Yiqing
    He Yuemei
    Liang Alei
    Guan Haibing
    PROCEEDINGS OF THE FIRST INTERNATIONAL WORKSHOP ON EDUCATION TECHNOLOGY AND COMPUTER SCIENCE, VOL II, 2009, : 643 - 646
  • [6] Dynamic Binary Translation Specialized for Embedded Systems
    Kondoh, Goh
    Komatsu, Hideaki
    ACM SIGPLAN NOTICES, 2010, 45 (07) : 157 - 166
  • [7] A Hardware-assisted Translation Cache for Dynamic Binary Translation in Embedded Systems
    Salgado, Filipe
    Gomes, Tiago
    Tavares, Adriano
    Cabral, Jorge
    2018 IEEE 23RD INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES AND FACTORY AUTOMATION (ETFA), 2018, : 307 - 312
  • [8] Performance Comparison of Register Allocation Algorithms in Dynamic Binary Translation
    Cai, Zhanju
    Liang, Alei
    Qi, Zhengwei
    Jiang, Lingyan
    Li, Xiaolong
    Guan, Haibing
    Chen, Ying
    INTERNATIONAL CONFERENCE ON KNOWLEDGE AND SYSTEMS ENGINEERING (KSE 2009), 2009, : 113 - +
  • [9] Performance Improvements via Peephole Optimization in Dynamic Binary Translation
    Xie, Wenbing
    Luo, Qiaoling
    Tian, Xue
    Huang, Junyi
    Qi, Fengbin
    ELECTRONICS, 2024, 13 (09)
  • [10] Enabling Dynamic Binary Translation in Embedded Systems with Scratchpad Memory
    Baiocchi, Jose A.
    Childers, Bruce R.
    Davidson, Jack W.
    Hiser, Jason D.
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2012, 11 (04)