Live data from Hacker News

What should the CPU usage be of a fully-loaded CPU that has been throttled?

devblogs.microsoft.com

161–170 of 181 posts

Re: What should the CPU usage be of a fully-loaded CPU that has been throttled?

#162
post #154

Earlier quoted context omitted.

New York City is a proper noun and can for grammatical purposes be considered one word. It's not as clear cut as programmers would like to believe. https://www.quora.com/Are-names-considered-words?share=1

"New York City" is a proper name but not a proper noun. You may want to look up the difference if you are convinced otherwise.

"Current linguistics makes a distinction between proper nouns and proper names but this distinction is not universally observed and sometimes it is observed but not rigorously."

Unbelievable how dense people play sometimes. It was clear what I meant when I said word, and in fact, I did refer to a single word if you want to play that game: Mandelbrot.

"Maldebrot set" or whatever it said before wouldn't even give you the correct search results. It serves a purpose to correct this, whereas this is just grammatical bickering for no apparent reason other than "he started it". I pointed out an important mistake, you're just trying to find substance in an argument that holds as much water as a sieve.

Re: What should the CPU usage be of a fully-loaded CPU that has been throttled?

#163

I think we can have more nuance than a choice of 50% or 100%. I fall in the 'Show 100%' camp for sure, showing 50% but not indicating why isn't particularly helpful without knowing the background here. I think a separate indicator for an overall throttling condition would be helpful. Show a 100% usage and a throttle indicator together.

I fall in the 50% camp because showing 100% when it's clearly not using 100% of what the CPU is capable of is misleading, particularly in troubleshooting performance issues.

I think either 50% or 100% is misleading without more information. In either case you can be left wondering where your bottleneck might be and your first guess probably is not something like more cooling.

Re: What should the CPU usage be of a fully-loaded CPU that has been throttled?

#164
I remember having debates in 1990, when SMP UNIX was still a new thing, about whether "load average" should be scaled by the number of processors. Things have only gotten messier since then. As usual, Brendan Gregg has a good take.

https://twitter.com/brendangregg/status/1411654427304333313

Personally, what I'd want to see is the proportion of max achievable IPC, and if that means getting used to numbers well below 100% (even when I'm doing everything right) then so be it. I can adjust my expectations and targets.

Re: What should the CPU usage be of a fully-loaded CPU that has been throttled?

#165

Earlier quoted context omitted.

Please let's not add yet more military fetishizing to IT. "Military power" should refer to things like military engines, not totally unrelated electronic performance boost modes.

IT overlap is mostly because computers and the internet are military technology. Mainframes, IC's and the transistor itself were bankrolled by US military money. The internet and GPS, the core technologies of our time, are both direct descendants of the US military. You may not like it, but the entire IT and tech field are built on US military tech

You're just picking a point in time and calling that the beginning; every one of those things is based on previous tech with no military background.

Even if it were true that in the distant past a thing had a military application/funding, there's no reason to use their terms for new things which aren't military in nature. No commercial liner calls it's full speed "military power". It's just cosplay at this point.

Re: What should the CPU usage be of a fully-loaded CPU that has been throttled?

#166

Earlier quoted context omitted.

The manufacturer doesn't know this, nor is it easy to determine. Is the max turbo frequency on air the max? On water (if so with what size rad with which fans)? At what ambient temperature? Is the max including tau, if so does that max change when it's about to expire? What about if the CPU was on ln² but the user has run out and can't add more to the cooling pot? Every one of those numbers is different, and frequent…

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. Wha…

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.

Re: What should the CPU usage be of a fully-loaded CPU that has been throttled?

#167

Earlier quoted context omitted.

It sounds like you don't ever engage in capacity planning. You should read about it, real usage numbers are very important.

It sounds like you don't ever use a computer as a consumer. Go ask your non-technical friends how often they're "capacity planning" when they pull up Task Manager. And I'm just talking about what 99% of ordinary users expect most of the time. Nothing prevents you from measuring whatever metrics you want either. Obviously "I think this is what most people expect utilization to mean" obviously does not imply "I think y…

You've never heard someone say "my CPU is running hot all the time, I need to upgrade"?

Re: What should the CPU usage be of a fully-loaded CPU that has been throttled?

#170
post #39

Earlier quoted context omitted.

I have managed several extremely large fleets of computers and I can tell you they all use frequency scaling. I seriously doubt that your statement applies to "most server farms" when properly weighted.

True, I should have more accurately said: all large volume cloud vendors I worked with.

So, you've never used GCE, EC2, or Azure? Because they all offer frequency scaling.
Post reply on HN