|Keep It Simple, Stupid|
Re^5: unix loops in perlby i5513 (Pilgrim)
|on Oct 26, 2011 at 22:21 UTC||Need Help??|
I really save time with pdsh in many common task in a day to day administration.
- When you need connect to various machines (300 machines?), launch a command in that machines and get result, you won if use pdsh.
- If you need download with wget from many websites (again 300), you won using pdsh vs loopAnd citing you:
"If each process takes up very little resources, then the overhead of creating them will cause it all to go slower."
Each process will be created ever you use parallel system or use an loop to create it. So no will be overhead if you have enough resources.
Of course, as I said before:
If you don't have enough CPU / Memory / network bandwith, parallel computation will not work better than loop ... even worse than it ...Regards,