A while back I ran into a similar problem at another customer, whereby they wanted to be able to differentiate between logical and physical. I stumbled across a utility called "htdump" (attached) which does this for Windows. Here's an example of the output (in the case of a server that is not hyperthreaded). You may have to parse this output to get the data you're looking for:
Processors are not hyperthreading capable
A physical processor exposes logical processor(s): 0
System has 1 logical processors exposed by 1 physical processors
htdump.exe 25.0 K
Nice. Here's what we ended up doing:
1) Create a custom software object with htdump.exe with install command: "??SOURCE??" > "C:\tmp\htdumpOut.txt"
2) Deploy to each machine
3) In a BLCLI script that updates server properties, set the parameter using PHYSICAL_CPUS=`grep "System" /c/tmp/htdumpOut.txt | cut -d" " -f8`
Hi All, I need to have the same information (physical CPU count versus hyperthreaded or multi core) Is there more functionality built into 7.4.2 to trap this info? I will need to be able to get this information for AIX, HPUX, Windows, and Linux.
I am also looking for this information (Physical CPU - Core Count per CPU - Hyperthreading Information). I do not see a response to the previous query, but this functionality in 7.4.3 or 7.4.4 would prove most beneficial. Has anyone solved this issue?
Using the 'htdump.exe' that Tim supplied above I was able to gather the # of physical CPUs and then populate server properties via the BLCLI. It doesn't have the other two you mention (Core Count per CPU and Hyperthreading info), but if you have a utility or command that can query this information then you could use a similar process of deploying, executing, capturing the output, and setting a server property so that you can get an environment-wide report.
If you would like to see these as default/intrinsic properties then I would definitely submit an enhancement request. But for the time being the above process should work well as long as you find a way to get at the info.
i tried the suggested htdump.exe but it seems to fail on newer processors (returning the wrong number of sockets)
anyone knows a working utility to sort that out?