-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARC Memory Issue #428
Comments
@bstabler: Running the ARC model in 'training' mode worked, and the model ran to completion. It also created a I started a second run with the chunk_cache.csv and In addition, the documentation says that the |
@danielsclint & @bstabler - I ran the PSRC model in 'training' mode and it created the 'chunk_cache.csv' file in the 'cache' folder in the outputs directory. I then re-ran the model in 'production' mode using the same output directory and it did not delete the 'cache' directory nor the 'chunk_cache.csv' file and ran as expected. |
I can confirm the behavior that Stefan mentioned. I'm able to generate the chunk_cache.csv file and maintain it through time. I'm still running into a memory error in the ARC ActivitySim implementation in work location choice. In the images below, I ran the model through work location in 'training' mode, and it worked (albeit a little slow). I then changed the However, when I get to the workplace location model, ActivitySim blows through the top of the RAM (see images). |
You need to set |
@danielsclint was this test performed on an ARC server or a WSP server? I don't recognize the APPS directory name, so I assume this test was on a WSP server? If so, are those specs similar to the specs from our ARC servers? |
@guyrousseau- I missed this earlier. The test are being run on a WSP server. Raghu and Jonathan have been running similar tests on the ARC servers. I'm not sure on the specs of the ARC servers. The WSP server is 48 cores and 528Gb of memory. |
This issue has been resolved with my latest tests and chunking. Setting the |
Thanks @danielsclint, to answer your question, ARC server specs are listed here: https://github.com/ActivitySim/activitysim/wiki/Server-Specs |
@guyrousseau and @danielsclint , have you done ActivitySim testing on ARC 48 physical core and 512 RAM and RSG's 32 core and 512 RAM servers? If so, any performance differences? |
Hi @wusun2 - We just finished with the proof-of-concept deployment of ActivitySim version 1.0.2 on the WSP server for ARC. The latest chunking enhancements are an improvement. In this Google Spreadsheet, I’ve summarized the runtime results from three runs conducted this summer. All runs are multi-processor on a 100 percent sample for the ARC region on our 48 core / 528 Gb RAM machine at WSP. The run on July 9 used the ActivitySim v1.0.1 release (before chunking improvements), and this run took nearly 12 hours to complete. Approximately 40 percent of the time was spent in tour scheduling and nearly another 40 percent spent in trip_destination_choice. On the same machine, I ran two additional runs this week with v1.0.2 (or its pre-release on develop). The first run was using the exact same model setup as the July 9 runs with just the updated ActivitySim library with the chunking enhancements. This run took just over 5 hours to complete, a 55 percent reduction in run time. The largest runtime savings came in the three models mentioned above. The second run implemented the tour_departure_and_duration_segments.csv reducing the number of logsum calculations in mandatory tour scheduling. This dropped the runtime 8 percent to under 5 hours with all of the time saving accruing in the mandatory_tour_scheduling component of the model. |
@danielsclint , this is very helpful. It is encouraging to see the recent improvements (seems beyond just chunking improvements) resulted in better performance. @esanchez01 's tests proved that SANDAG's best server with 320GB RAM doesn't performance as well as WSP's and RSG's ~500G RAM servers. We plan to purchase similar or even better servers. Lastly, is the improvement on tour departure and duration segments in v1.0.2 on develop branch? The master branch will include both improvements in v1.0.2 and the departure and duration segments right? |
@wusun2 - yes, the tour departure and duration segments feature is in the develop (and now master) branch. |
When testing a migration for ARC to ActivitySim v1.0, the model is hitting a memory error. Any thoughts on a resolution?
The model runs fine with a smaller set of TAZ.
The text was updated successfully, but these errors were encountered: