Skip to content
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

Temprature of (non-continuous-index) CPU core showing N/A #1564

Open
KumaTea opened this issue Nov 17, 2024 · 2 comments
Open

Temprature of (non-continuous-index) CPU core showing N/A #1564

KumaTea opened this issue Nov 17, 2024 · 2 comments

Comments

@KumaTea
Copy link

KumaTea commented Nov 17, 2024

Recently I set up a server with an Intel E5-2680 v4 CPU which has 14 cores and 2 threads per core.

I have installed htop and lm-sensors. htop shows:

    1[|      0.5% 30°C]   5[       0.0% 28°C]   9[|      0.5% 28°C]  13[       0.0% 28°C]  15[       0.0% 30°C]  19[|      0.5% 28°C]  23[       0.0% 28°C]  27[       0.0% 28°C]
    2[||     1.0% 28°C]   6[||     1.0% 30°C]  10[       0.0% 29°C]  14[       0.0% 29°C]  16[       0.0% 28°C]  20[||     1.0% 30°C]  24[|      0.5% 29°C]  28[       0.0% 29°C]
    3[|||    2.5% 29°C]   7[       0.0% 28°C]  11[       0.0% 30°C]                        17[       0.0% 29°C]  21[       0.0% 28°C]  25[|      0.5% 30°C]
    4[|      0.5% 29°C]   8[        0.0% N/A]  12[|      0.5% 29°C]                        18[|      0.5% 29°C]  22[||      1.0% N/A]  26[|      0.5% 29°C]
  Mem[||||||||||||                                                           2.59G/31.2G] Date & Time: 2024-11-17 14:00:09
  Swp[||                                                                     6.75M/43.0G] Uptime: 02:54:41
  Disk IO: 0.4% read: 0KiB/s write: 5KiB/s                                                Load average: 0.34 0.49 0.35                      

Note that core 8 (index 8 and 22) shows temprature of N/A.

Here's the output of lm-sensors:

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +34.0°C  (high = +90.0°C, crit = +100.0°C)
Core 0:        +29.0°C  (high = +90.0°C, crit = +100.0°C)
Core 1:        +28.0°C  (high = +90.0°C, crit = +100.0°C)
Core 2:        +29.0°C  (high = +90.0°C, crit = +100.0°C)
Core 3:        +28.0°C  (high = +90.0°C, crit = +100.0°C)
Core 4:        +28.0°C  (high = +90.0°C, crit = +100.0°C)
Core 5:        +30.0°C  (high = +90.0°C, crit = +100.0°C)
Core 6:        +28.0°C  (high = +90.0°C, crit = +100.0°C)
Core 8:        +28.0°C  (high = +90.0°C, crit = +100.0°C)
Core 9:        +29.0°C  (high = +90.0°C, crit = +100.0°C)
Core 10:       +29.0°C  (high = +90.0°C, crit = +100.0°C)
Core 11:       +30.0°C  (high = +90.0°C, crit = +100.0°C)
Core 12:       +28.0°C  (high = +90.0°C, crit = +100.0°C)
Core 13:       +29.0°C  (high = +90.0°C, crit = +100.0°C)
Core 14:       +29.0°C  (high = +90.0°C, crit = +100.0°C)

Core 7 (or 8 indexed from 1) is missing. It may indicate that the CPU had likely disabled core 8 and 16 from a 16 core one.


Would this be considered as a bug report or feature request? Since every core does have its temprature data. Or this won't be fixed because this situation is rare?

Thank you!

@fasterit
Copy link
Member

Is it not doing the right thing? Because your paste looks as if you index CPUs from 1 in htop.
You can change that in F2 (Setup) -> Display options -> Count CPUs from 1 instead of 0.

@KumaTea
Copy link
Author

KumaTea commented Nov 17, 2024

you index CPUs from 1

Hi, thank you for your reply!

I did check the option Count CPUs from 1 instead of 0. It does not affect the issue. When unchecked:

    0[       0.0% 30°C]   4[|      0.7% 28°C]   8[       0.0% 28°C]  12[|      0.7% 28°C]  14[       0.0% 30°C]  18[||     2.0% 28°C]  22[||     2.6% 28°C]  26[|      0.7% 28°C]
    1[|      0.7% 28°C]   5[       0.0% 29°C]   9[       0.0% 29°C]  13[       0.0% 29°C]  15[       0.0% 28°C]  19[|      0.7% 29°C]  23[||     1.3% 29°C]  27[|      0.7% 29°C]
    2[|      0.7% 29°C]   6[       0.0% 28°C]  10[|      0.7% 29°C]                        16[|      0.7% 29°C]  20[||     1.9% 28°C]  24[       0.0% 29°C]
    3[       0.0% 28°C]   7[        0.0% N/A]  11[       0.0% 29°C]                        17[       0.0% 28°C]  21[        0.0% N/A]  25[       0.0% 29°C]

The same core (7[ 0.0% N/A] and 21[ 0.0% N/A] in this time) shows the same result N/A.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants