"qsim" (parallel version). Status: looks promising

Responsible: C. Dobler, IVT

Analysis of performance and structure of (non parallel) QueueSim shows:

  • Simulation of movement on links and over nodes is most time consuming.
  • Within a timestep actions on nodes and links can be simulated on parallel threads with low additional synchronization effort.

The parallel QueueSim is based on the existing QueueSim and can be used by just adding a new parameter to a scenario configuration file (see below).

First performance measurements show promising results.

Working paper will be published in Q2 2010.

 

The config option presumably is:

<module name="qsim">
   ...
   <param name="numberOfThreads" value="5"/>
</module>

Any number of threads larger than one triggers the use of the parallel version. (??)


Warning: Table 'watchdog' is read only query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;sessions&amp;#039; is read only\nquery: UPDATE sessions SET uid = 0, cache = 0, hostname = &amp;#039;38.107.179.233&amp;#039;, session = &amp;#039;&amp;#039;, timestamp = 1328355122 WHERE sid = &amp;#039;e972b2ab7dd755a2094beea8ac708f02&amp;#039;</em> in <em>/home01/vsp_access/matsimwww/includes/database.mysql.inc</em> on line <em>174</em>.', 2, '', 'http://matsim.org/node/378', '', '38.107.179.233', 1328355122) in /home01/vsp_access/matsimwww/includes/database.mysql.inc on line 174