Ubuntu Diego
2009-Mar-26 23:31 UTC
[R] Snow Parallel R: makeCluster with more nodes than available
Hi all, I would like to know what would happen if using snow I create a cluster of size 50, for example using makeCluster(50,type='SOCK') on a machine with 2 Cores and run a function. Does snow run 25 and 25 functions on each of my 2 "real" processors or it just run 50 functions in one processor ? Thanks.
Uwe Ligges
2009-Mar-27 12:19 UTC
[R] Snow Parallel R: makeCluster with more nodes than available
Ubuntu Diego wrote:> Hi all, > I would like to know what would happen if using snow I create a cluster > of size 50, for example using makeCluster(50,type='SOCK') on a machine > with 2 Cores and run a function. Does snow run 25 and 25 functions on > each of my 2 "real" processors or it just run 50 functions in one > processor ?It will run the 50 in parallel and is not advisable to do so on a machine with 3 cores - a slow down due to "administrative" overhead is expected. Uwe Ligges> Thanks. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Seemingly Similar Threads
- random number generator with SNOW/ Parallel/ foreach
- (minor) R syntax error in help page to the function makeCluster of library(snow)
- snow::makeCluster on Windows hangs
- snow makeCluster (makeSOCKcluster) not working in R-2.11
- problem with opening more than one SOCK cluster with package snow