Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-07-12 17:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (240 votes), past polls