Open gregpoore opened 1 year ago
@wdl2459 Sorry to bump this, but is there a fix or alternative? I appreciate your insight on how to proceed
@wdl2459 It appears that someone else who forked the repo already fixed this. The elapsed times are now:
If it helps, that repo is here: https://github.com/ivartb/ConQuR_par/tree/main/R . I think the main error is that the parallelization should be called by %dopar%
rather than %do%
on Line 69 (etc.) on the ConQuR_main_tune_libsize.R script
Hi there,
I've been trying out ConQurRand like what I see so far. One challenge that I've run into is that the parallelization seems to either not work or be minimally effective, and this makes it very difficult to apply the tool to larger datasets. For example, adapting some code from the tutorial to compare runtime on 2 cores vs. 8 cores vs. 10 cores (on a Macbook Pro):
I've made sure that no other special packages are loaded when running the above, and a gain of ~6% speed-up for 5X as many cores is perplexing.
Do you know if/why parallelization is not speeding things up, and how it can be fixed?