Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Script priority

by Prior Nacre V (Hermit)
on Oct 12, 2004 at 08:44 UTC ( #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? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2022-05-29 09:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?