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: