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 条
  • [11] Chatterjee N., 2012, Usimm: the utah simulated memory module
  • [12] Chen T.Y., 1998, Metamorphic testing: a new approach for generating next test cases
  • [13] Chi-Feng Wu, 2000, Proceedings 18th IEEE VLSI Test Symposium, P291, DOI 10.1109/VTEST.2000.843857
  • [14] On the number and nature of faults found by random testing
    Ciupa, I.
    Pretschner, A.
    Oriol, M.
    Leitner, A.
    Meyer, B.
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2011, 21 (01) : 3 - 28
  • [15] Clarke E.M., 2001, Model Checking
  • [16] Council J. E. D. E, 2017, JEDEC DDR4 SDRAM STA
  • [17] de Dinechin BenoitDupont., 2014, Design, Automation and Test in Europe Conference and Exhibition (DATE), 2014, P1, DOI DOI 10.7873/DATE.2014.110
  • [18] Ding JH, 2016, 2016 IEEE/ACM 1ST INTERNATIONAL WORKSHOP ON METAMORPHIC TESTING (MET), P37, DOI [10.1145/2896971.2896981, 10.1109/MET.2016.015]
  • [19] Processor-based built-in self-test for embedded DRAM
    Dreibelbis, J
    Barth, J
    Kalter, H
    Kho, R
    [J]. IEEE JOURNAL OF SOLID-STATE CIRCUITS, 1998, 33 (11) : 1731 - 1740
  • [20] Gepner P, 2006, PAR ELEC 2006: INTERNATIONAL SYMPOSIUM ON PARALLEL COMPUTING IN ELECTRICAL ENGINEERING, PROCEEDINGS, P9