Regarding Parallelization in JUDI #296
Unanswered
asidosaputra
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I’m experiencing an issue where the per-shot per-worker forward modeling process becomes significantly slower when executed in parallel.
My setup:
Ubuntu 22.04 running inside Windows Subsystem for Linux (WSL)
Julia version 1.10 LTS, JUDI v4.1.3
PC workstation with 32 cores, 64 threads, 256 GB RAM
I attempted to parallelize data generation from the Overthrust example provided [https://github.com/slimgroup/JUDI.jl/blob/master/examples/software_paper/generate_data_overthrust_3D.jl], with some minor modifications (code attached below).
The main problem is that the per-shot runtime becomes extremely long when running in parallel — in my case, about 1400 seconds per worker (with 16 workers).
In contrast, running the same task serially only takes about 60–110 seconds per shot.
This is almost 10× slower in parallel mode.
Is this expected behavior, or am I making a mistake in how I execute the code?
I have also attached some data for reference.
Any explanation or guidance would be greatly appreciated. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions