Hacker News new | ask | show | jobs
by dataflow 1814 days ago
No, you're just making this hard. Just imagine the CPU decided it wouldn't deliberately throttle its frequency to save power. Obviously nothing stands in its way of doing that; that's what it would do if they didn't deliberately tell it otherwise. Now what frequency would it execute the next cycle at? Obviously it decides on some frequency, and it does that without you telling it whether it's air or water cooled. Whatever number it would decide on: use that number.
1 comments

Sometimes reality is hard :) One source of CPU throttling which you appear to be ignoring is temperature. Another is platform power delivery. Both are not always knowable by the CPU in advance. The CPU obviously doesn't "decide on a number" by itself. Sometimes it asks for a certain voltage but because of Tau it gets a lower one. Sometime it starts to boost because of demand only to immediately thermal throttle and run slower.

You cannot deterministically know what max frequency the CPU could be running at in some future demand/power/temp state.