On 11/10/06, Stephane Eranian <[EMAIL PROTECTED]> wrote:
> What does the ouptut of /proc/cpu infor look like? is there an "ht" on the
> flags line? Does the number of processors agree with how the machine is
> configured.
The ht flag is set.
The /proc/pcpuinfo ht flag does not tell you if you have hyperthreading on.
On a Pentium D, just like on a Woodcrest (both simply dual-core), the ht flag
is present. It denotes that fact that the processor is capable of exposing
more than one logical CPU. This was designed that way for licensing reasons,
if I recall.
You're right, I checked using the CPUID asm instruction and the ht flag is set.
> Could the test for HT be confusing multicore processors with hyperthreaded
> processors, e.g. see more than one processor in the package assume HT.
The latest code base does the following test:
ht_capable = (cpus_weight(cpu_core_map[smp_processor_id()]) /
cpu_data->x86_max_cores) > 1;
Which file is this in?
I've searched for this line, specifically I searched for "ht_capable"
and can't find it.
I tried downloading the latest source from cvs for libpfm and don't
find it in libpfm so I assume it is in the perfmon patch but where can
I get the latest source for the patch? cvs seems to only contain the
modules libpfm and pfmon.
One last question... i'm full of questions tonight...
Is there an easy way to search the perfmon archives?
Thanks
Hua-Ying
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/