ActivitySim / sandag-abm3-example

BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Full Scale Performance: Multi-Process, Sharrow Off #9

Open dhensle opened 4 months ago

dhensle commented 4 months ago

This is the issue to report on memory usage and runtime performance...

dhensle commented 4 months ago

Completed on a 1TB machine with 48 cores. Used num_processes: 40 and no chunking. Completed in about 3 hours.

logs_no_sh_full_mp.zip (Run failed in final summarize step because the mp config was using a step not relevant for the ABM3 example, but doesn't make much impact on the runtime estimate.)

dhensle commented 1 month ago

Ran multiprocessing with sharrow off and varied the number of cores (just like https://github.com/ActivitySim/sandag-abm3-example/issues/22#issuecomment-2223546038). Completed on a 500 GB, 24 core RSG machine.

image

Observations:

i-am-sijia commented 1 month ago

Performed multiprocessing tests with different numbers of processors on WSP server that has 512 GB RAM and 32 cores, with sharrow off, explicit chunking set to 0.2 (5 chunks), and using the zlib skims.

The observations are similar to David's. Many components see diminishing returns with more processors. The oddball is non-mandatory tour scheduling which only gets worse with more processors.

image