activitysim icon indicating copy to clipboard operation
activitysim copied to clipboard

PopulationSim Threading

Open joecastiglione opened this issue 2 years ago • 2 comments

Add parallelization to PopulationSim in order to significantly improve runtimes in the case of multiple seed geographies. The planned parallelization strategy is to use Python’s multiprocessing library to process each seed geography, which is typically a Census PUMA, using a separate processor.

joecastiglione avatar Sep 15 '23 14:09 joecastiglione

It would be useful to have include some runtimes here to understand if this is a problem. In my experience, it hasn't been an issue.

lmz avatar Oct 05 '23 17:10 lmz

It looks like multiprocessing was added: https://github.com/ActivitySim/populationsim/pull/130

stefancoe avatar Oct 05 '23 17:10 stefancoe