http://www.perlmonks.org?node_id=554225


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.

Replies are listed 'Best First'.
Re^2: How to hobble a CPU
by BrowserUk (Patriarch) 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.