The "What If" Performance Cost To Kernel Page Table Isolation On AMD CPUs

Written by Michael Larabel in Software on 15 October 2021 at 12:00 AM EDT. Page 4 of 4. 28 Comments.

Various real-world programs were showing at least a few percent impact when KPTI was enabled on the Ryzen 9 5900X desktop.

Much of the slowdowns stem from context switching taking significantly longer in the presence of Kernel Page Table Isolation.

Web browser performance with KPTI enabled on AMD CPUs can be a few percent slower.

That is the very quick overview of the Linux kernel's current Kernel Page Table Isolation (KPTI) performance on an AMD Ryzen 9 5900X desktop for reference purposes. But to reiterate, while the TU Graz security researchers have suggested otherwise, AMD's official security bulletin says no further mitigations are required at this time. Hopefully it stays that way and the Linux kernel PTI implementation proves unnecessary for AMD CPUs. If things change there is also the possibility of some enhanced or alternative approach that could alter the impact, so for now we'll just sum it up as the Ryzen 9 5900X performance overhead of "pti=on" for Linux 5.15.

If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.

Related Articles
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via