|
|
|
|
|
by loup-vaillant
4077 days ago
|
|
Beware: optimising for speed and optimising for energy don't yield the same results. If you want speed, you typically want to use your CPU as much as possible. If you want to save energy, you'll want to underclock your CPU. If we go all the way to hardware design, saving energy means going massively multicore, with simple, slow, in-order cores. You can optimise both, to some extent. But there is a point where you have to chose one or the other. |
|
This is incorrect. To save energy, the strategy is to do your thing as quickly as possible, with maximum CPU clocks and enter power saving mode as soon as possible. Otherwise the leakage current in the CPU will consume more energy than can be saved by underclocking.
It may be counterintuitive but fast code consumes the least energy.