Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Multithreaded Script CPU Usage

by Illuminatus (Curate)
on Aug 29, 2008 at 15:34 UTC ( #707776=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Multithreaded Script CPU Usage
in thread Multithreaded Script CPU Usage

From what I can see, the functions you listed should be fine. My point about the single script went back to the initial problem. Your initial problem was that the main perl script was taking 75% CPU. As was pointed out, this was likely caused by the thread module itself. If you modified your script as I suggested, the perl script should end up using very little CPU, and could therefore run fine together on a single system. Of course, your mileage may vary...


Comment on Re^3: Multithreaded Script CPU Usage
Replies are listed 'Best First'.
Re^4: Multithreaded Script CPU Usage
by Zenshai (Sexton) on Sep 08, 2008 at 13:49 UTC
    You were absolutely right. I appolologize for not taking your advice sooner.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2015-08-02 23:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (18 votes), past polls