Skip to content

Commit

Permalink
[fast/warm-reboot] add cpufreq.default_governor=erformance to BOOT_OP…
Browse files Browse the repository at this point in the history
…TIONS

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
  • Loading branch information
stepanblyschak committed Jul 18, 2024
1 parent b9a6049 commit e24c447
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/fast-reboot
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,10 @@ function setup_reboot_variables()
local fstype=$(blkid -o value -s TYPE ${sonic_dev})
BOOT_OPTIONS="${BOOT_OPTIONS} ssd-upgrader-part=${sonic_dev},${fstype}"
fi
# Set governor to performance to speed up boot process.
# The governor is reset back to kernel default in warmboot-finalizer script.
BOOT_OPTIONS="${BOOT_OPTIONS} cpufreq.default_governor=performance"
}
function check_docker_exec()
Expand Down

0 comments on commit e24c447

Please sign in to comment.