In this guide, we’ll describe various performance tuning knobs available.
Note: Most of the suggestions below apply to bare metal machines, but some of them might be useful for VMs as well.If you find more performance tuning knobs, please let us know by editing this document.
.machine.install.extraKernelArgs
can be used to set kernel parameters.machine.install.extraKernelArgs
changes require a no-op upgrade (e.g. to the same version of Talos) to take effectschedutil
CPU scaling governor by default, for maximum performance, you can switch to the performance
governor:
active
mode of the amd-pstate driver:
intel_idle
driver:
amd-ucode
and intel-ucode
are installed (and using latest version of Talos Linux).
Linux kernel will load the microcode updates on early boot, and for some processors, it might reduce the performance impact of the mitigations.
The availability of microcode updates depends on the processor model.
The kernel command line argument mitigations
can be used to disable all mitigations at once (not recommended from security point of view):
iommu.strict=0
, for later versions this is a default setting.
Performance can be further improved at some cost of security by bypassing the I/O memory management unit (IOMMU) for DMA: