An expert system for checking the correctness of memory systems using simulation and metamorphic testing

被引:11
作者
Canizares, Pablo C. [1 ]
Nunez, Alberto [1 ]
de Lara, Juan [2 ]
机构
[1] Univ Complutense de Madrid, Dept Sistemas Informat & Comp, Madrid, Spain
[2] Univ Autonoma Madrid, Dept Ingn Informat, Madrid, Spain
关键词
Memory systems; Metamorphic testing; Simulation; Mutation testing; Expert systems; Memory scheduling; CONTROLLERS; PERFORMANCE; ENERGY; IMPACT; CORE;
D O I
10.1016/j.eswa.2019.04.070
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
During the last few years, computer performance has reached a turning point where computing power is no longer the only important concern. This way, the emphasis is shifting from an exclusive focus on the optimisation of the computing system to optimising other systems, like the memory system. Broadly speaking, testing memory systems entails two main challenges: the oracle problem and the reliable test set problem. The former consists in deciding if the outputs of a test suite are correct. The latter refers to providing an appropriate test suite for determining the correctness of the system under test. In this paper we propose an expert system for checking the correctness of memory systems. In order to face these challenges, our proposed system combines two orthogonal techniques - simulation and metamorphic testing - enabling the automatic generation of appropriate test cases and deciding if their outputs are correct. In contrast to conventional expert systems, our system includes a factual database containing the results of previous simulations, and a simulation platform for computing the behaviour of memory systems. The knowledge of the expert is represented in the form of metamorphic relations, which are properties of the analysed system involving multiple inputs and their outputs. Thus, the main contribution of this work is two-fold: a method to automatise the testing process of memory systems, and a novel expert system design focusing on increasing the overall performance of the testing process. To show the applicability of our system, we have performed a thorough evaluation using 500 memory configurations and 4 different memory management algorithms, which entailed the execution of more than one million of simulations. The evaluation used mutation testing, injecting faults in the memory management algorithms. The developed expert system was able to detect over 99% of the critical injected faults, hence obtaining very promising results, and outperforming other standard techniques like random testing. (C) 2019 Elsevier Ltd. All rights reserved.
引用
收藏
页码:44 / 62
页数:19
相关论文
共 69 条
  • [1] Abts D, 2009, CONF PROC INT SYMP C, P451, DOI 10.1145/1555815.1555810
  • [2] [Anonymous], 1999, XRDS
  • [3] Random Testing: Theoretical Results and Practical Implications
    Arcuri, Andrea
    Iqbal, Muhammad Zohaib
    Briand, Lionel
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2012, 38 (02) : 258 - 277
  • [4] Handling the Problems and Opportunities Posed by Multiple On-Chip Memory Controllers
    Awasthi, Manu
    Nellans, David
    Sudan, Kshitij
    Balasubramonian, Rajeev
    Davis, Al
    [J]. PACT 2010: PROCEEDINGS OF THE NINETEENTH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, 2010, : 319 - 330
  • [5] Balasubramonian R, 2012, MEMORY SCHEDULING CH
  • [6] Barr M, 2017, EMSA PRODUCTS CONSUL
  • [7] An expert system to minimize operational costs in mixed-model sequencing problems with activity factor
    Bautista-Valhondo, Joaquin
    Alfaro-Pozo, Rocio
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2018, 104 : 185 - 201
  • [8] Bennett J, 1981, P IJCAI 81, V2, P843
  • [9] The PARSEC Benchmark Suite: Characterization and Architectural Implications
    Bienia, Christian
    Kumar, Sanjeev
    Singh, Jaswinder Pal
    Li, Kai
    [J]. PACT'08: PROCEEDINGS OF THE SEVENTEENTH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, 2008, : 72 - 81
  • [10] A Methodology for Designing Energy-Aware Systems for Computational Science
    Canizares, Pablo C.
    Nunez, Alberto
    Nunez, Manuel
    Pardo, Juan J.
    [J]. INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE, ICCS 2015 COMPUTATIONAL SCIENCE AT THE GATES OF NATURE, 2015, 51 : 2804 - 2808