in reply to Re^4: unix loops in perl
in thread unix loops in perl
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,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: unix loops in perl
by SuicideJunkie (Vicar) on Oct 27, 2011 at 14:22 UTC | |
by i5513 (Pilgrim) on Oct 27, 2011 at 22:32 UTC |