Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Testing many devices - are threads the answer?

by McDarren (Abbot)
on May 12, 2009 at 14:25 UTC ( #763490=note: print w/ replies, xml ) Need Help??


in reply to Re: Testing many devices - are threads the answer?
in thread Testing many devices - are threads the answer?

Thanks for the pointer.

I gave this a go, and found that implementing it into my existing code was incredibly easy - and had the desired result. Using Parallel::ForkManager with 10 "workers" reduced my total run time from ~15 minutes to just under 2 minutes.

This has basically solved my problem, but I'm still curious about threads, so I plan to have a look at the example provided by BrowserUK next.

Thanks again,
Darren :)


Comment on Re^2: Testing many devices - are threads the answer?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://763490]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2014-12-21 11:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (104 votes), past polls