Am 24.06.23 um 20:31 schrieb Peter McD:
I'm about installing a fresh Leap 15.5. For Leap 15.4 and Tumbleweed my processor needed disabling zenstate c6, and someone provided a python script which did just that. Is this still relevant for a "fresh" installation of Leap 15.5 /Tumbleweed?
A bit of research brought some fresh insight and finally my question at the end: Bug report: (closed and inconclusive, at least to me) https://bugzilla.kernel.org/show_bug.cgi?id=196683 last entry: 2022-11-08 13:49:02 UTC A final solution from ASUS: Switch C-state off in BIOS https://www.asus.com/support/FAQ/1047407/?clickid=0%3A%3A136472%3A%3A3CelwpW6XMsXDsxHESbqfYXKMqHneiIuZuWaGd9APrF3EF%3A%3A%3A%3A1688502704&utm_source=Takeads.com&utm_medium=affiliate&utm_campaign=&utm_content=136472 Google search: linux kernel c states Some information from Dell "Controlling Processor C-State Usage in Linux" https://wiki.bu.ost.ch/infoportal/_media/embedded_systems/ethercat/controlli... And shorter: ------------------- What are CPU "C-states" and how to disable them if needed?" https://gist.github.com/wmealing/2dd2b543c4d3cff6cab7 To limit a CPU to a certain C-state, you can pass the processor.max_cstate=X option in the kernel line of /boot/grub/grub.conf. Here we limit the system to only C-State 1: kernel /vmlinuz-2.6.18-371.1.2.el5 ... processor.max_cstate=1 On some systems, the kernel can override the BIOS setting, and the parameter intel_idle.max_cstate=0 may be required to ensure sleep states are not entered: kernel /vmlinuz-2.6.32-431.el6.x86_64 ... processor.max_cstate=1 intel_idle.max_cstate=0 You can confirm the maximum allowed CPU C-State with: # cat /sys/module/intel_idle/parameters/max_cstate --------------- This seems to be a solution for Intel processors but might work for AMD Ryzen too. Now my question: I use Tumbleweed and Leap 15.4/5, my processor needs disabling cstate 6. I think I should change with Yast the present boot-loader settings from: splash=verbose noresume security=apparmor to: splash=verbose noresume security=apparmor processor.max_cstate=5 Would that be the right location? Peter