Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Multithreaded Script CPU Usage

by Zenshai (Sexton)
on Aug 27, 2008 at 01:42 UTC ( #707037=note: print w/ replies, xml ) Need Help??


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

Well, there goes that theory.

I remade the script as I specified above, and while its working exactly as intended, the original problem still remains. Perl CPU usage is still too high when it should be idle.

I've found that I can give the FileList processes some more CPU room by setting the Perl process's priority to Below Normal or Low, but that's not really solving the problem. Its still needlessly using resources that can be better spent doing other things, or even being idle.

I'm going to think about some other way to do this, without threads.


Comment on Re^2: Multithreaded Script CPU Usage

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2014-08-29 18:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (286 votes), past polls