Re: Hyperthreading performance oddities
From: Andi Kleen
Date: Sat Mar 08 2008 - 07:42:30 EST
>On HT, I normally observe lower performance than on UP.
Hmm weird. It might be interesting to investigate in detail
what is going on there.
> model name : Intel(R) Core(TM)2 Duo CPU E8200 @ 2.66GHz
> 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 pbe nx lm constant_tsc pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr lahf_lm
Dual core systems generally have it, It leads to better scheduling
on some older OS because in many aspects dual core is nearer HT than
a true dual socket systems. There was no traditional way to express
"core siblings" in CPUID so they just faked HT again, but added some
additional ways to detect real dual coreness. AMD does it similar
(but slightly different). Of course modern kernels don't need such
hacks anymore.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/