|
|
Log in / Subscribe / Register

Another round of speculative-execution vulnerabilities

Another round of speculative-execution vulnerabilities

Posted Aug 9, 2023 6:39 UTC (Wed) by ibukanov (subscriber, #3942)
In reply to: Another round of speculative-execution vulnerabilities by willy
Parent article: Another round of speculative-execution vulnerabilities

But what about energy efficiency per task? Is it lower with Cortex-520 compared with speculative processors? Or speculative execution only works by consuming excessive power?


to post comments

Another round of speculative-execution vulnerabilities

Posted Aug 9, 2023 10:10 UTC (Wed) by excors (subscriber, #95769) [Link] (2 responses)

I think efficiency depends heavily on how much performance you want. See the image halfway down https://community.arm.com/arm-community-blogs/b/announcem... , which shows power vs performance curves for Cortex-A510 (in-order; speculative instruction fetch but not really speculative execution), Cortex-A715 (OoO; speculative execution; "balance of performance and efficiency"), and Cortex-X3 (OoO; highest performance).

They're curves because power is a non-linear function of frequency. There's some overlap where a lower-end CPU near its max frequency has worse power than a higher-end CPU at equal performance.

Draw a straight line through the origin and tangential to the purple (middle) curve. That should represent the optimal power/performance ratio for the Cortex-A715. By my rough measurements on this questionably-precise graph, the Cortex-A510 curve shows better power/performance than that when it's about 20%-60% of its max performance.

So if you're trying to optimise power/performance, and you're happy with <15% of the Cortex-A715's max performance - maybe your task doesn't need to complete quickly, or maybe you've got an embarrassingly parallel problem and can spread it over 6x as many cores with no extra overhead - then the Cortex-A510 seems worthwhile. But if you need even slightly more than that, and would have to drive the Cortex-A510 at a higher frequency, you'll get better efficiency *and* 3x better performance by switching to the Cortex-A715 at half its max frequency.

Another round of speculative-execution vulnerabilities

Posted Aug 10, 2023 9:48 UTC (Thu) by anton (subscriber, #25547) [Link]

A more revealing graph (but for the earlier A55 vs. A75 (vs. Exynos M4)) shows Perf/W. And it shows that the in-order A55 is better in Perf/W than the OoO A75 only at its very lowest performance. As soon as you need a little more, the A75 is more power-efficient.

Another round of speculative-execution vulnerabilities

Posted Aug 11, 2023 13:54 UTC (Fri) by ibukanov (subscriber, #3942) [Link]

Big thanks for the info! It is a very interesting perspective.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds