News: 0001662735

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

AMD PerfOpt Boosting Prior-Gen Ryzen APU Performance For AI

([Software] 82 Minutes Ago 3 Comments)


Last week I ran benchmarks of [1]the new AMD PerfOpt feature being introduced in Linux 7.4 . In those PerfOpt benchmarks on [2]current-gen AMD Ryzen AI APUs/SoCs the AI performance improved as much as 18~23% . Several Phoronix readers expressed interest in seeing how prior-gen AMD Ryzen hardware benefited or not from PerfOpt, so here are some additional benchmarks.

[3]

This AMD IOMMU Performance Optimization feature AMD integrated graphics can bypass the IOMMU when directly accessing system memory to avoid the associated overhead. With Linux 7.4 this PerfOpt feature will be enabled by default when using Radeon integrated graphics.

[4]

For those curious how AMD PerfOpt works for prior-gen hardware, I pulled out an older Lenovo ThinkPad P14s Gen 4 laptop with the AMD Ryzen 7 PRO 7840U with Radeon 780M integrated graphics. The Radeon 780M is still fairly common and this Zen 4 laptop SoCs still fairly robust in 2026. As to be shown in these benchmarks, with PerfOpt there now is added performance potential for those still using this class of hardware.

The benchmarks on this ThinkPad P14s G4 were done on Ubuntu 26.04 LTS while using a kernel build of the IOMMU next Git tree ahead of the Linux 7.4 merge window opening later this month. No other changes were made to the system during testing beyond toggling the PerfOpt functionality.



[1] https://www.phoronix.com/news/AMD-PerfOpt-Linux-7.4

[2] https://www.phoronix.com/review/amd-perfopt

[3] https://www.phoronix.com/image-viewer.php?id=amd-perfopt-prior-gen&image=amd_zen4_perfopt_1_lrg

[4] https://www.phoronix.com/image-viewer.php?id=amd-perfopt-prior-gen&image=amd_zen4_perfopt_2_lrg



Just close your eyes, tap your heels together three times, and think to
yourself, `There's no place like home.'
-- Glynda the Good