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 loop
And 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,In reply to Re^5: unix loops in perl
by i5513
in thread unix loops in perl
by a217
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |