Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-12-22 01:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls