I have a nested loop that I'm using foreach, DoSNOW, and a SNOW socket cluster to solve for. How should I go about profiling the code to make sure I'm not doing something grossly inefficient.
Also is there anyway to measure the data flows going between the master and nodes in a Snow cluster?
Thanks,
James
That is an excellent question. From the top of my head, start with a comparison between
The never-released-on-CRAN version 0.3.4 of snow also has additional plotting commands that are useful for analysis. You can get it from this directory at Luke Tierney's site.
Real profiling, of course, is hard given the distributed nature.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With