Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Script priority

by Prior Nacre V (Hermit)
on Oct 12, 2004 at 08:44 UTC ( [id://398420]=note: print w/replies, xml ) Need Help??


in reply to Script priority

Yes, see setpriority.

Regards,

PN5

Replies are listed 'Best First'.
Re^2: Script priority
by Jasper (Chaplain) on Oct 12, 2004 at 11:05 UTC
    This may help me. I have a process that sometimes takes a while to run. If I setpriority on each iteration, can I reallocate the original resources?

    I'm not even sure that dwindling resources are the cause of my problem, but this is something to try out. Teach me to RTM.

      Please provide some sample code indicating what you are iterating over, where you were thinking of changing the priority and what sort of resources you wish to reallocate.

      Any additional information, such as where bottlenecks are (or appear to be) occurring would also be useful.

      Regards,

      PN5

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2024-05-21 10:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found