Re: How to detect multi-core and/or HT-enabled CPUs in 2.4.x and2.6.x kernels

From: Arjan van de Ven
Date: Wed Dec 27 2006 - 10:39:17 EST



> If I run two threads that are doing only calculations and very little or no
> IO at all on the same socket will modern HT and dual core be the same
> (or close) performance wise?

it depends on how cache/memory bandwidth sensitive your calculation
is.... if your calculation is memory bandwidth sensitive then they're
the same. If your calculation is very sensitive to have the dataset fit
in cache.. it's another different ballgame again, because then it
depends if the cores in your dual core share the cache or not.


--
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org

-
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/