Skip to content

Commit 1d72ea7

Browse files
[installer] Add CSTATE configuration for the AMD CPU. (sonic-net#22006)
[installer] Add CSTATE configuration for the AMD CPU.
1 parent 88b4a62 commit 1d72ea7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

installer/default_platform.conf

+3
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,9 @@ bootloader_menu_config()
484484
if echo "$CPUVENDOR" | grep -i 'Intel' >/dev/null 2>&1; then
485485
echo "Switch CPU cstates are: disabled"
486486
CSTATES="processor.max_cstate=1 intel_idle.max_cstate=0"
487+
elif echo "$CPUVENDOR" | grep -i 'AMD' >/dev/null 2>&1; then
488+
echo "Switch CPU cstates are: disabled"
489+
CSTATES="processor.max_cstate=1 amd_idle.max_cstate=0"
487490
else
488491
CSTATES=""
489492
fi

0 commit comments

Comments
 (0)