-
Notifications
You must be signed in to change notification settings - Fork 0
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
Explore multi-threading {asset}_abcd_scenario.rds
generating function
#2
Comments
be aware, this may increase the memory pressure if multiple threads are using up tons of memory |
All of this is something that we'll have time to explore (read: offer multiple solutions) Soon™️ |
mo' memory, mo' memory |
cough externalize our data cough |
Considering how much memory is needed/would be needed for each of these hypothetical threads, I think this would not be an advantageous thing to do. Can I close this @jdhoffa? |
Sounds good! |
Given that this thread is recently dead, I'd like to revive it just a bit (as a long-term improvement). I think that rather than focusing on multithreading the application code, this and If we split the scenarios out in such a manner that they could be handled my multiple machines (each with access to their own resources, eg. RAM) we could keep them single threaded (like R likes), but lift the memory constraint. Probably some block-level rearranging involved, but I think that's less scary than trying to introduce any of the openmp- or futures-based paradigms into our stack. |
I think perhaps that should live in it's own issue? |
This seems a bit like building a giant umbrella to cover a boat that has a hole in it. We know what the real problem is ( |
With RMI-PACTA/archive.pacta.data.preparation#81 closed, we open an opportunity to use multi-threading to speed up the time- and memory- intensive processes.
In particular, we might be able to spread each process to calculate
{asset}_abcd_scenario_{scenario_name}.rds
across multiple CPUs.The text was updated successfully, but these errors were encountered: