Hi I am trying to use ddply
in the plyr
library in R, with the MC
package. It doesn\'t seem to be speeding up the computation. This
The mean
function operates too quickly relative to the communication costs required to distribute the split sections to each core and retrieve the results.
This is a common "problem" people run into with distributed computing. They expect it to make everything run faster because they forget there are costs (communication between the nodes) as well as benefits (using multiple cores).
Something specific to parallel processing in plyr: only the function is run on multiple cores. The splitting and combining still is still done on a single core, so the function you're applying would have to be very computationally intensive to see a benefit when using plyr functions in parallel.