-
-
Notifications
You must be signed in to change notification settings - Fork 441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Temperature mapping is wrong on i7-1355U #1335
Comments
I'm working on a patch to do this properly, htop makes a few bold assumptions here. |
Ok, work in progress is here: main...leahneukirchen:htop:cpu-topology I think this also fixes #1176, #806, #1048 in a better way. Essentially, we store for each CPU the physical id (socket) and the core id (reused on hyperthreading). The For Ryzen, I tested on a 3700X, which has only 1 sensor, and a dual-socket EPYC 7443 with 24 Cores (48 Threads), which has 2 sensors that report 4 measurements, one for each CCD (some internal grouping). Since CCD mapping is not possible exactly to the best of my knowledge, I apply the heuristic that each CCD has same size, and each CCD contains the cores (not CPUs) in order. The CCD order should not change during htop runs (could be wrong with hotswapping CPUs...). This seems to be true, comparing with how other tools do it. I can at least verify that pinning CPU load to one core heats the CCD assigned to it. This adds some complexity to the code, but it should be acceptable. |
Closes htop-dev#806. Closes htop-dev#1048. Closes htop-dev#1176. Closes htop-dev#1335. Addresses htop-dev#879 (on Linux).
Closes htop-dev#806. Closes htop-dev#1048. Closes htop-dev#1176. Closes htop-dev#1335. Addresses htop-dev#879 (on Linux).
Closes htop-dev#806. Closes htop-dev#1048. Closes htop-dev#1176. Closes htop-dev#1335. Addresses htop-dev#879 (on Linux).
This bug is related to #879.
I have a 13th Gen Intel Raptor Lake i7-1355U CPU, which has 2 performance cores (with Hyperthreading), and 8 efficiency cores.
lscpu gives the respective frequencies:
The
coretemp
sensor provides these temperatures:However, htop 3.2.2 reports temperatures like this:
Note that the two last cores have
N/A
. Also Cores 1 and 2 have different temperature,but they are the same package.
htop should print the same temperature for cores 1 and 2, as well as 3 and 4, and fill up the rest, so core 12 has 39°C in the end. The mapping is available from parsing
/proc/cpuinfo
:The text was updated successfully, but these errors were encountered: