temp-throttle icon indicating copy to clipboard operation
temp-throttle copied to clipboard

Disable or Isolate CPU core to reduce temp

Open latot opened this issue 2 years ago • 2 comments

Hi hi, I was doing some tests in a server, and I notice even with the actual method, is not possible to always keep the temp we want.

So, after collect data I notice the temp is also proportional to the number of cores we are using, so, I think would be great use CPU affinity to just lock a CPU core, and with that we can reduce the temp too.

I'm curios what would be the combination of cores enabled/frequency to get the best performance.

Thx.

latot avatar Mar 28 '22 12:03 latot

I found 2 ways to do this, one is:

echo 0 > /sys/devices/system/cpu/cpu3/online

This method have some... things: https://stackoverflow.com/questions/44907731/programmatically-disable-cpu-core

The other one:

cset shield --cpu 4

https://github.com/lpechacek/cpuset This project is old, and need a doc to explain how to run it..., is not as simple as run it.

latot avatar Mar 28 '22 16:03 latot

Thank you for your contribution. I will look into it. 👍🏻

Sepero avatar Apr 05 '22 07:04 Sepero