Merge "Set nohz_full in cpu-pinning element"

This commit is contained in:
Zuul 2023-01-12 10:47:22 +00:00 committed by Gerrit Code Review
commit d90ea57eb8
2 changed files with 14 additions and 0 deletions

View File

@ -27,6 +27,7 @@ case $DISTRO_NAME in
DIB_BOOTLOADER_DEFAULT_CMDLINE+=" irqaffinity=0"
# This will be ignored on single vCPU systems
DIB_BOOTLOADER_DEFAULT_CMDLINE+=" isolcpus=1-N"
DIB_BOOTLOADER_DEFAULT_CMDLINE+=" nohz=on nohz_full=1-N"
export DIB_BOOTLOADER_DEFAULT_CMDLINE
;;
*)

View File

@ -0,0 +1,13 @@
---
features:
- |
The cpu-pinning element for the amphora image sets the kernel bootarg
nohz_full=1-N to enable
full dynticks on all CPUs except the first one (on single CPU images this
will have no effect). This should reduce kernel noise on those CPUs to a
minimum and reduce latency.
upgrade:
- |
In order for the full dynticks optimization to become effective a new
amphora image needs to be built with the new optional CPU pinning
feature enabled.