Multicore and manycore parallelization of cheap synchronizing sequence heuristics

被引:6
|
作者
Karahoda, Sertac [1 ]
Erenay, Osman Tufan [1 ]
Kaya, Kamer [1 ]
Turker, Uraz Cengiz [2 ]
Yenigun, Husnu [1 ]
机构
[1] Sabanci Univ, Fac Sci & Engn, Comp Sci & Engn, Istanbul, Turkey
[2] Univ Leicester, Dept Informat, Leicester, Leics, England
关键词
Software testing; Finite state automata; Synchronizing sequences; Parallel algorithms; Graphics processing units; CHECKING SEQUENCES;
D O I
10.1016/j.jpdc.2020.02.009
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
An important concept in finite state machine based testing is synchronization which is used to initialize an implementation to a particular state. Usually, synchronizing sequences are used for this purpose and the length of the sequence used is important since it determines the cost of the initialization process. Unfortunately, the shortest synchronization sequence problem is NP-Hard. Instead, heuristics are used to generate short sequences. However, the cubic complexity of even the fastest heuristic algorithms can be a problem in practice. In order to scale the performance of the heuristics for generating short synchronizing sequences, we propose algorithmic improvements together with a parallel implementation of the cheapest heuristics existing in the literature. To identify the bottlenecks of these heuristics, we experimented on random and slowly synchronizing automata. The identified bottlenecks in the algorithms are improved by using algorithmic modifications. We also implement the techniques on multicore CPUs and Graphics Processing Units (GPUs) to take benefit of the modern parallel computation architectures. The sequential implementation of the heuristic algorithms are compared to our parallel implementations by using a test suite consisting of 1200 automata. The speedup values obtained depend on the size and the nature of the automaton. In our experiments, we observe speedup values as high as 340x by using a 16-core CPU parallelization, and 496x by using a GPU. Furthermore, the proposed methods scale well and the speedup values increase as the size of the automata increases. (C) 2020 Elsevier Inc. All rights reserved.
引用
收藏
页码:13 / 24
页数:12
相关论文
共 10 条
  • [1] Using Structure of Automata for Faster Synchronizing Heuristics
    Cirisci, Berk
    Kahraman, Muhammed Kerem
    Yildirimoglu, Cagri Uluc
    Kaya, Kamer
    Yenigun, Husnu
    PROCEEDINGS OF THE 6TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT, 2018, : 544 - 551
  • [2] Boosting expensive synchronizing heuristics
    Sarac, N. Ege
    Altun, Omer Faruk
    Atam, Kamil Tolga
    Karahoda, Sertac
    Kaya, Kamer
    Yenigun, Husnu
    EXPERT SYSTEMS WITH APPLICATIONS, 2021, 167
  • [3] Synchronizing Heuristics: Speeding up the Slowest
    Altun, Omer Faruk
    Atam, Kamil Tolga
    Karahoda, Sertac
    Kaya, Kamer
    TESTING SOFTWARE AND SYSTEMS (ICTSS 2017), 2017, 10533 : 243 - 256
  • [4] Synchronizing heuristics: Speeding up the fastest
    Karahoda, Sertac
    Kaya, Kamer
    Yenigun, Husnu
    EXPERT SYSTEMS WITH APPLICATIONS, 2018, 94 : 265 - 275
  • [5] Using Synchronizing Heuristics to Construct Homing Sequences
    Cirisci, Berk
    Emek, M.
    Sorguc, Ege
    Kaya, Kamer
    Yenigun, Husnu
    MODELSWARD: PROCEEDINGS OF THE 7TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT, 2019, 2019, : 362 - 369
  • [6] Parallelization of Data Mining Algorithms for Multicore Processors
    Kholod, Ivan
    Kuprianov, Mikhail
    Shorov, Andrey
    2015 4TH MEDITERRANEAN CONFERENCE ON EMBEDDED COMPUTING (MECO), 2015, : 262 - 267
  • [7] Comparative evaluation of parallelization strategies for evolutionary and stochastic heuristics
    Sait, Sadiq M.
    Sanaullah, Syed
    Zaidi, Ali Mustafa
    Ali, Mustafa I.
    GECCO 2005: Genetic and Evolutionary Computation Conference, Vols 1 and 2, 2005, : 921 - 922
  • [8] Improving the energy efficiency of sparse linear system solvers on multicore and manycore systems
    Anzt, H.
    Quintana-Orti, E. S.
    PHILOSOPHICAL TRANSACTIONS OF THE ROYAL SOCIETY A-MATHEMATICAL PHYSICAL AND ENGINEERING SCIENCES, 2014, 372 (2018):
  • [9] Fast Density-Peaks Clustering: Multicore-based Parallelization Approach
    Amagata, Daichi
    Hara, Takahiro
    SIGMOD '21: PROCEEDINGS OF THE 2021 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2021, : 49 - 61
  • [10] Assessment of the parallelization approach of d2_cluster for high-performance sequence clustering
    Carpenter, JE
    Christoffels, A
    Weinbach, Y
    Hide, WA
    JOURNAL OF COMPUTATIONAL CHEMISTRY, 2002, 23 (07) : 755 - 757