Thanks for the feedback guys. I am thereby marking this thread as solved. Please report if you still face the same crashes after correctly applying the kernel parameter change repeated below:
Edit the file /etc/default/grub and modify GRUB_CMDLINE_LINUX_DEFAULT, I also use consoleblank=0 so I can ask Hetzner to connect a KVM in case of a crash and still be able to see the console should the system be unresponsive.
Next apply the grub configuration:
Reboot the machine when done. To double-check that no other cstates than C0 and C1 are used after the reboot, try the following command (part of the linux-cpupower package):
As can be seen all cstate time higher than C0 (Busy%) is listed in C1%.
Edit the file /etc/default/grub and modify GRUB_CMDLINE_LINUX_DEFAULT, I also use consoleblank=0 so I can ask Hetzner to connect a KVM in case of a crash and still be able to see the console should the system be unresponsive.
Code:
GRUB_CMDLINE_LINUX_DEFAULT="consoleblank=0 intel_idle.max_cstate=1"
Next apply the grub configuration:
Code:
# update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.3.18-1-pve
Found initrd image: /boot/initrd.img-5.3.18-1-pve
Found linux image: /boot/vmlinuz-5.3.13-3-pve
Found initrd image: /boot/initrd.img-5.3.13-3-pve
done
Reboot the machine when done. To double-check that no other cstates than C0 and C1 are used after the reboot, try the following command (part of the linux-cpupower package):
Code:
# turbostat -S --debug sleep 10
<...>
usec Time_Of_Day_Seconds APIC X2APIC Avg_MHz Busy% Bzy_MHz TSC_MHz IRQ SMI POLL C1 POLL% C1% CPU%c1 CPU%c3 CPU%c6 CPU%c7 CoreTmp PkgTmp GFX%rc6 Totl%C0 Any%C0 GFX%C0 CPUGFX% Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc7 Pkg%pc8 Pkg%pc9 Pk%pc10 PkgWatt CorWatt GFXWatt RAMWatt PKG_% RAM_%
535 1581501460.693717 - - 76 1.63 4663 3600 48083 0 1037 77067 0.00 98.34 98.37 0.00 0.00 0.00 46 47 99.59 25.44 18.26 0.00 0.000.00 0.00 0.00 0.00 0.00 0.00 0.00 27.37 26.19 0.00 0.00 0.00 0.00
As can be seen all cstate time higher than C0 (Busy%) is listed in C1%.