Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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...

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://707776]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2018-03-18 10:16 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (229 votes). Check out past polls.