Tuning Overview
This document describes how to adjust the virtualization parameters of Kunpeng servers in KVM-based virtualization environments to achieve optimal performance.
In virtualized environments, multiple VMs share CPU core resources on the same physical host, which can create resource contention that leads to performance bottlenecks and degrades VM performance. By binding VM vCPUs to specific physical CPU cores, resources can be allocated more effectively, preventing resource over-concentration or underutilization and enhancing overall system performance. In the server CPU architecture, each socket encompasses multiple CPU dies, with each CPU die containing multiple clusters. Consequently, the varying microarchitectures of the physical CPU cores to which VM vCPUs are bound will influence the scope of resources available to those vCPUs.
- A socket represents the physical packaging of a CPU, corresponding to a single, independent processor unit.
- A die refers to the core area of the CPU chip. It is a single piece of silicon containing the essential components of the CPU, such as the arithmetic units, cache, and control logic.
- A cluster is a logical grouping of several CPU cores on a chip, which share resources like cache.