Hacker News new | past | comments | ask | show | jobs | submit login
The dangers of AVX-512 throttling: a 3% impact (lemire.me)
16 points by zdw on Aug 16, 2018 | hide | past | favorite | 4 comments



This might be a bit...too far out there, but could there be side channel attacks via cpu heating? Like heating the cpu to near borderline with AVX512 and seeing if a hyperthread causes throttling due to some “heavy” aes instruction. Sounds unlikely to be exploitable though.

Ever since specter I’m thinking of any performance changes by previous instructions might be exploitable. Again thermal throttling might be a bit too far out there since it’s not _that_ deterministic. Fun thought though!


Not via CPU heating, but a theoretical AVX Spectre attack popped up on HN recently: https://news.ycombinator.com/item?id=17711823


I remember a paper on a close subject - "Revealing hidden services by their clock skew" [1] tl;dr: performing operations on the hidden Tor nodes causes CPU heating, which causes OS clock drift due changing CPU clock circuit properties.

As for AVX512, I'm not sure - IIRC the Intel CPUs throttle (or lower frequency) automatically around the AVX512 execution for TDP reasons.

[1] https://news.ycombinator.com/item?id=7694612


From my (admittedly little) understanding, part of the concern was that a user on part of the CPU could degrade performance for other users by sucking up proportionally more of the heat budget of the entire CPU, triggering throttling. Is this what was tested here?




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: