Linux VirtIO Memory Prepares For "Big Block Mode"

Written by Michael Larabel in Virtualization on 13 November 2020 at 06:04 AM EST. Add A Comment
VIRTUALIZATION
Red Hat engineers are working on a "big block mode" for the VirtIO-MEM code and could land for the Linux 5.11 cycle.

Right now the virtio-mem driver only supports device block sizes that max out at the size of a single Linux memory block. The "Big Block Mode" addresses that and allows any device block size for any Linux virtual machine.

Big Block Mode is also important for Red Hat's work on VFIO support in QEMU. Ultimately this virtio-mem work allows for easily creating blocks in the gigabyte range and can be hot added/removed. A Big Block "BB" spans multiple Linux memory blocks and is added/removed at Big Block granularity to the memory management code. The sub-block mode is still supported with the mode being determined by the Linux memory block size and device blok size.

If this interests you, learn more about the Big Block Mode via this patch series.
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