[R] Snow Parallel R: makeCluster with more nodes than available

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Mar 27 13:19:45 CET 2009



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.




More information about the R-help mailing list