On Monday 06 February 2017 09:44:17 Martin Husemann wrote: > On Sun, Feb 05, 2017 at 06:51:19PM +0000, Dave Tyson wrote: > > So it would appear that a userland program which should be insulated > > from the underlying hardware by the kernel is being affected by different > > H/W. > Can you show the output from > > cpuctl identify 0 > > on both machines? > > Some userland software detects cpu features at build time and hard codes > that decsion into the binaries. This is a bug, of course. > > Martin
Hi Martin, Idents below. Laptop which works: laptoproot(laptop)root$ cpuctl identify 0 cpu0: highest basic info 0000000d cpu0: highest extended info 80000008 cpu0: "Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz" cpu0: Intel Xeon 31xx, 33xx, 52xx, 54xx, Core 2 Quad 8xxx and 9xxx (686- class), 2394.13 MHz cpu0: family 0x6 model 0x17 stepping 0xa (id 0x1067a) cpu0: features 0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE> cpu0: features 0xbfebfbff<MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2> cpu0: features 0xbfebfbff<SS,HTT,TM,SBF> cpu0: features1 0xc08e3fd<SSE3,DTES64,MONITOR,DS-CPL,VMX,SMX,EST,TM2,SSSE3> cpu0: features1 0xc08e3fd<CX16,xTPR,PDCM,SSE41,XSAVE,OSXSAVE> cpu0: features2 0x20000800<SYSCALL/SYSRET,EM64T> cpu0: features3 0x1<LAHF> cpu0: xsave features 0x3<x87,SSE> cpu0: xsave area size: current 576, maximum 576, xgetbv enabled cpu0: enabled xsave 0x3<x87,SSE> cpu0: I-cache 32KB 64B/line 8-way, D-cache 32KB 64B/line 8-way cpu0: L2 cache 3MB 64B/line 12-way cpu0: 64B prefetching cpu0: ITLB 128 4KB entries 4-way, 8 2M/4 4M entries cpu0: DTLB 256 4KB entries 4-way, 16 4MB entries 4-way cpu0: Initial APIC ID 0 cpu0: Cluster/Package ID 0 cpu0: Core ID 0 cpu0: DSPM-eax 0x3<DTS,IDA> cpu0: DSPM-ecx 0x3<HWF> cpu0: SEF highest subleaf 00000000 cpu0: microcode version 0xa0c, platform ID 7 Desktop which doesn't: cruncherroot(cruncher)root$ cpuctl identify 0 cpu0: highest basic info 0000000d cpu0: highest extended info 80000008 cpu0: "Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz" cpu0: Intel Xeon E3-12xx, 2nd gen i7, i5, i3 2xxx (686-class), 2993.40 MHz cpu0: family 0x6 model 0x2a stepping 0x7 (id 0x206a7) cpu0: features 0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE> cpu0: features 0xbfebfbff<MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2> cpu0: features 0xbfebfbff<SS,HTT,TM,SBF> cpu0: features1 0x1f9ae3bf<SSE3,PCLMULQDQ,DTES64,MONITOR,DS-CPL,VMX,EST,TM2> cpu0: features1 0x1f9ae3bf<SSSE3,CX16,xTPR,PDCM,PCID,SSE41,SSE42,POPCNT> cpu0: features1 0x1f9ae3bf<DEADLINE,AES,XSAVE,OSXSAVE,AVX> cpu0: features2 0x28100800<SYSCALL/SYSRET,XD,RDTSCP,EM64T> cpu0: features3 0x1<LAHF> cpu0: xsave features 0x7<x87,SSE,AVX> cpu0: xsave instructions 0x1<XSAVEOPT> cpu0: xsave area size: current 832, maximum 832, xgetbv enabled cpu0: enabled xsave 0x7<x87,SSE,AVX> cpu0: I-cache 32KB 64B/line 8-way, D-cache 32KB 64B/line 8-way cpu0: L2 cache 256KB 64B/line 8-way cpu0: L3 cache 6MB 64B/line 12-way cpu0: 64B prefetching cpu0: ITLB 128 4KB entries 4-way, 2M/4M: 8 entries cpu0: DTLB 64 4KB entries 4-way, 2M/4M: 32 entries (L0) cpu0: L2 STLB 512 4KB entries 4-way cpu0: Initial APIC ID 0 cpu0: Cluster/Package ID 0 cpu0: Core ID 0 cpu0: SMT ID 0 cpu0: DSPM-eax 0x77<DTS,IDA,ARAT,PLN,ECMD,PTM> cpu0: DSPM-ecx 0x9<HWF,EPB> cpu0: SEF highest subleaf 00000000 cpu0: microcode version 0x23, platform ID 1 Dave