Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Nice does nothing to reduce thermal load' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Nice does nothing to reduce thermal load
Authored by: hamarkus on Feb 02, '11 12:22:29PM

You are both right and wrong. I just had Handbrake crash on me using this script, which could be an example of the pitfalls of this method.
However, your method, ie, nice, does nothing to keep the total CPU load below 100% (per core), in fact this has already been said in the article, nice is not a solution to reduce the total CPU load.

What might work more elegantly is to simply disable one CPU core via the Developer Tools. I do not know how much this reduces the thermal load but is bound to reduce it somewhat (unless the TurboBoost kicks and completely overcompensates for this, but then you might be able to disable the TurboBoost via the developer tools as well, you might even be able to limit the CPU speed itself, I do not know.

Edited on Feb 02, '11 12:51:30PM by hamarkus



[ Reply to This | # ]
Nice does nothing to reduce thermal load
Authored by: S Barman on Feb 02, '11 01:18:49PM
Just to let you know, I did compile and run cpulimit. You need to download it from http://cpulimit.sourceforge.net/ and make sure you have the latest version of the developer tools.

[ Reply to This | # ]
Nice does nothing to reduce thermal load
Authored by: hamarkus on Feb 02, '11 02:47:21PM

I tried cpulimit, checked it out and compiled it with make and ran it with: cpulimit$ ./cpulimit -l 80 -p 47879

Maybe I did not call it correctly but it did not work, ie, it did not limit my target thread to 80% CPU, cpulimit itself consumed a sizeable chunk of CPU cycles itself and something sucked up my 8 GB of memory. I did not realize this after I had quit my target thread and cpulimit itself, so I am not sure which process gobbled up all my memory, either cpulimit itself or maybe my target thread.



[ Reply to This | # ]