Just another Perl shrine | |
PerlMonks |
Re: getting more resource from perlby ikegami (Patriarch) |
on Nov 09, 2005 at 16:14 UTC ( [id://507119]=note: print w/replies, xml ) | Need Help?? |
You may want to search for "priority" and "nice". Those are both related terms. I cam accross these two solutions: For some/many unixes, Proc::ProcessTable::Process provides the method priority. For Windows,
By the way, trying to get *more* CPU is not likely to make your script execute faster on a desktop system (if that's what you have). Desktop systems tend to be idle almost all the time, so there's no CPU time to steal from other applications. Needing more CPU is usually a sign of inefficient code and/or of a need of better hardware. All too often the former. Update: Searched and found a unix and Windows module. Updated the node accordingly.
In Section
Seekers of Perl Wisdom
|
|