-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add Parallelism (again) #9
base: master
Are you sure you want to change the base?
Conversation
… R warns in the check procedures.
Thanks. Looks fine |
Thanks, I'm testing this commits with my real research project; it seems faster if I added multiple clusters with ssh connections with this cluster activation procedure below. future::plan(list(
future::tweak(
'cluster',
workers = paste0('mpiuser@192.168.1.', 179:180),
homogeneous = F
),
future::tweak('multiprocess', workers = max(c(
1, round(parallel::detectCores(logical = F) * .5)
)))
)) |
Can you also compare speed wrt pull request #7 |
ing> Can you also compare speed wrt pull request #7 Request #7 has some appropriate speed improvements theoretically within the application of the data.table library using primary keys and have beautiful interfaces. However, I can not find out where I can set the number of parallel cores in request #7. Request #7 uses pbapply to display progress information; however, in my knowledge, I need the 'multi-machine parallelism' environment to real speed improvements to extensive scientific language research with heterogeneous computing. I have ten machines, including my VPS and Workstations; they made significant speed improvements eight times with #9 even I'm using 1Gbps lines. Without any multicore or multimachine based function; the parallelized Request #8 and #9 include nested parallel structures with replacing all of existed *apply functions, not only |
Sorry for my misunderstanding, I fix codes properly work what I get reviews in #8 here.
installed.packages()
.requireNamespace('future.apply')