Content area

Abstract

Enumerating consistent global states of a computation is a fundamental problem in parallel computing with applications to debug- ging, testing and runtime verification of parallel programs. Breadth-first search (BFS) enumeration is especially useful for these applications as it finds an erroneous consistent global state with the least number of events possible. The total number of executed events in a global state is called its rank. BFS also allows enumeration of all global states of a given rank or within a range of ranks. If a computation on n processes has m events per process on average, then the traditional BFS (Cooper-Marzullo and its variants) requires \(\mathcal{O}(\frac{m^{n-1}}{n})\) space in the worst case, whereas ou r algorithm performs the BFS requires \(\mathcal{O}(m^2n^2)\) space. Thus, we reduce the space complexity for BFS enumeration of consistent global states exponentially. and give the first polynomial space algorithm for this task. In our experimental evaluation of seven benchmarks, traditional BFS fails in many cases by exhausting the 2 GB heap space allowed to the JVM. In contrast, our implementation uses less than 60 MB memory and is also faster in many cases.

Details

1009240
Title
Space Efficient Breadth-First and Level Traversals of Consistent Global States of Parallel Programs
Publication title
arXiv.org; Ithaca
Publication year
2017
Publication date
Jul 25, 2017
Section
Computer Science
Publisher
Cornell University Library, arXiv.org
Source
arXiv.org
Place of publication
Ithaca
Country of publication
United States
University/institution
Cornell University Library arXiv.org
e-ISSN
2331-8422
Source type
Working Paper
Language of publication
English
Document type
Working Paper
Publication history
 
 
Online publication date
2017-07-26
Milestone dates
2017-07-25 (Submission v1)
Publication history
 
 
   First posting date
26 Jul 2017
ProQuest document ID
2075788463
Document URL
https://www.proquest.com/working-papers/space-efficient-breadth-first-level-traversals/docview/2075788463/se-2?accountid=208611
Full text outside of ProQuest
Copyright
© 2017. This work is published under http://arxiv.org/licenses/nonexclusive-distrib/1.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Last updated
2023-09-22
Database
ProQuest One Academic