How does one optimize for better system temperatures on Linux while doing heavy tasks (e.g. gaming) during summer heat.
Are there tools for creating ‘gaming/balanced/economy’ profiles for example that limit the GPU and CPU depending on the requirements?
Should I find a way to customize fan speeds?
I am trying to find everything I should do from the software perspective before I move on to buying better cooling hardware.
I am currently reaching 100+ celsius temps maximum on both the GPU and CPU while gaming, on idle it’s like this:

System info:



I got a tower stand, the bottom of the tower had completely filled with dust and there was no airflow from there, the wheels are also very convenient for cleaning under there.
I also cleaned the dust inside and re-applied new thermal paste, neither of which I had done for quite a while, and it already improved my temps by a lot, about 20 celsius cooler max for both the cpu and gpu.
Here are the temps after a gaming session: