Skip to main content
1 of 3
Marcus Müller
  • 52k
  • 4
  • 80
  • 123

However, I want to prevent the over-heating of my computer (there is NO air-conditioning in the building at night).

Your computer has its own thermal control loops, you don't have to do this separately: when the CPU gets too hot, it will run slower, thereby reducing heat production.

You really shouldn't have to do any of this. Have you determined that overheating is really a problem here?

So after every 10 minutes of execution, I would like the process to take a break for 60 seconds, then resume.

Sounds like a bad approach. Power consumption and heat production are typically proportional to square of processing speed.

So, two options that are equally fast:

  • Only compute 0.9 of time
    • average performance is 0.9 of peak performance
    • Power consumption ~ 0.9 of peak power
  • Compute steadily at 0.9 of processing speed:
    • average performance is 0.9 of peak performance
    • Power consumption ~ 0.9² = 0.81 of peak power

The second option gives you less heat at the same computational performance!

Marcus Müller
  • 52k
  • 4
  • 80
  • 123