Forcing machine to run at a certain temperature - Server Fault most recent 30 from serverfault.com 2010-03-22T04:27:56Z http://serverfault.com/feeds/question/9493 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://serverfault.com/questions/9493/forcing-machine-to-run-at-a-certain-temperature 0 Forcing machine to run at a certain temperature victor http://serverfault.com/users/0 2009-05-18T15:41:03Z 2009-05-18T15:41:03Z <p>Hi,</p> <p>This isn't entirely a programming question but, how would one make a computer run at an inputted temperature? The machines will be running Linux for a heatsink design project.</p> http://serverfault.com/questions/9493/forcing-machine-to-run-at-a-certain-temperature/9494#9494 1 Answer by OregonGhost for Forcing machine to run at a certain temperature OregonGhost http://serverfault.com/users/0 2009-05-18T15:41:03Z 2009-05-18T15:41:03Z <p>Write a program that uses all your CPU, making it hot. Once in a while in the loop, check the CPU temperature sensor (of course you must have one then) and if the target temperature is reached, pause the "hot" operation until the temperature has fallen below the target temperature.</p> http://serverfault.com/questions/9493/forcing-machine-to-run-at-a-certain-temperature/9495#9495 0 Answer by Nick Fortescue for Forcing machine to run at a certain temperature Nick Fortescue http://serverfault.com/users/2958 2009-05-18T15:41:03Z 2009-05-18T15:41:03Z <p>If you want to measure CPU temperature the <a href="http://www.lm-sensors.org/" rel="nofollow">lm-sensors</a> is a library you might want to look at.</p> <p>Then use the CPU aggressively to heat it up until the desired target is reached. You'll probably want to make sure this program is multithreaded to really push the CPU, and then do something mathematical in each thread. Something like <a href="http://www.oxixares.com/glucas/" rel="nofollow">Glucas</a> will work.</p> <p>Then when the desired temperature is reached stop stretching the CPU.</p> <p>An even more sophisticated design would reduce or increase the load (rather than just on or off) as the temperature was different distances from the target temperature.</p> http://serverfault.com/questions/9493/forcing-machine-to-run-at-a-certain-temperature/9496#9496 3 Answer by pjc50 for Forcing machine to run at a certain temperature pjc50 http://serverfault.com/users/0 2009-05-18T15:41:03Z 2009-05-18T15:41:03Z <p>Why risk a computer? Get a temperature controlled hotplate.</p> <p>Some CPUs have their own internal thermal limiting and some don't. Over-temperature on the latter can cause permanent damage.</p> http://serverfault.com/questions/9493/forcing-machine-to-run-at-a-certain-temperature/9497#9497 0 Answer by kylef for Forcing machine to run at a certain temperature kylef http://serverfault.com/users/0 2009-05-18T15:41:03Z 2009-05-18T15:41:03Z <p>There is a program called cpuburn, it can be found at: <a href="http://pages.sbcglobal.net/redelm/" rel="nofollow">http://pages.sbcglobal.net/redelm/</a></p> <p>This program is designed to heavily load a cpu (creating heat), there are different versions for each cpu, as there are more effective ways to do it on each cpu. </p> <p>The source code is included, take a look at that.</p>