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

Re: How to hobble a CPU

by Withigo (Friar)
on Jun 08, 2006 at 07:45 UTC ( #554225=note: print w/ replies, xml ) Need Help??


in reply to How to hobble a CPU

Perhaps running "renice" on the pid of the process that you want to run at a slower speed might have a close enough effect ? This assumes you're running *nix; I don't believe renice has been ported to Windows.


Comment on Re: How to hobble a CPU
Re^2: How to hobble a CPU
by BrowserUk (Pope) on Jun 08, 2006 at 08:16 UTC
    I don't believe renice has been ported to Windows.

    You can adjust process priorities directly through the task manager. Unfortunately, doing so wouldn't work for either OS. No matter how low you set the priority, if there is nothing else utilitising the cpu, the even an idle priority task will receive close to 100% cpu if it wants it.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2014-08-28 05:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (257 votes), past polls