Potential fix when master has compute intensive work and must schedule workers#207
Potential fix when master has compute intensive work and must schedule workers#207raminammour wants to merge 2 commits intoJuliaParallel:masterfrom
Conversation
Fixes issue JuliaParallel#206 , please see the issue description for an explanation of the fix.
|
@andreasnoack Any thoughts on this? |
|
It's a good observation and a pretty simple though not super pretty fix. I'm wondering if we with the new multithreading can now just delegate all the scheduling to a separate task that won't block while the local work is being executed. I'd like to hear @vchuravy 's thoughts. |
|
Looking at the code, the pattern is common (and natural). So this may happen anywhere where Or, at construction of Cheers! |
|
I think we need to carefully go through Distributed.jl and look at whether we can start using I might be able to have a UROP look at this transition. |
Fixes issue #206 , please see the issue description for an explanation of the fix.