Hi guys, I have been always impressed how well hwloc works. Now it seems like I have found a bug on Pentium D, but it might be bug in linux kernel as well.
http://en.wikipedia.org/wiki/List_of_Intel_Pentium_D_microprocessors I have reproduced the bug on Pentium D 820 (at Dell's PowerEdge SC430) Pentium D 840 (at Dell's PowerEdge SC430) It's dual core CPU with 2x1MB L2 cache. hwloc reports correct result only on RHEL6.0 (public beta2) with kernel 2.6.32. hwloc fails to report correct results on RHEL 5.5 (kernel 2.6.18) and RHEL 4.8 (kernel 2.6.9). Please see attached pdf files. I have attached /proc/cpuinfo files as well. It might be a kernel bug as well since =================================================== physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 =================================================== is missing in /proc/cpuinfo on RHEL4.8 and RHEL5.5 for one the two CPUs. I would welcome any feedback on this. Please let me know if you need more information. Thanks a lot! Jirka
2.6.9-89.ELsmp_dell-pesc430-03.rhts.eng.bos.redhat.com.pdf
Description: Adobe PDF document
2.6.18-194.el5_dell-pesc430-03.rhts.eng.bos.redhat.com.pdf
Description: Adobe PDF document
2.6.32-22.el6.x86_64_dell-pesc430-03.rhts.eng.bos.redhat.com.pdf
Description: Adobe PDF document
processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) D CPU 2.80GHz stepping : 4 cpu MHz : 2793.180 cache size : 1024 KB fpu : yes fpu_exception : yes cpuid level : 3 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm pni monitor ds_cpl cid cx16 xtpr bogomips : 5590.87 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) D CPU 2.80GHz stepping : 4 cpu MHz : 2793.180 cache size : 1024 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm pni monitor ds_cpl cid cx16 xtpr bogomips : 5586.21 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 48 bits virtual power management:
processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) D CPU 2.80GHz stepping : 4 cpu MHz : 2793.128 cache size : 1024 KB fpu : yes fpu_exception : yes cpuid level : 3 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl cid cx16 xtpr bogomips : 5586.25 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) D CPU 2.80GHz stepping : 4 cpu MHz : 2793.128 cache size : 1024 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl cid cx16 xtpr bogomips : 5586.22 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 48 bits virtual power management:
processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) D CPU 2.80GHz stepping : 4 cpu MHz : 2800.000 cache size : 1024 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl cid cx16 xtpr bogomips : 5585.97 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) D CPU 2.80GHz stepping : 4 cpu MHz : 2800.000 cache size : 1024 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl cid cx16 xtpr bogomips : 5585.80 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 48 bits virtual power management: