• DocumentCode
    2143015
  • Title

    The dark side of risk (what your mother never told you about Time Warp)

  • Author

    Nicol, D.M. ; Liu, X.

  • Author_Institution
    Dept. of Comput. Sci., Dartmouth Coll., Hanover, NH, USA
  • fYear
    1997
  • fDate
    10-13 Jun 1997
  • Firstpage
    188
  • Lastpage
    195
  • Abstract
    This paper is a reminder of the danger of allowing “risk” when synchronizing a parallel discrete-event simulation: a simulation code that runs correctly on a serial machine may, when run in parallel, fail catastrophically. This can happen when Time Warp presents an “inconsistent” message to an LP, a message that makes absolutely no sense given the LP´s state. Failure may result if the simulation modeler did not anticipate the possibility of this inconsistency. While the problem is not new, there has been little discussion of how to deal with it; furthermore the problem may not be evident to new users or potential users of parallel simulation. This paper shows how the problem may occur, and the damage it may cause. We show how one may eliminate inconsistencies due to lagging rollbacks and stale state, but then show that so long as risk is allowed it is still possible for an LP to be placed in a state that is inconsistent with model semantics, again making it vulnerable to failure. We finally show how simulation code can be tested to ensure safe execution under a risk-free protocol. Whether risky or risk-free, we conclude that under current practice the development of correct and safe parallel simulation code is not transparent to the modeler; certain protections must be included in model code or model testing that are not rigorously necessary if the simulation were executed only serially
  • Keywords
    parallel algorithms; software reliability; time warp simulation; lagging rollbacks; parallel discrete-event simulation; parallel simulation; risk-free protocol; simulation code; stale state; Computer languages; Computer science; Discrete event simulation; Educational institutions; Libraries; Operating systems; Protection; Protocols; Testing; Time warp simulation;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel and Distributed Simulation, 1997., Proceedings., 11th Workshop on
  • Conference_Location
    Lockenhaus
  • Print_ISBN
    0-8186-7964-6
  • Type

    conf

  • DOI
    10.1109/PADS.1997.594606
  • Filename
    594606