• DocumentCode
    3121408
  • Title

    Lock-free scheduling of logical processes in parallel simulation

  • Author

    Liu, Jason ; Nicol, David M. ; Tan, King

  • Author_Institution
    Dept. of Comput. Sci., Dartmouth Coll., Hanover, NH, USA
  • fYear
    2001
  • fDate
    2001
  • Firstpage
    22
  • Lastpage
    31
  • Abstract
    With fixed lookahead information in a simulation model, the overhead of asynchronous conservative parallel simulation lies in the mechanism used for propagating time updates in order for logical processes to safely advance their local simulation clocks. Studies have shown that a good scheduling algorithm should preferentially schedule processes containing events on the critical path. This paper introduces a lock-free algorithm for scheduling logical processes in conservative parallel discrete-event simulation on shared-memory multiprocessor machines. The algorithm uses fetch and add operations that help avoid inefficiencies associated with using locks. The lock-free algorithm is robust. Experiments show that, compared with the scheduling algorithm using locks, the lock-free algorithm exhibits better performance when the number of logical processes assigned to each processor is small or when the workload becomes significant. In models with large number of logical processes, our algorithm shows only modest increase in execution time due to the overhead in the algorithm for extra bookkeeping
  • Keywords
    discrete event simulation; parallel programming; scheduling; discrete-event simulation; fetch and add; fixed lookahead information; lock-free algorithm; parallel simulation; shared-memory multiprocessor machines; time updates; Clocks; Computational modeling; Computer science; Computer simulation; Contracts; Discrete event simulation; Error correction; Out of order; Processor scheduling; Scheduling algorithm;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel and Distributed Simulation, 2001. Proceedings. 15th Workship on
  • Conference_Location
    Lake Arrowehead, CA
  • Print_ISBN
    0-7695-1104-X
  • Type

    conf

  • DOI
    10.1109/PADS.2001.924618
  • Filename
    924618