Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article
Free access

Stack-free process-oriented simulation

Published: 01 June 1997 Publication History
  • Get Citation Alerts
  • Abstract

    The process interaction world view is widely used in the general simulation community for its expressive power, and is supported by most modern simulation languages. In parallel discrete event simulation, however, its use remains comparatively rare due to the perceived inefficiency (and difficulty) of parallel implementations.We present a new implementation strategy for parallel process-oriented simulation languages. This innovative, semantics-based approach directly addresses two common concerns of such languages. By concentrating on the intrinsic threads of control, we avoid the proliferation of simulation objects (and their associated costs) that might result from a naive translation. More fundamentally, the primary costs associated with process-oriented languages -- those of context switching between stacks and, in an optimistic setting, of saving the state of these stacks -- are entirely eliminated since our explicit use of continuations avoids the need for stacks in the first place. We similarly obtain cheap and natural thread preemption.

    References

    [1]
    A.W. Appel and Z. Shao. An Empirical and Analytic Study of Stack vs. Heap Cost for Languages with Closures. Journal of Functional Programming, 6(1):47-74, January 1996.
    [2]
    D. Baezner, G. Lomow, and B. W. Unger. Sim++~: The Transition to Distributed Simulation. In SCS Multiconference on Distributed Simulation, pages 211-218, San Diego, California, 17-19 January 1990.
    [3]
    D. Baezner, C. Rohs, and H. Jones. U.S. Army ModSim on Jade's TimeWarp. In 1992 Winter Simulation Conference, pages 665-671, Arlington, Virginia, 13-16 December 1992.
    [4]
    R. L. Bagrodia and W.-T. Liao. Maisie: A Language for the Design of Efficient Discrete-Event Simulations. IEEE Trans. Software Engineering, 20(4):225-238, April 1994.
    [5]
    D. Bruce. The treatment of state in optimistic systems. In Ninth Workshop on Parallel and Distributed Simulation, pages 40--49, Lake Placid, New York, 14-16 June 1995.
    [6]
    D. Bruce. What makes a good domain-specific language? APOSTLE and its approach to parallel discrete event simulation. In ACM SIGPLAN Workshop on Domain-Specific Languages, pages 17-35, Paris, France, 18 January 1997.
    [7]
    R. M. Fujimoto. Parallel Discrete Event Simulation: Will the Field Survive? ORSA Journal on Computing, 5(3):213- 230, Summer 1993.
    [8]
    D. M. Nicol. Principles of Conservative Parallel Simulation. In 1996 Winter Simulation Conference, pages 128-135, Coronado, California, 8--11 December 1996.
    [9]
    D. O. Rich and R. E. Michelsen. An Assessment of the ModSimfI3,VOS Parallel Simulation Environment. In 1991 Winter Simulation Conference, pages 509-518, Phoenix, Arizona, 8--11 December 1991.
    [10]
    G.L. Steele. RABBIT: A Compiler for SCHEME. Technical Report 474, MIT AI Lab., May 1978.
    [11]
    J.E. Stoy. Denotational Semantics: The Scott-Strachey Approach to Programming Language Theory. MIT Press, 1977.
    [12]
    J. Waldorf and R. Bagrodia. MOOSE: A Concurrent Object- Oriented Language for Simulation. International Journal in Computer Simulation, 4(2):235-257, 1994.
    [13]
    J. West and A. Mullamey. ModSim: A language for distributed simulation. In SCS Multiconference on Distributed Simulation, pages 155-159, San Diego, California, 3--5 February 1988.
    [14]
    P. Wonnacott and D. Bruce. The design of APOSTLE--- a high-level, object-oriented language for parallel and distributed discrete event simulation. In Object Oriented Simulation 1995, pages 101-106, Las Vegas, Nevada, 15-18 January 1995.
    [15]
    P. Wonnacott and D. Bruce. The APOSTLE simulation language: granularity control and performance data. In Tenth Workshop on Parallel and Distributed Simulation, pages 114--123, Philadelphia, Pennsylvania, 22-24 May 1996.

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM SIGSIM Simulation Digest
    ACM SIGSIM Simulation Digest  Volume 27, Issue 1
    July 1997
    184 pages
    ISSN:0163-6103
    DOI:10.1145/268823
    Issue’s Table of Contents
    • cover image ACM Conferences
      PADS '97: Proceedings of the eleventh workshop on Parallel and distributed simulation
      June 1997
      200 pages
      ISBN:0818679654

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 01 June 1997
    Published in SIGSIM Volume 27, Issue 1

    Check for updates

    Qualifiers

    • Article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)38
    • Downloads (Last 6 weeks)4
    Reflects downloads up to 11 Aug 2024

    Other Metrics

    Citations

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media