Linux 5.11 Adding VirtIO-MEM "Big Block Mode"
Written by Michael Larabel in Linux Kernel on 23 December 2020 at 09:14 AM EST. 4 Comments
The previously covered VirtIO memory (VirtIO-MEM) work on its Big Block Mode "BBM" will be landing with Linux 5.11.

The Red Hat led feature work was sent in today as part of Linux 5.11 virtIO updates. This is about overcoming a current limitation that the VirtIO-MEM driver can only support device block sizes up to the size of a single Linux memory block. The Big Block Mode allows for any device block size for any Linux virtual machine even if it's larger than a Linux memory block size of the running system.

Red Hat's David Hildenbrand summed up the VirtIO-MEM Big Block Mode work as:
virtio-mem currently only supports device block sizes that span at most a single Linux memory block. For example, gigantic pages in the hypervisor result on x86-64 in a device block size of 1 GiB - when the Linux memory block size is 128 MiB, we cannot support such devices (we fail loading the driver). Of course, we want to support any device block size in any Linux VM.

Bigger device block sizes will become especially important once supporting VFIO in QEMU - each device block has to be mapped separately, and the maximum number of mappings for VFIO is 64k. So we usually want blocks in the gigabyte range when wanting to grow the VM big.

BBM is now being mainlined for the Linux 5.11 kernel cycle due out around February 2021.
Related News
About The Author
Author picture

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 or contacted via

Popular News This Week