Skip to content

Commit

Permalink
add processor.max_cstate=0 to intel cpu cmdline (#16339) (#16425)
Browse files Browse the repository at this point in the history
  • Loading branch information
mssonicbld authored Sep 3, 2023
1 parent 2db19c2 commit 1cac2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/default_platform.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1cac2b6

Please sign in to comment.