

This guide, if not mentioned specifically, assumes using Linux 5.12 and Qemu* 6.0.0. It is the user land part of the hypervisor for the VM. Each VM is run within a separate Qemu, which is a host user mode process. KVM is a Linux kernel module which acts as the kernel part of the hypervisor for the VMs. The following picture shows the KVM/Qemu Virtualization architecture based on 3 rd Generation Intel Xeon platform.ģ rd Generation Intel Xeon Scalable processor provides latest Intel® Virtualization Technology for IA-32, Intel® 64 and Intel® Architecture (Intel® VT-x) and Intel® Virtualization Technology for Directed I/O (Intel® VT-d) hardware virtualization technologies.
#Qemu system mode vs software
Software Tuning The KVM/Qemu Virtualization Architecture Configuration ItemĪdvanced/Processor Configuration/Intel ® Virtualization TechnologyĪdvanced/PCI Configuration/Integrated IO Configuration/Intel ® VT for Directed I/OĪdvanced/Processor Configuration/Intel ® Hyper-Threading TechĪdvanced/Memory Configuration/Memory RAS and Performance Configuration/NUMA optimizedĪdvanced/Power & Performance/CPU Power and Performance PolicyĪdvanced/Power & Performance/CPU P State Control/CPU P State Control/Enhanced Intel SpeedStep ® TechĪdvanced/Power & Performance/CPU P State Control/CPU P State Control/Intel® Turbo Boost TechnologyĪdvanced/Power & Performance/CPU P State Control/CPU P State Control/Energy Efficient TurboĪdvanced/Power & Performance/Hardware P StatesĪdvanced/Power & Performance/CPU C State Control/C1EĪdvanced/Power & Performance/CPU C State Control/Processor C6 It may be desirable to adjust some of the settings for balanced performance results according to actual requirements and workloads. Please note that these BIOS setting are trying to achieve best performance, it may cost more power. BIOS Settingīesides the CPU core number and the size of the System Memory, the following BIOS settings also have impacts on the virtual machine performance. This will help users to determine the number of CPU cores the system requires. Please use historical data to estimate peak time requirements, for example, how many concurrent virtual machines and virtual CPUs the system commits to meet the service level agreements (SLA). The faster the frequency, the shorter time it takes to execute a typical workload. CPU frequency is another critical factor to consider. In general, the more CPU cores and the more memory in the system, the more virtual machines the system can support. 3 rd Gen Intel Xeon Scalable processors support up to 40 cores, up to 6TB of system memory, and up to 8 memory channels per socket. Hardware configuration and settings play an important role regarding performance. However, please note that we rely on the users to carefully consider these settings for their specific scenarios. This guide aims to help the reader to get the best virtualization performance on 3 rd Generation Intel Xeon Scalable processor based platforms. This guide assumes that the audience has general knowledge of the Linux* Operating System and KVM/Qemu based virtualization.

This guide is targeted towards cloud administrators or users who deploy KVM/Qemu solutions and want to achieve best performance results on 3 rd Generation Intel® Xeon® Scalable processor based platforms. KVM/Qemu Virtualization is the foundational technology and the major use scenario in cloud environment.
