On Tue, 19 Feb 2019 at 02:50, Sudheer Satyanarayana < sudheer@techchorus.net > wrote:
Hello,

I have installed Fedora 29 on Lenovo W540. The laptop overheats up soon
after booting.

You should make sure there isn't an accumulation of dust preventing proper cooling.  At
my work there were a bunch of Lenovo's that would overheat and crash.   A good blast of
canned air in the vents would release a cloud of dust and restore proper operation.   This
had to be done every few months (typical cubicle farm environment).

Have a look at https://forums.lenovo.com/t5/ThinkPad-P-and-W-Series-Mobile/W540-very-hot-after-bios-2-34-upgrade/td-p/4031281 which implicates spectre mitigations in BIOS, and https://itsfoss.com/reduce-overheating-laptops-linux/

A couple years ago at work we were assigned a high-end Dell workstation that had been running 
Ubuntu.  On boot the fans ran at full speed for a few seconds before the UPS reported "overload"  
and shut down.   On investigation, I found the system had been configured as a node in a big distributed 
numerical model that started at boot (24 cores, 48 threads).   

After removing the model the system booted and ran normally, but still had high fan noise 
and power consumption at startup.  After updating the kernel the startup became less violent.   
We didn't want the numerical model, but the system gave us no further problems running 
other heavy processing.   

Power management tricks have been used to prevent overheating under heavy workloads.   I'm 
not sure what CPU intensive code might be run when the kernel boots, and when the various power 
management tools kick in.   

--
George N. White III