cpuinfo
cpuinfo copied to clipboard
FreeBSD: Xeon CPUs are not detected properly
cpuinfo built from source (HEAD) on FreeBSD 13.3. Tested on 3 different hardware.
- Desktop with i7-2700 - OK:
host-peter% ./build/local/cpuid-dump
CPUID 00000000: 0000000D-756E6547-6C65746E-49656E69 [GenuineIntel]
CPUID 00000001: 000206A7-03100800-1F9AE3BF-BFEBFBFF
CPUID 00000002: 76035A01-00F0B2FF-00000000-00CA0000
CPUID 00000003: 00000000-00000000-00000000-00000000
CPUID 00000004: 1C004121-01C0003F-0000003F-00000000 [SL 00]
CPUID 00000004: 1C004122-01C0003F-0000003F-00000000 [SL 01]
CPUID 00000004: 1C004143-01C0003F-000001FF-00000000 [SL 02]
CPUID 00000004: 1C03C163-03C0003F-00001FFF-00000006 [SL 03]
CPUID 00000005: 00000040-00000040-00000003-00001120
CPUID 00000006: 00000077-00000002-00000009-00000000
CPUID 00000007: 00000000-00000000-00000000-00000000 [SL 00]
CPUID 00000008: 00000000-00000000-00000000-00000000
CPUID 00000009: 00000000-00000000-00000000-00000000
CPUID 0000000A: 07300403-00000000-00000000-00000603
CPUID 0000000B: 00000001-00000002-00000100-00000003 [SL 00]
CPUID 0000000B: 00000004-00000008-00000201-00000003 [SL 01]
CPUID 0000000C: 00000000-00000000-00000000-00000000
CPUID 0000000D: 00000007-00000340-00000340-00000000
CPUID 80000000: 80000008-00000000-00000000-00000000
CPUID 80000001: 00000000-00000000-00000001-28100800
CPUID 80000002: 20202020-49202020-6C65746E-20295228 [ Intel(R) ]
CPUID 80000003: 65726F43-294D5428-2D376920-30303732 [Core(TM) i7-2700]
CPUID 80000004: 5043204B-20402055-30352E33-007A4847 [K CPU @ 3.50GHz]
CPUID 80000005: 00000000-00000000-00000000-00000000
CPUID 80000006: 00000000-00000000-01006040-00000000
CPUID 80000007: 00000000-00000000-00000000-00000100
CPUID 80000008: 00003024-00000000-00000000-00000000
host-peter% ./build/local/cpu-info
Packages:
0: Intel Core i7-2700K
Microarchitectures:
4x Sandy Bridge
Cores:
0: 2 processors (0-1), Intel Sandy Bridge
1: 2 processors (2-3), Intel Sandy Bridge
2: 2 processors (4-5), Intel Sandy Bridge
3: 2 processors (6-7), Intel Sandy Bridge
Logical processors:
0: APIC ID 0x00000000
1: APIC ID 0x00000001
2: APIC ID 0x00000002
3: APIC ID 0x00000003
4: APIC ID 0x00000004
5: APIC ID 0x00000005
6: APIC ID 0x00000006
7: APIC ID 0x00000007
- Very old DELL server with Xeon - FAILED:
nashost# ./build/local/cpuid-dump
CPUID 00000000: 00000005-756E6547-6C65746E-49656E69 [GenuineIntel]
CPUID 00000001: 00000F41-00020800-0000641D-BFEBFBFF
CPUID 00000002: 605B5001-00000000-00000000-007C7040
CPUID 00000003: 00000000-00000000-00000000-00000000
CPUID 00000004: 00004121-01C0003F-0000001F-00000000 [SL 00]
CPUID 00000004: 00004143-01C0103F-000003FF-00000000 [SL 01]
CPUID 00000005: 00000040-00000040-00000000-00000000
CPUID 80000000: 80000008-00000000-00000000-00000000
CPUID 80000001: 00000000-00000000-00000000-20100800
CPUID 80000002: 20202020-20202020-20202020-20202020 [ ]
CPUID 80000003: 6E492020-286C6574-58202952-286E6F65 [ Intel(R) Xeon(]
CPUID 80000004: 20294D54-20555043-30322E33-007A4847 [TM) CPU 3.20GHz]
CPUID 80000005: 00000000-00000000-00000000-00000000
CPUID 80000006: 00000000-00000000-04006040-00000000
CPUID 80000007: 00000000-00000000-00000000-00000000
CPUID 80000008: 00003024-00000000-00000000-00000000
nashost# ./build/local/cpu-info
Error in cpuinfo: failed to detect topology
failed to initialize CPU information
- DELL server with Xeon - FAILED:
srv1# ./build/local/cpuid-dump
CPUID 00000000: 0000000D-756E6547-6C65746E-49656E69 [GenuineIntel]
CPUID 00000001: 000206D7-0A200800-1FBEE3FF-BFEBFBFF
CPUID 00000002: 76035A01-00F0B0FF-00000000-00CA0000
CPUID 00000003: 00000000-00000000-00000000-00000000
CPUID 00000004: 3C004121-01C0003F-0000003F-00000000 [SL 00]
CPUID 00000004: 3C004122-01C0003F-0000003F-00000000 [SL 01]
CPUID 00000004: 3C004143-01C0003F-000001FF-00000000 [SL 02]
CPUID 00000004: 3C07C163-04C0003F-00002FFF-00000006 [SL 03]
CPUID 00000005: 00000040-00000040-00000003-00021120
CPUID 00000006: 00000077-00000002-00000001-00000000
CPUID 00000007: 00000000-00000000-00000000-00000000 [SL 00]
CPUID 00000008: 00000000-00000000-00000000-00000000
CPUID 00000009: 00000000-00000000-00000000-00000000
CPUID 0000000A: 07300803-00000000-00000000-00000603
CPUID 0000000B: 00000001-00000001-00000100-0000000A [SL 00]
CPUID 0000000B: 00000005-00000006-00000201-0000000A [SL 01]
CPUID 0000000C: 00000000-00000000-00000000-00000000
CPUID 0000000D: 00000007-00000340-00000340-00000000
CPUID 80000000: 80000008-00000000-00000000-00000000
CPUID 80000001: 00000000-00000000-00000001-2C100800
CPUID 80000002: 20202020-49202020-6C65746E-20295228 [ Intel(R) ]
CPUID 80000003: 6E6F6558-20295228-20555043-342D3545 [Xeon(R) CPU E5-4]
CPUID 80000004: 20373136-20402030-30392E32-007A4847 [617 0 @ 2.90GHz]
CPUID 80000005: 00000000-00000000-00000000-00000000
CPUID 80000006: 00000000-00000000-01006040-00000000
CPUID 80000007: 00000000-00000000-00000000-00000100
CPUID 80000008: 0000302E-00000000-00000000-00000000
srv1# ./build/local/cpu-info
Error in cpuinfo: failed to detect topology
failed to initialize CPU information
So, pytorch cannot be used correctly on the servers (only one CPU core is used). On the desktop it uses only one core as well :(