web-dev-qa-db-ja.com

Xcp-NgのXeon X5650のCPUコア数が間違っている

---アップデート2 --- Xcp-Ng 7.6では解決されていません。 xcp-ng 8.0では問題は発生しません。


Intel Xeon X5650プロセッサ(eBay製)を持っていますが、linux(Xcp-ng 7.6)はlscpuを使用して8しかリストしていません。しかしながら dmidecode -t processorは6コアと12スレッドを正しく記述しています。

BIOSとXcp-Ngを更新してmaxcpus=12 nr_cpus=12をカーネル行に追加します。残念ながら、これを引き起こしている原因や、解決策を探し続ける方法がわかりません。

--- UPDATE ----ハイパースレッディングを無効にすると、6コアになりますが、コアごとに1スレッドしかありません-/ UPDATE ---

機械 (HP ProLiant DL320 G6)情報(BIOSブートメッセージ):

32 GBインストール
ProLiantシステムBIOS-W07(2018年5月21日)

1つのプロセッサが検出され、6つのコアが有効になり、ハイパースレッディングが有効になっています。Proc1:Intel(R)Xeon(R)CPU X5650 @ 2.67GHz QPI Speed:6.4 GT/s

lscpu、dmesg、/ proc/cpuinfo、uname、dmidecodeからの出力(一部)

[root@xcp-ng ~]# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 44
Model name:            Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz
Stepping:              2
CPU MHz:               2666.766
BogoMIPS:              5333.53
Hypervisor vendor:     Xen
Virtualization type:   none
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              12288K

[root@xcp-ng ~]# uname -a
Linux xcp-ng 4.4.0+10 #1 SMP Thu Sep 13 08:55:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

[root@xcp-ng ~]# cat /proc/cpuinfo 
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model       : 44
model name  : Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz
stepping    : 2
microcode   : 0x1f
cpu MHz     : 2666.766
cache size  : 12288 KB
physical id : 1
siblings    : 8
core id     : 0
cpu cores   : 4
apicid      : 32
initial apicid  : 32
fpu     : yes
fpu_exception   : yes
cpuid level : 11
wp      : yes
flags       : fpu de tsc msr pae mce cx8 apic sep mca cmov pat clflush acpi mmx fxsr sse sse2 ht syscall nx lm constant_tsc Arch_perfmon rep_good nopl nonstop_tsc pni pclmulqdq monitor est ssse3 cx16 sse4_1 sse4_2 popcnt aes hypervisor lahf_lm ida arat epb dtherm
bugs        : l1tf
bogomips    : 5333.53
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:
...

[root@xcp-ng ~]# dmesg | grep -i cpu
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Command line: root=LABEL=root-aflmjv ro nolvm hpet=disable xencons=hvc console=hvc0 console=tty0 quiet vga=785 splash pti=off spectre_v2=off l1tf=off nospec_store_bypass_disable no_stf_barrier noibrs noibpb nospectre_v1 nospectre_v2 mds=off slub_debug maxcpus=12 nr_cpus=12
[    0.000000] KERNEL supported cpus:
[    0.000000] smpboot: Allowing 12 CPUs, 0 hotplug CPUs
[    0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:12 nr_node_ids:1
[    0.000000] PERCPU: Embedded 32 pages/cpu @ffff88007ce00000 s92120 r8192 d30760 u131072
[    0.000000] pcpu-alloc: s92120 r8192 d30760 u131072 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 08 09 10 11 -- -- -- -- 
[    0.000000] Kernel command line: root=LABEL=root-aflmjv ro nolvm hpet=disable xencons=hvc console=hvc0 console=tty0 quiet vga=785 splash pti=off spectre_v2=off l1tf=off nospec_store_bypass_disable no_stf_barrier noibrs noibpb nospectre_v1 nospectre_v2 mds=off slub_debug maxcpus=12 nr_cpus=12
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=8.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=8
[    0.000000] Xen: using vcpuop timer interface
[    0.000000] installing Xen timer for CPU 0
[   27.992808] CPU: Physical Processor ID: 1
[   27.992809] CPU: Processor Core ID: 0
[   27.992812] mce: CPU supports 2 MCE banks
[   28.003577] cpu 0 spinlock event irq 49
[   28.003582] Could not initialize VPMU for cpu 0, error -95
[   28.005495] NMI watchdog: disabled (cpu0): hardware events not enabled
[   28.005496] NMI watchdog: Shutting down hard lockup detector on all cpus
[   28.005838] installing Xen timer for CPU 1
[   28.005877] cpu 1 spinlock event irq 56
[   28.006600] installing Xen timer for CPU 2
[   28.006641] cpu 2 spinlock event irq 63
[   28.007293] installing Xen timer for CPU 3
[   28.007329] cpu 3 spinlock event irq 70
[   28.007994] installing Xen timer for CPU 4
[   28.008032] cpu 4 spinlock event irq 77
[   28.008682] installing Xen timer for CPU 5
[   28.008721] cpu 5 spinlock event irq 84
[   28.009375] installing Xen timer for CPU 6
[   28.009412] cpu 6 spinlock event irq 91
[   28.010057] installing Xen timer for CPU 7
[   28.010096] cpu 7 spinlock event irq 98
[   28.010368] x86: Booted up 1 node, 8 CPUs
[   40.874621] pcc-cpufreq: (v1.10.00) driver loaded with frequency limits: 1600 MHz, 2666 MHz
[   40.924382] pcc-cpufreq: (v1.10.00) driver loaded with frequency limits: 1600 MHz, 2666 MHz
[   40.955884] pcc-cpufreq: (v1.10.00) driver loaded with frequency limits: 1600 MHz, 2666 MHz
[   40.988112] pcc-cpufreq: (v1.10.00) driver loaded with frequency limits: 1600 MHz, 2666 MHz
[   41.029176] pcc-cpufreq: (v1.10.00) driver loaded with frequency limits: 1600 MHz, 2666 MHz
[   41.069384] pcc-cpufreq: (v1.10.00) driver loaded with frequency limits: 1600 MHz, 2666 MHz
[   41.118143] pcc-cpufreq: (v1.10.00) driver loaded with frequency limits: 1600 MHz, 2666 MHz
[   50.796328] pcc-cpufreq: (v1.10.00) driver loaded with frequency limits: 1600 MHz, 2666 MHz
[   50.886595] pcc-cpufreq: (v1.10.00) driver loaded with frequency limits: 1600 MHz, 2666 MHz
[   50.971893] pcc-cpufreq: (v1.10.00) driver loaded with frequency limits: 1600 MHz, 2666 MHz
[   51.036407] pcc-cpufreq: (v1.10.00) driver loaded with frequency limits: 1600 MHz, 2666 MHz

[root@xcp-ng ~]# dmidecode -t processor
# dmidecode 2.12-dmifs
SMBIOS 2.7 present.

Handle 0x0400, DMI type 4, 42 bytes
Processor Information
    Socket Designation: Proc 1
    Type: Central Processor
    Family: Xeon
    Manufacturer: Intel
    ID: C2 06 02 00 FF FB EB BF
    Signature: Type 0, Family 6, Model 44, Stepping 2
    Flags:
        FPU (Floating-point unit on-chip)
        VME (Virtual mode extension)
        DE (Debugging extension)
        PSE (Page size extension)
        TSC (Time stamp counter)
        MSR (Model specific registers)
        PAE (Physical address extension)
        MCE (Machine check exception)
        CX8 (CMPXCHG8 instruction supported)
        APIC (On-chip APIC hardware supported)
        SEP (Fast system call)
        MTRR (Memory type range registers)
        PGE (Page global enable)
        MCA (Machine check architecture)
        CMOV (Conditional move instruction supported)
        PAT (Page attribute table)
        PSE-36 (36-bit page size extension)
        CLFSH (CLFLUSH instruction supported)
        DS (Debug store)
        ACPI (ACPI supported)
        MMX (MMX technology supported)
        FXSR (FXSAVE and FXSTOR instructions supported)
        SSE (Streaming SIMD extensions)
        SSE2 (Streaming SIMD extensions 2)
        SS (Self-snoop)
        HTT (Multi-threading)
        TM (Thermal monitor supported)
        PBE (Pending break enabled)
    Version: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz            
    Voltage: 1.4 V
    External Clock: 133 MHz
    Max Speed: 4800 MHz
    Current Speed: 2667 MHz
    Status: Populated, Enabled
    Upgrade: Socket LGA1366
    L1 Cache Handle: 0x0710
    L2 Cache Handle: 0x0720
    L3 Cache Handle: 0x0730
    Serial Number: Not Specified
    Asset Tag: Not Specified
    Part Number: Not Specified
    Core Count: 6
    Core Enabled: 6
    Thread Count: 12
    Characteristics:
        64-bit capable
4
Octetz

した yum update修正しますか? xcp-ngの新規インストール、またはこれに古いCPUがあり、新しいCPUでアップグレードしましたか?

0
rjt