LINUX.ORG.RU

История изменений

Исправление iliyap, (текущая версия) :

2-socket Xeon Gold 6248R (24 core per socket, 2 thread per core):

# grep . /sys/class/hwmon/*/name
/sys/class/hwmon/hwmon0/name:pch_lewisburg
/sys/class/hwmon/hwmon1/name:i350bb
/sys/class/hwmon/hwmon2/name:coretemp
/sys/class/hwmon/hwmon3/name:coretemp

# realpath /sys/class/hwmon/hwmon{2,3}
/sys/devices/platform/coretemp.0/hwmon/hwmon2
/sys/devices/platform/coretemp.1/hwmon/hwmon3

# grep . /sys/class/hwmon/hwmon{2,3}/temp*_label |sort -V
/sys/class/hwmon/hwmon2/temp1_label:Package id 0
/sys/class/hwmon/hwmon2/temp2_label:Core 0
/sys/class/hwmon/hwmon2/temp3_label:Core 1
/sys/class/hwmon/hwmon2/temp4_label:Core 2
/sys/class/hwmon/hwmon2/temp5_label:Core 3
/sys/class/hwmon/hwmon2/temp6_label:Core 4
/sys/class/hwmon/hwmon2/temp7_label:Core 5
/sys/class/hwmon/hwmon2/temp8_label:Core 6
/sys/class/hwmon/hwmon2/temp10_label:Core 8
/sys/class/hwmon/hwmon2/temp11_label:Core 9
/sys/class/hwmon/hwmon2/temp12_label:Core 10
/sys/class/hwmon/hwmon2/temp13_label:Core 11
/sys/class/hwmon/hwmon2/temp14_label:Core 12
/sys/class/hwmon/hwmon2/temp15_label:Core 13
/sys/class/hwmon/hwmon2/temp18_label:Core 16
/sys/class/hwmon/hwmon2/temp19_label:Core 17
/sys/class/hwmon/hwmon2/temp20_label:Core 18
/sys/class/hwmon/hwmon2/temp21_label:Core 19
/sys/class/hwmon/hwmon2/temp22_label:Core 20
/sys/class/hwmon/hwmon2/temp23_label:Core 21
/sys/class/hwmon/hwmon2/temp27_label:Core 25
/sys/class/hwmon/hwmon2/temp28_label:Core 26
/sys/class/hwmon/hwmon2/temp29_label:Core 27
/sys/class/hwmon/hwmon2/temp30_label:Core 28
/sys/class/hwmon/hwmon2/temp31_label:Core 29
/sys/class/hwmon/hwmon3/temp1_label:Package id 1
/sys/class/hwmon/hwmon3/temp2_label:Core 0
/sys/class/hwmon/hwmon3/temp3_label:Core 1
/sys/class/hwmon/hwmon3/temp4_label:Core 2
/sys/class/hwmon/hwmon3/temp5_label:Core 3
/sys/class/hwmon/hwmon3/temp6_label:Core 4
/sys/class/hwmon/hwmon3/temp7_label:Core 5
/sys/class/hwmon/hwmon3/temp8_label:Core 6
/sys/class/hwmon/hwmon3/temp11_label:Core 9
/sys/class/hwmon/hwmon3/temp12_label:Core 10
/sys/class/hwmon/hwmon3/temp13_label:Core 11
/sys/class/hwmon/hwmon3/temp14_label:Core 12
/sys/class/hwmon/hwmon3/temp15_label:Core 13
/sys/class/hwmon/hwmon3/temp18_label:Core 16
/sys/class/hwmon/hwmon3/temp19_label:Core 17
/sys/class/hwmon/hwmon3/temp20_label:Core 18
/sys/class/hwmon/hwmon3/temp21_label:Core 19
/sys/class/hwmon/hwmon3/temp22_label:Core 20
/sys/class/hwmon/hwmon3/temp23_label:Core 21
/sys/class/hwmon/hwmon3/temp26_label:Core 24
/sys/class/hwmon/hwmon3/temp27_label:Core 25
/sys/class/hwmon/hwmon3/temp28_label:Core 26
/sys/class/hwmon/hwmon3/temp29_label:Core 27
/sys/class/hwmon/hwmon3/temp30_label:Core 28
/sys/class/hwmon/hwmon3/temp31_label:Core 29

Почему-то рабочих ядер 24, а температуру можно посмотреть на 30 ядрах. Нет, номера 7, 14, 15, 22, 23, 24 пропущены, так что таки 24.

Исходная версия iliyap, :

2-socket Xeon Gold 6248R (24 core per socket, 2 thread per core):

# grep . /sys/class/hwmon/*/name
/sys/class/hwmon/hwmon0/name:pch_lewisburg
/sys/class/hwmon/hwmon1/name:i350bb
/sys/class/hwmon/hwmon2/name:coretemp
/sys/class/hwmon/hwmon3/name:coretemp

# realpath /sys/class/hwmon/hwmon{2,3}
/sys/devices/platform/coretemp.0/hwmon/hwmon2
/sys/devices/platform/coretemp.1/hwmon/hwmon3

# grep . /sys/class/hwmon/hwmon{2,3}/temp*_label |sort -V
/sys/class/hwmon/hwmon2/temp1_label:Package id 0
/sys/class/hwmon/hwmon2/temp2_label:Core 0
/sys/class/hwmon/hwmon2/temp3_label:Core 1
/sys/class/hwmon/hwmon2/temp4_label:Core 2
/sys/class/hwmon/hwmon2/temp5_label:Core 3
/sys/class/hwmon/hwmon2/temp6_label:Core 4
/sys/class/hwmon/hwmon2/temp7_label:Core 5
/sys/class/hwmon/hwmon2/temp8_label:Core 6
/sys/class/hwmon/hwmon2/temp10_label:Core 8
/sys/class/hwmon/hwmon2/temp11_label:Core 9
/sys/class/hwmon/hwmon2/temp12_label:Core 10
/sys/class/hwmon/hwmon2/temp13_label:Core 11
/sys/class/hwmon/hwmon2/temp14_label:Core 12
/sys/class/hwmon/hwmon2/temp15_label:Core 13
/sys/class/hwmon/hwmon2/temp18_label:Core 16
/sys/class/hwmon/hwmon2/temp19_label:Core 17
/sys/class/hwmon/hwmon2/temp20_label:Core 18
/sys/class/hwmon/hwmon2/temp21_label:Core 19
/sys/class/hwmon/hwmon2/temp22_label:Core 20
/sys/class/hwmon/hwmon2/temp23_label:Core 21
/sys/class/hwmon/hwmon2/temp27_label:Core 25
/sys/class/hwmon/hwmon2/temp28_label:Core 26
/sys/class/hwmon/hwmon2/temp29_label:Core 27
/sys/class/hwmon/hwmon2/temp30_label:Core 28
/sys/class/hwmon/hwmon2/temp31_label:Core 29
/sys/class/hwmon/hwmon3/temp1_label:Package id 1
/sys/class/hwmon/hwmon3/temp2_label:Core 0
/sys/class/hwmon/hwmon3/temp3_label:Core 1
/sys/class/hwmon/hwmon3/temp4_label:Core 2
/sys/class/hwmon/hwmon3/temp5_label:Core 3
/sys/class/hwmon/hwmon3/temp6_label:Core 4
/sys/class/hwmon/hwmon3/temp7_label:Core 5
/sys/class/hwmon/hwmon3/temp8_label:Core 6
/sys/class/hwmon/hwmon3/temp11_label:Core 9
/sys/class/hwmon/hwmon3/temp12_label:Core 10
/sys/class/hwmon/hwmon3/temp13_label:Core 11
/sys/class/hwmon/hwmon3/temp14_label:Core 12
/sys/class/hwmon/hwmon3/temp15_label:Core 13
/sys/class/hwmon/hwmon3/temp18_label:Core 16
/sys/class/hwmon/hwmon3/temp19_label:Core 17
/sys/class/hwmon/hwmon3/temp20_label:Core 18
/sys/class/hwmon/hwmon3/temp21_label:Core 19
/sys/class/hwmon/hwmon3/temp22_label:Core 20
/sys/class/hwmon/hwmon3/temp23_label:Core 21
/sys/class/hwmon/hwmon3/temp26_label:Core 24
/sys/class/hwmon/hwmon3/temp27_label:Core 25
/sys/class/hwmon/hwmon3/temp28_label:Core 26
/sys/class/hwmon/hwmon3/temp29_label:Core 27
/sys/class/hwmon/hwmon3/temp30_label:Core 28
/sys/class/hwmon/hwmon3/temp31_label:Core 29

Почему-то рабочих ядер 24, а температуру можно посмотреть на 30 ядрах.