Distinguish dual core processor from two processors systems

Posted: 01-03-2006, 03:29 PM
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
Reply With Quote

Responses to "Distinguish dual core processor from two processors systems"

Trevor
Guest
Posts: n/a
 
Re: Distinguish dual core processor from two processors systems
Posted: 01-05-2006, 02:41 AM
Bruno wrote:
> 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
Reply With Quote
Bruno
Guest
Posts: n/a
 
Re: Distinguish dual core processor from two processors systems
Posted: 01-05-2006, 07:36 AM
Hi,
thanks for the tip, however mine does not contains this information,
just like a normal p4 processor.
brgds

bruno

"Trevor" wrote:
> Bruno wrote:
> > 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
>
Reply With Quote
Trevor
Guest
Posts: n/a
 
Re: Distinguish dual core processor from two processors systems
Posted: 01-05-2006, 05:21 PM
Bruno wrote:
> Hi,
> thanks for the tip, however mine does not contains this information,
> just like a normal p4 processor.
> brgds
>
> bruno
>
> "Trevor" wrote:
>
>
>>Bruno wrote:
>>
>>>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
>>
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?
Reply With Quote
john smith
Guest
Posts: n/a
 
Re: Distinguish dual core processor from two processors systems
Posted: 01-05-2006, 12:11 PM
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.

"Bruno" <Bruno@discussions.microsoft.com> wrote in message
news:B58E903C-1F16-414E-8A8C-6A1F23CC3767@microsoft.com...
> 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

Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Processors numeration in SMP systems. Dmitry Ponomarev Windows XP Device Drivers 2 09-17-2003 01:39 PM
dual processors fred Windows XP Performance & Maintenance 7 07-20-2003 12:04 AM
Dual Processors Workstation ludwig See Windows XP Hardware 1 07-10-2003 05:06 PM
dual processors? Ken Windows XP Performance & Maintenance 2 07-02-2003 10:47 PM
dual processors Lorne Smith Customize Windows XP 1 07-01-2003 06:29 PM