Distinguish dual core processor from two processors systems

G

Guest

Hi everyone,
is there an easy way to distinguish a single dual core processor from two
processors with Wmi ? the only way i found is to check if both processors IDs
are the same. Is there another way (stepping, family?) that would give this
information looking at a single processor ?

Thanks in advance

bruno
 
T

Trevor

Bruno said:
Hi everyone,
is there an easy way to distinguish a single dual core processor from two
processors with Wmi ? the only way i found is to check if both processors IDs
are the same. Is there another way (stepping, family?) that would give this
information looking at a single processor ?

Thanks in advance

bruno

Yes indeed there is :) Use the VBscript inStr function to check for
"dual core" within the root\cimv2:Win32_Processor.Name property. Hope
this helps!

Trevor
 
G

Guest

Hi,
thanks for the tip, however mine does not contains this information,
just like a normal p4 processor.
brgds

bruno
 
J

john smith

WMI cannot distinguish these things very easily indeed

There's 3 different scenarios:
-2 separate CPUs
-a dual core CPU
-a single CPU with HyperThreading (only 1 core)
and all 3 appear as 2 separate CPUs. You may be able to use some property to
determine if it's 2 different/physical CPUs (perhaps both return same socket
# - don't recall exactly the trick), but as for dual core or especially
hyper threading, there is not a whole lot you can do. I had to resort to
making use of some less-than-ideal tricks sometimes (i.e. if you get 2 Intel
P4's - most likely it's a HT CPU, if it's a different CPU type it cannot
have HT)

ProcessorId can sometimes return some of the CPUID infos, but I don't recall
exactly what they contain (not the full info). Ideally you'd want to get all
of the infos (registers) but WMI can't do that easily (you'd have to
remotely launch a program to do it and retrieve the returned values...)

With HT and Dual Core CPUs becoming more common lately, we can only hope
Microsoft will improve this soon.
 
T

Trevor

Bruno said:
Hi,
thanks for the tip, however mine does not contains this information,
just like a normal p4 processor.
brgds

bruno

:

I only have an AMD Athlon 64 X2, not a Pentium D dual-core system. I
didn't consider the case of the Pentium D, sorry. Could you show me what
the caption looks like on the Pentium D if you have a moment?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top