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 · 6 comments
Open

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

KumaTea opened this issue Nov 17, 2024 · 6 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.

@pezz
Copy link

pezz commented Dec 18, 2024

This appears to be an issue still.

I get temps from like 5 cores out of 20 even though sensors sees them all, but htop shows N/A for lots of them.

@fasterit
Copy link
Member

@pezz: can you paste your sensors -j?

@pezz
Copy link

pezz commented Dec 18, 2024

I should learn to count heh, sensors only sees 14 cores.

% sudo sensors -j | grep "Core " | wc -l
14

htop still only reports temp on 5 of them though.

{
   "coretemp-isa-0000":{
      "Adapter": "ISA adapter",
      "Package id 0":{
         "temp1_input": 28.000,
         "temp1_max": 80.000,
         "temp1_crit": 100.000,
         "temp1_crit_alarm": 0.000
      },
      "Core 0":{
         "temp2_input": 26.000,
         "temp2_max": 80.000,
         "temp2_crit": 100.000,
         "temp2_crit_alarm": 0.000
      },
      "Core 4":{
         "temp6_input": 25.000,
         "temp6_max": 80.000,
         "temp6_crit": 100.000,
         "temp6_crit_alarm": 0.000
      },
      "Core 8":{
         "temp10_input": 24.000,
         "temp10_max": 80.000,
         "temp10_crit": 100.000,
         "temp10_crit_alarm": 0.000
      },
      "Core 12":{
         "temp14_input": 25.000,
         "temp14_max": 80.000,
         "temp14_crit": 100.000,
         "temp14_crit_alarm": 0.000
      },
      "Core 16":{
         "temp18_input": 25.000,
         "temp18_max": 80.000,
         "temp18_crit": 100.000,
         "temp18_crit_alarm": 0.000
      },
      "Core 20":{
         "temp22_input": 24.000,
         "temp22_max": 80.000,
         "temp22_crit": 100.000,
         "temp22_crit_alarm": 0.000
      },
      "Core 24":{
         "temp26_input": 26.000,
         "temp26_max": 80.000,
         "temp26_crit": 100.000,
         "temp26_crit_alarm": 0.000
      },
      "Core 25":{
         "temp27_input": 26.000,
         "temp27_max": 80.000,
         "temp27_crit": 100.000,
         "temp27_crit_alarm": 0.000
      },
      "Core 26":{
         "temp28_input": 26.000,
         "temp28_max": 80.000,
         "temp28_crit": 100.000,
         "temp28_crit_alarm": 0.000
      },
      "Core 27":{
         "temp29_input": 26.000,
         "temp29_max": 80.000,
         "temp29_crit": 100.000,
         "temp29_crit_alarm": 0.000
      },
      "Core 28":{
         "temp30_input": 27.000,
         "temp30_max": 80.000,
         "temp30_crit": 100.000,
         "temp30_crit_alarm": 0.000
      },
      "Core 29":{
         "temp31_input": 27.000,
         "temp31_max": 80.000,
         "temp31_crit": 100.000,
         "temp31_crit_alarm": 0.000
      },
      "Core 30":{
         "temp32_input": 27.000,
         "temp32_max": 80.000,
         "temp32_crit": 100.000,
         "temp32_crit_alarm": 0.000
      },
      "Core 31":{
         "temp33_input": 27.000,
         "temp33_max": 80.000,
         "temp33_crit": 100.000,
         "temp33_crit_alarm": 0.000
      }
   },
   "spd5118-i2c-17-51":{
      "Adapter": "SMBus I801 adapter at efa0",
      "temp1":{
         "temp1_input": 27.250,
         "temp1_max": 55.000,
         "temp1_min": 0.000,
         "temp1_crit": 85.000,
         "temp1_lcrit": 0.000,
         "temp1_max_alarm": 0.000,
         "temp1_min_alarm": 0.000,
         "temp1_crit_alarm": 0.000,
         "temp1_lcrit_alarm": 0.000
      }
   },
   "acpitz-acpi-0":{
      "Adapter": "ACPI interface",
      "temp1":{
         "temp1_input": 27.800
      }
   },
   "nct6687-isa-0a20":{
      "Adapter": "ISA adapter",
      "VIN0":{
         "in0_input": 1.008,
         "in0_min": 0.000,
         "in0_max": 0.000
      },
      "VIN1":{
         "in1_input": 1.008,
         "in1_min": 0.000,
         "in1_max": 0.000
      },
      "VIN2":{
         "in2_input": 0.688,
         "in2_min": 0.000,
         "in2_max": 0.000
      },
      "VIN3":{
         "in3_input": 0.656,
         "in3_min": 0.000,
         "in3_max": 0.000
      },
      "VIN4":{
         "in4_input": 0.592,
         "in4_min": 0.000,
         "in4_max": 0.000
      },
      "VIN5":{
         "in5_input": 0.928,
         "in5_min": 0.000,
         "in5_max": 0.000
      },
      "VIN6":{
         "in6_input": 0.896,
         "in6_min": 0.000,
         "in6_max": 0.000
      },
      "VIN7":{
         "in7_input": 1.536,
         "in7_min": 0.000,
         "in7_max": 0.000
      },
      "VCC":{
         "in8_input": 3.344,
         "in8_min": 0.000,
         "in8_max": 0.000
      },
      "fan1":{
         "fan1_input": 0.000,
         "fan1_min": 0.000,
         "fan1_pulses": 2.000
      },
      "fan2":{
         "fan2_input": 0.000,
         "fan2_min": 0.000,
         "fan2_pulses": 2.000
      },
      "fan3":{
         "fan3_input": 811.000,
         "fan3_min": 0.000,
         "fan3_pulses": 2.000
      },
      "fan4":{
         "fan4_input": 0.000,
         "fan4_min": 0.000,
         "fan4_pulses": 2.000
      },
      "fan5":{
         "fan5_input": 0.000,
         "fan5_min": 0.000,
         "fan5_pulses": 2.000
      },
      "fan6":{
         "fan6_input": 0.000,
         "fan6_min": 0.000,
         "fan6_pulses": 2.000
      },
      "fan7":{
         "fan7_input": 0.000,
         "fan7_min": 0.000,
         "fan7_pulses": 2.000
      },
      "fan8":{
         "fan8_input": 2643.000,
         "fan8_min": 0.000,
         "fan8_pulses": 2.000
      },
      "fan9":{
         "fan9_input": 0.000,
         "fan9_min": 0.000,
         "fan9_pulses": 2.000
      },
      "fan10":{
         "fan10_input": 0.000,
         "fan10_min": 0.000,
         "fan10_pulses": 2.000
      },
      "PECI 0.0":{
         "temp1_input": 28.000,
         "temp1_max": 0.000,
         "temp1_max_hyst": 0.000,
         "temp1_min": 0.000,
         "temp1_crit": 0.000,
         "temp1_type": 6.000
      },
      "Diode 0 (curr)":{
         "temp2_input": 37.000,
         "temp2_max": 0.000,
         "temp2_max_hyst": 0.000,
         "temp2_min": 0.000,
         "temp2_crit": 0.000,
         "temp2_type": 3.000
      },
      "Thermistor 15":{
         "temp3_input": 31.000,
         "temp3_max": 127.000,
         "temp3_max_hyst": 27.000,
         "temp3_min": 0.000,
         "temp3_crit": 0.000,
         "temp3_type": 4.000
      },
      "PCH CHIP":{
         "temp4_input": 37.000,
         "temp4_max": 0.000,
         "temp4_max_hyst": 0.000,
         "temp4_min": 0.000,
         "temp4_crit": 0.000
      },
      "Thermistor 16":{
         "temp5_input": 29.000,
         "temp5_max": 0.000,
         "temp5_max_hyst": 0.000,
         "temp5_min": 0.000,
         "temp5_crit": 0.000,
         "temp5_type": 4.000
      },
      "intrusion0":{
         "intrusion0_alarm": 0.000
      },
      "beep_enable":{
         "beep_enable": 0.000
      }
   },
   "spd5118-i2c-17-53":{
      "Adapter": "SMBus I801 adapter at efa0",
      "temp1":{
         "temp1_input": 28.500,
         "temp1_max": 55.000,
         "temp1_min": 0.000,
         "temp1_crit": 85.000,
         "temp1_lcrit": 0.000,
         "temp1_max_alarm": 0.000,
         "temp1_min_alarm": 0.000,
         "temp1_crit_alarm": 0.000,
         "temp1_lcrit_alarm": 0.000
      }
   },
   "nvme-pci-0200":{
      "Adapter": "PCI adapter",
      "Composite":{
         "temp1_input": 29.850,
         "temp1_max": 81.850,
         "temp1_min": -273.150,
         "temp1_crit": 84.850,
         "temp1_alarm": 0.000
      },
      "Sensor 1":{
         "temp2_input": 29.850,
         "temp2_max": 65261.850,
         "temp2_min": -273.150
      },
      "Sensor 2":{
         "temp3_input": 33.850,
         "temp3_max": 65261.850,
         "temp3_min": -273.150
      }
   }
}

@Tsvetk
Copy link

Tsvetk commented Dec 22, 2024

image
dual xeon 2694av4 -
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +51.0°C (high = +83.0°C, crit = +93.0°C)
Core 0: +50.0°C (high = +83.0°C, crit = +93.0°C)
Core 1: +45.0°C (high = +83.0°C, crit = +93.0°C)
Core 2: +45.0°C (high = +83.0°C, crit = +93.0°C)
Core 3: +45.0°C (high = +83.0°C, crit = +93.0°C)
Core 4: +44.0°C (high = +83.0°C, crit = +93.0°C)
Core 5: +44.0°C (high = +83.0°C, crit = +93.0°C)
Core 6: +44.0°C (high = +83.0°C, crit = +93.0°C)
Core 7: +44.0°C (high = +83.0°C, crit = +93.0°C)
Core 8: +44.0°C (high = +83.0°C, crit = +93.0°C)
Core 9: +43.0°C (high = +83.0°C, crit = +93.0°C)
Core 10: +43.0°C (high = +83.0°C, crit = +93.0°C)
Core 11: +44.0°C (high = +83.0°C, crit = +93.0°C)
Core 12: +44.0°C (high = +83.0°C, crit = +93.0°C)
Core 13: +42.0°C (high = +83.0°C, crit = +93.0°C)
Core 14: +42.0°C (high = +83.0°C, crit = +93.0°C)
Core 15: +42.0°C (high = +83.0°C, crit = +93.0°C)

coretemp-isa-0001
Adapter: ISA adapter
Package id 1: +50.0°C (high = +87.0°C, crit = +97.0°C)
Core 0: +45.0°C (high = +87.0°C, crit = +97.0°C)
Core 1: +47.0°C (high = +87.0°C, crit = +97.0°C)
Core 2: +45.0°C (high = +87.0°C, crit = +97.0°C)
Core 3: +45.0°C (high = +87.0°C, crit = +97.0°C)
Core 4: +45.0°C (high = +87.0°C, crit = +97.0°C)
Core 5: +45.0°C (high = +87.0°C, crit = +97.0°C)
Core 6: +45.0°C (high = +87.0°C, crit = +97.0°C)
Core 7: +45.0°C (high = +87.0°C, crit = +97.0°C)
Core 8: +46.0°C (high = +87.0°C, crit = +97.0°C)
Core 9: +45.0°C (high = +87.0°C, crit = +97.0°C)
Core 10: +47.0°C (high = +87.0°C, crit = +97.0°C)
Core 11: +46.0°C (high = +87.0°C, crit = +97.0°C)
Core 12: +45.0°C (high = +87.0°C, crit = +97.0°C)
Core 13: +43.0°C (high = +87.0°C, crit = +97.0°C)
Core 14: +43.0°C (high = +87.0°C, crit = +97.0°C)
Core 15: +43.0°C (high = +87.0°C, crit = +97.0°C)

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

4 participants