3 ms·
> For example, SSE/AVX instructions cause Intel CPUs to (briefly) raise power consumption considerably[1]. I've never seen a case in which getting the work don
by pcwalton 11y ago
> For example, SSE/AVX instructions cause Intel CPUs to (briefly) raise power consumption considerably[1].
I've never seen a case in which getting the work done faster wasn't a win. That doesn't mean it can't happen, of course… But usually vector instructions are a win.
- corysama 11y agoWhen optimizing for wattage, SIMD is great for getting stuff done quickly so you can get back to spinning on low-power Pause instructions. But, if you SIMD-optimize, cheer at how much faster things are, then tell yourself "That means I can squeeze in 4-8x more work in the same time!" Well... You not only eliminated all the Pause time you gained, but you replaced it with high-wattage work. It takes discipline to optimize for power. Somewhat karmicly, pushing to max out everything can backfire when you overheat the CPU and end up just pushing it into adopting a lower clock rate.