Configure virtme/qemu with Numa support
This article describes how to start qemu / virtme with Numa support
Overview
When developing a new kernel feature or debugging a kernel functionality, it is sometimes necessary to have access to a NUMA machine. This is not always possible. An alternative to a physical NUMA machine is using qemu or the combination of qemu and virtme.
Starting virtme with NUMA support
To start virtme with NUMA support enabled, the following command can be used:
|
|
This assumes that the virtual machines is started with 8GB of memory and 4 CPU’s. It then creates 2 NUMA nodes each with 2 CPU’s and 4GB of memory. Other combinations are certainly possible by changing the corresponding parameters.