Open undertherain opened 4 years ago
on less common CPUs, such as Cavium ThunderX2 underlying pycpuinfo, though not reporting brand name, at least shows architecture and number of cores but this information does not percolate into system_query
sample output of cpuinfo:
$ python3 -m cpuinfo Python Version: 3.7.4.final.0 (64 bit) Cpuinfo Version: (5, 0, 0) Vendor ID: Hardware Raw: Brand: Hz Advertised: Hz Actual: Hz Advertised Raw: Hz Actual Raw: Arch: ARM_8 Bits: 64 Count: 224 Raw Arch String: aarch64 L1 Data Cache Size: 32 KB L1 Instruction Cache Size: 32 KB L2 Cache Size: 256 KB L2 Cache Line Size: L2 Cache Associativity: L3 Cache Size: 32768 KB Stepping: Model: 1 Family: Processor Type: Extended Model: Extended Family: Flags: aes, asimd, asimdrdm, atomics, cpuid, crc32, evtstrm, fp, pmull, sha1, sha2
output of sustem_query:
{'brand': None, 'cache': {1: 32768, 2: 262144, 3: 33554432}, 'clock': None, 'clock_max': None, 'clock_min': None, 'logical_cores': None, 'physical_cores': None},
with, say, arch and cores I could have at least rendered this as "Unknown 224 core ARM_8 CPU " or something
@undertherain I think we had a run in with this yesterday!
on less common CPUs, such as Cavium ThunderX2 underlying pycpuinfo, though not reporting brand name, at least shows architecture and number of cores but this information does not percolate into system_query
sample output of cpuinfo:
output of sustem_query:
with, say, arch and cores I could have at least rendered this as "Unknown 224 core ARM_8 CPU " or something