@Debian_SuperUser wrote:
But what I have noticed is that in the early boot (presumably before even loading systemd), my CPU frequency may not be limited as the power saver governer might not have been loaded, and sometimes it does crash because of it.
....
Does the Kernel not have anything to limit the CPU performance? Disabling intel pstate doesn't actually limit the performance. I also see something related to ENERGY_PERF_BIAS on boot.
....
But sometimes it can crash at boot because the governer that sets the frequencies is not loaded yet.
Some queries that arise for me in this case are the following:
Are there any statistical outputs to show that this high cpu frequency is actually the causal factor?
Or is this surmise?
Is there anything in the the boot.log, kernel.log or kernel ring buffer to indicate that this is actually the case?
The linux booting process typically is power efficient. What the process is doing at boot basically is initialising lots of hardware and loading drivers which are not tasks that require peak performance nor to be running at full power, but rather, at various levels closer to minimal power.
The boot processes are specifically designed in code to not generate a lot of heat, and that's to maintain stability. The demands on the cpu vary in the booting process in relation to the different tasks that it has to accomplish, so if there were peaks (which has not been established), they would be momentary in any case.
The sorts of tasks that really stress the cpu and have it working near maximum levels are things like compiling large codebases such as in technical use or scientific work which may require it, or large video processing activities.
The user can stress test the cpu to see how it behaves at very high levels of frequency by using stress tools designed for the purpose, or creating some intensely demanding processes that will achieve a similar state and be measurable shown in output data. In post #11 there are some stats, but no information on the particular tests or how they were implemented which would be useful for readers to know to have the issue clearer in making an assessment of the matter, and no evidence that this factor was implicated in the booting issue.
The cpu may simply not be in optimal or original condition and there simply may not be anything that can reasonably be done to ameliorate its state apart from measures already introduced to deal with its condition. The booting issue may or may not be affected by this, or there may be some other confounding variable which may or may not primarily implicate the cpu,