Re: [PATCH 1/2] x86, mce, therm_throt: Optimize logging of thermal throttle messages

From: Borislav Petkov
Date: Fri Oct 18 2019 - 09:23:20 EST


On Fri, Oct 18, 2019 at 05:26:36AM -0700, Srinivas Pandruvada wrote:
> Server/desktops generally rely on the embedded controller for FAN
> control, which kernel have no control. For them this warning helps to
> either bring in additional cooling or fix existing cooling.

How exactly does this warning help? A detailed example please.

> If something needs to force throttle from kernel, then we should use
> some offset from the max temperature (aka TJMax), instead of this
> warning threshold. Then we can use idle injection or change duty cycle
> of CPU clocks.

Yes, as I said, all this needs to be properly defined first. That is,
*if* there's even need for reacting to thermal interrupts in the kernel.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette