VirtIO-Crypto Seeing A Big Performance Speedup

Written by Michael Larabel in Virtualization on 18 April 2022 at 05:11 AM EDT. 1 Comment
VIRTUALIZATION
The "virtio-crypto" kernel driver for supporting the VirtIO-spec'ed virtual crypto hardware accelerator for virtual machines is about to offer significantly better performance.

A set of virtio-crypto patches from Bytedance work to significantly enhance the throughput potential for this cryptography driver. By switching from busy polling to a wait mechanism for its control queue in allowing for more concurrency and lessening lock contention, VirtIO-Crypto sees a QPS boost from ~40K/s to ~200K/s.

Plus there is work to improve the crypto engine performance for the data queue and supporting queue depths larger than one.

Those making use of the VirtIO crypto support can see this patch series under review that is providing significant performance improvements for this Linux kernel driver.
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