Phase 8 Interim Scope of Work - ActivitySim/activitysim GitHub Wiki

Table of Contents

Task 1: ActivitySim Memory Use Profile and Testing

The purpose of this task is to develop a detailed profile of ActivitySim memory usage and to provide recommendations for near-term strategies to reduce the memory footprint.

The profile will be developed using three “full-scale” ActivitySim examples, with chunking disabled, with Sharrow 1-zone implemented, executed on the same computing resource. To isolate software issues from hardware issues, the profiling runs should be executed on one typical computer that has sufficient computing resources for all three selected ActivitySim examples. Using the performance profiling tools already developed and implemented as part of the ActivitySim project, the profile will provide detailed information about all types of memory usage throughout a full model run.

The consultant will work with the consortium to select three 1-zone full-scale ActivitySim example models from ActivitySim’s repository of example models for this memory profiling task. The three example models should be selected in a way to capture a variety of memory usage-relevant factors, such as number of TAZs and MAZs, number and type of skims, and the size of the synthetic population(s), which will be documented as run characteristics in the profile.

In addition to the run characteristics and memory usage, the profile will include information about the data tables and data types in use throughout the model run and will identify the sources of changes in memory usage during the run. Detailed quantitative and qualitative findings from the profile will be documented in a technical memo. This memo will also identify potential practical recommendations of strategies for how memory usage may be reduced in the near-term.

Deliverables:

  • A draft memo documenting ActivitySim memory usage profile for three examples, including recommendations of near-term strategies
  • A final memo addressing any comments from the consortium’s review of the draft memo.