News for hackers. Stuff that matters.
Re:How quickly do CPUs change clock speeds? by clamchowder on Friday September 16, 2022 @03:55PM (#32871204)
Yeah, didn't want to start an article with a five paragraph essay especially when wordpress pagination doesn't work, so I can't get an Anandtech style multi-page article up.

And yep. You can even run a CPU at full clock all the time, meaning you will never observe a clock transition time. Cloud providers seem to do that.

Re:How quickly do CPUs change clock speeds? by clamchowder on Friday September 16, 2022 @04:39PM (#32871732)
Thanks :) I guess I can't reply to a 7th level comment, so hopefully this one shows up in the right place.

I agree, there are multiple factors at play. But I don't think it's basically an implementation choice. Certainly it looks like it in some cases (S821 on battery, HSW-E and SNB-E). But it doesn't seem to be the case elsewhere. For example, speed shift lowers clock transition time by taking the OS out of the control loop.

Re:How quickly do CPUs change clock speeds? by bee_rider on Friday September 16, 2022 @05:13PM (#32872070)
For some reason, this site hides the reply button after a certain reply-chain length, but you can just click on the person's name. This will show all their posts, including the one you want to reply to (you may have to look for it), with the reply buttons present.

I guess they must be trying to softly dis-incentivize really long chains, but not block them outright? It doesn't really make sense to me...

Re:How quickly do CPUs change clock speeds? by sokoloff on Friday September 16, 2022 @06:43PM (#32872968)
Faster is click on the timestamp of the post and you can reply directly in one click.
Re:How quickly do CPUs change clock speeds? by rz30221 on Friday September 16, 2022 @04:26PM (#32871604)
I actually liked the article and I think the first image is really informative.

I guess my point is the "clock frequency ramp time" is really due to the interplay of a bunch of different control systems, some in the OS and some not. And when those systems get mixed together, in a somewhat uncontrolled way (which is the case for most PCs), a huge amount of variability is the result and that's what the article did a good job quantifying but IMHO didn't make clear.

But at the time scales in your plots "how quickly CPUs change clock speeds" is basically an implementation choice.

Just my $0.02