diff --git a/scripts/fast-reboot b/scripts/fast-reboot index aef71d6cd6..935188c393 100755 --- a/scripts/fast-reboot +++ b/scripts/fast-reboot @@ -422,6 +422,12 @@ function setup_reboot_variables() local fstype=$(blkid -o value -s TYPE ${sonic_dev}) BOOT_OPTIONS="${BOOT_OPTIONS} ssd-upgrader-part=${sonic_dev},${fstype}" fi + + if [[ "$sonic_asic_type" == "mellanox" ]]; then + # 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" + fi } function check_docker_exec()