-
Notifications
You must be signed in to change notification settings - Fork 34
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
generate_load_profiles_parallel runs 10 times slower and uses double RAM #144
Comments
Hello @Stevogallo , thanks for your issue opening. The speed of the parallel processing might depend on local configuration. Would you be able to share your usecase so that I can perform tests on my computer? In this case your CPU and RAM on your laptop might be of interest as well if you are ok to share this information. |
Hi @Bachibouzouk, I'm using the default "Input File 1". I'm working on a jupyter notebook we created: https://github.com/SESAM-Polimi/RAMP-Jupyter because it turns much easier to teach in class. My laptop: Let me know if you need something else. |
Hi @Stevogallo - thanks for the informations, do you use one of the two notebooks under After a quick research, it seems other people have also issues with multiprocessing, jupyter and windows. Could you check running a simple code within a python script to test if the problem could be jupyter? |
Sorry @Bachibouzouk, I didn't specify. I'm using "\RAMP-Jupyter-main\RAMP-Jupyter-main\ramp\Jupyter Notebooks\RAMP Example Village - Excel.ipynb" I'll try without jupyter and let you know. |
@Bachibouzouk an update: I runned Input_file_1 from Visual Studio, here the results: |
@Stevogallo - I also tested locally and the parallel processing takes more time. As the multiprocessing version is not pinned, it can be due to newer version of multiprocessing. In the profiling the |
I still was puzzled by this and looked at it more closely: it is depending on the |
I was testing the newly added option "generate_load_profiles_parallel", that according to your comments should be faster.
But I'm experiencing tenfold computational times, and double RAM use, compared to when I use "generate_load_profiles", the old function.
The text was updated successfully, but these errors were encountered: