Skip to content
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

🚀 Feature: Serial or Parallel Roadway Assignment #175

Open
10 tasks
DavidOry opened this issue Nov 5, 2024 · 0 comments
Open
10 tasks

🚀 Feature: Serial or Parallel Roadway Assignment #175

DavidOry opened this issue Nov 5, 2024 · 0 comments
Assignees

Comments

@DavidOry
Copy link
Collaborator

DavidOry commented Nov 5, 2024

User Story

I am running tm2py on a computer with a large number of processors and memory. When running the roadway assignment, I see the performance of the morning commute assignment is optimized with X cores and running with X cores consumes about Y GB of memory. Because the machine I am using has >>X cores and >Y GB of RAM, I would like to run the assignments for the early morning, midday, and/or evening periods in parallel to the morning commute assignment. This would allow me to take advantage of my computing resources and reduce the model's computation time.

Progress:

  • Sufficiently defined
  • Approach determined
  • Tests developed
  • User story satisfied
  • Doc strings
  • General documentation
  • Passing tests

Priority

Medium

Level of Effort

Low to Medium

Resolution Ideas

@inrokevin has implemented parallel assignments in SANDAG. Modest changes are needed to tm2py to accommodate.

Project

ActivitySim/EMME Conversion, Task Order 5, via WSP <> Bentley Agreement.

Who should be involved?

Users: @lmz, @FlaviaTsang
Reviewers: @i-am-sijia

Risk

The software should retain the ability to run assignments serially, which may be required when fewer computing resources are available. The risk is the code crashes when insufficient resources are available.

Tests

  • A full model run with serial assignments
  • A full model run with parallel assignments
  • Test for available memory prior to launching the parallel action, to reduce the chances of a crash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants