首页> 外文会议>Workshop on Parallel and distributed simulation >The dark side of risk (what your mother never told you about Time Warp)
【24h】

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

机译:风险的阴暗面(您的母亲从未对您说过时间扭曲)

获取原文

摘要

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.
机译:本文提醒了在同步并行离散事件模拟时允许``风险''的危险:在串行机器上正确运行的模拟代码在并行运行时可能会灾难性地失败。当时间扭曲向LP呈现``不一致''消息时可能会发生这种情况,对于LP的状态,该消息绝对没有意义。如果模拟建模者没有预料到这种不一致的可能性,则可能导致失败。虽然这个问题并不新鲜,但是关于如何处理它的讨论却很少。此外,对于并行模拟的新用户或潜在用户而言,该问题可能并不明显。本文说明了问题可能如何发生以及可能造成的损害。我们展示了如何消除由于回滚滞后和陈旧状态而引起的不一致,但是然后展示了只要允许风险,LP仍然有可能处于与模型语义不一致的状态,这又使其容易受到攻击。失败。最后,我们展示了如何测试仿真代码以确保在无风险的协议下安全地执行。无论是有风险的还是无风险的,我们得出的结论是,在当前的实践中,开发正确,安全的并行仿真代码对建模者而言并不透明;如果仅顺序执行模拟,则在模型代码或模型测试中必须包含某些并非十分必要的保护。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号