News for hackers. Stuff that matters.
Re:Hertzbleed Attack by gpm on Tuesday June 14, 2022 @02:19PM (#31743627)
> since those tend to run at a sustained max anyway

Really? I've never been on the cloud-provider side of cloud computing, but every application I've developed that ran on the cloud was rarely if ever running at a sustained maximum of the resources allocated to it. We always wanted a buffer to be able to absorb load spikes and users performing unusually expensive actions.

Re:Hertzbleed Attack by bombcar on Tuesday June 14, 2022 @02:32PM (#31743832)
Dynamic scaling involves bringing the CPU frequency down but not off - you can get almost as much power savings for some loads by using the old HLT instruction, so your CPU/core is either at full speed or basically off.
Re:Hertzbleed Attack by depereo on Tuesday June 14, 2022 @02:54PM (#31744219)
I am on the cloud provider side; we would sometimes limit the upper and lower range of frequency but completely disabling scaling would be very unusual.
Re:Hertzbleed Attack by href on Tuesday June 14, 2022 @06:02PM (#31746608)
Same. Our compute hosts are generally not using 100% of their cores at all time.

There’s computes that are not full, computes that run rather diverse tenants, and even the fully utilized computes responsible for CPU optimized VMs have enough variance in their workload for frequency scaling to occur.

Re:Hertzbleed Attack by staindk on Tuesday June 14, 2022 @02:26PM (#31743757)
I think this means you were paying for the over-provisioning i.e. paying for a full CPU or baremetal server?

"The Cloud" is all about vCPU - "2 vCPUs" feels somewhat standard for a base-tier VPS... and 2 vCPUs means "2 virtual CPUs" or rather "roughly equivalent to 2 CPU cores" I think. I understand that jargon to mean they are always cramming 11 x 2vCPU clients onto 20 physical cores.

Re:Hertzbleed Attack by phamilton on Tuesday June 14, 2022 @02:31PM (#31743828)
Nah, vCPU is generally just hyperthreading. See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cpu-opti...

So you get 2 vCPUs per core.

Re:Hertzbleed Attack by staindk on Tuesday June 14, 2022 @02:44PM (#31744033)
Thanks for the link, that's great to know about AWS.

I don't think all other VPS providers are that good about things - googling around for some other definitions of vCPU (in VPS context) I see a lot of examples of 16 thread server CPUs handling "128 vCPUs".

Re:Hertzbleed Attack by ceeplusplus on Tuesday June 14, 2022 @02:32PM (#31743840)
No, 2 vCPUs is 2 logical threads, which is equivalent to a single physical core on x86. So yeah, they are cramming 11 x 2 vCPUs onto 20 physical cores. In fact, it's more like 20 x 2 vCPUs.
Re:Hertzbleed Attack by sofixa on Tuesday June 14, 2022 @02:31PM (#31743825)
Depends on the cloud - OVH and Digital Ocean yes, but AWS give you whole uncontested cores ( bar the t* instance line, but that's it's whole thing).
Re:Hertzbleed Attack by rhn_mk1 on Tuesday June 14, 2022 @02:31PM (#31743816)
That only means you were making space for others to phase in and use the remaining resources that you spared. You're not the one deciding which process sits on which resource, after all.

The only reason why resources might be left unused are usage spikes that all customers share.

Re:Hertzbleed Attack by sofixa on Tuesday June 14, 2022 @02:30PM (#31743813)
Depends on your workload, spot batch jobs would run at sustained maximum.
Re:Hertzbleed Attack by gpm on Tuesday June 14, 2022 @05:46PM (#31746472)
Absolutely, my observation is in a way that "most workloads don't seem (to me) to be like that".

The number of servers serving interactive queries (frontends, rest api servers, databases, etc) seems (to me) to greatly outnumber the number of batch jobs, and I've always seen those intentionally "over" provisioning CPU because otherwise you get latency issues if load increases at all.

I don't actually know that cloud providers don't either have some clever way around this (e.g. spending spare CPU cycles on some other form of work), or that it isn't the typical usage pattern, but I strongly suspect it.