echo 'GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX processor.max_cstate=5"' | sudo tee /etc/default/grub.d/cstate-mode.cfg
sudo update-grub