Google's Patches To Speed-Up Over-Committed Linux Guest VMs Are Looking Great

Written by Michael Larabel in Virtualization on 9 June 2023 at 11:25 AM EDT. 12 Comments
VIRTUALIZATION
Google engineers have been working on Linux patches to improve the guest VM performance when the host encounters memory pressure or have over-committed too many guests. Similar patches already are used on Chrome OS and Google has been working to upstream the functionality under the mainline Linux kernel and have now provided some reference benchmark results.

The intent of the patches is to provide a fast path for clearing the accessed bit without taking the KVM MMU lock. Following the v2 patches in May, some new performance results have been posted to the kernel mailing list for highlighting the benefits. Google's Yu Zhao noted some rather significant speed-ups inside the VMs when dealing with over-committed hosts.

Spark on ARM64 is consuming 12% less time when sorting four billion random integers twenty times as one stress test. Memcached on POWER9 achieved 10% more operations per second with this patch series. Lastly for Multichase on x86 in 64 micro-VMs achieved 6% more samples with this patch series.

At least from these three benchmarks published so far, this patch series remains quite promising.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com 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 OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week