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

Dynamic chunking doc update and improvements #395

Closed
bstabler opened this issue Mar 18, 2021 · 1 comment
Closed

Dynamic chunking doc update and improvements #395

bstabler opened this issue Mar 18, 2021 · 1 comment

Comments

@bstabler
Copy link
Contributor

bstabler commented Mar 18, 2021

from a @toliwaga, @stefancoe conversation:

Dynamic chunking will do its best to adjust chunks to hit the specified chunk size, not the available memory. So if the chunk size setting is too high, it will do its best adjust the number of rows per chunk to achieve that mark, even if there isn’t enough RAM to accommodate it.

So, for now, you do still have to set a guestimated chunk_size and adjust it upwards or downwards according to the observed memory footprint activitysim leaves relative to the available resources.

As the discussion today indicated, you can imagine also allowing activitysim to decide how many sub-processes to deploy – analogously to RAM.

Getting such a ready-to-wear off the-rack capability is a bit tricky because we can’t necessarily assume that it is ok to just gobble up all available machine resources, but it would be really handy if you could just say “use 85% of the total CPU and 80% of the processors” and let it roll…

@bstabler
Copy link
Contributor Author

#397

@bstabler bstabler mentioned this issue Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant