add processor.max_cstate=0 to intel cpu cmdline (#16339) (#16425)

This commit is contained in:
mssonicbld 2023-09-03 21:07:58 +08:00 committed by GitHub
parent 2db19c2568
commit 1cac2b6fb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -481,7 +481,7 @@ bootloader_menu_config()
echo "Switch CPU vendor is: $CPUVENDOR"
if echo "$CPUVENDOR" | grep -i 'Intel' >/dev/null 2>&1; then
echo "Switch CPU cstates are: disabled"
CSTATES="intel_idle.max_cstate=0"
CSTATES="processor.max_cstate=1 intel_idle.max_cstate=0"
else
CSTATES=""
fi