New x86/x86_64 KVM Patches Would Help Reduce Excess TLB Flushing

Written by Michael Larabel in Virtualization on 21 November 2021 at 06:14 AM EST. 5 Comments
A set of more than two dozen patches by Google engineer Sean Christopherson overhauls KVM's x86/x86_64 TDP MMU zapping and flushing code.

The focus of the work is to help reduce the number of TLB flushes while the code is cleaned up in the process too.

The exciting element is the significant impact it had on cutting down the number of TLB flushes, which can help with performance. Christopherson noted, "For booting an 8 vCPU, remote_tlb_flush (requests) goes from roughly
180 (600) to 130 (215).

This set of patches to the KVM x86/mmu code is out for review on the kernel mailing list.
Related News
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

Popular News This Week