Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
376 views
in Technique[技术] by (71.8m points)

r - Multisession vs multicore in future

I was checking the documentation of the future package https://cran.r-project.org/web/packages/future/vignettes/future-1-overview.html.
It has several strategies for parallel processing. My inquiry is specific to the difference, in terms of performance/speed, between a multisession & a multicore future.

In the documentation it is mentioned that:

  • multisession runs on all OS and it uses background R sessions on current machine.
  • multicore doesn't run on Windows or RStudio, and it forkes R processes on current machine.

My question is: Is anyone of those 2 strategies a clear winner in terms of speed? If not, then what considerations should I take into account when choosing what strategy to use (apart from that multicore is not compatible with Windows or RStudio.

question from:https://stackoverflow.com/questions/65952084/multisession-vs-multicore-in-future

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...