Detect Hyperthreding?

(imported topic written by rharmer91)

Does anyone have relevance pre-scripted to detect if Hyperthreading is enabled?

Thanks!

Rich

(imported comment written by BenKus)

Hey Rich,

Yes. We build specific inspectors for this (BES 6.0+ only):

hyperthreading enabled

and

hyperthreading capable

Also, check out more processor oriented inspectors:

q: hyperthreading capable A: False   q: hyperthreading enabled A: False   q: logical processor count A: 1   q: physical processor count A: 1   q: total processor core count A: 1

Ben

(imported comment written by rharmer91)

Sweeeet.

Thanks.

(imported comment written by rad.ricka91)

Guys,

this doesn’t seem to work for Solaris on SPARC at all. Given the advanment Sun have made in the numbers of cores and threads that whack onto the Niagra chip, this would be very useful info.

Rad

(imported comment written by ryanlrussell)

rad.ricka

Guys,

this doesn’t seem to work for Solaris on SPARC at all. Given the advanment Sun have made in the numbers of cores and threads that whack onto the Niagra chip, this would be very useful info.

Rad

I believe the “hyperthreading” inspectors, as we wrote them, are x86-specific.

For the others, you should at least get a result. Do you have any Niagra boxes? if so, what do these inspectors return, and what are the expected results? Do you have other mutli-CPU SPARCs that aren’t giving correct results?

(imported comment written by rad.ricka91)

Morning Ryan,

on the Niagra box, which is T2000 in our case, I’m getting for all the CPU counters. It doesn’t report the serial number of the box either (as per Ben’s separate post).

Tha machine is running Solaris 10.

Regards,

Rad

(imported comment written by ryanlrussell)

rad.ricka

on the Niagra box, which is T2000 in our case, I’m getting for all the CPU counters.

OK, I was mistaken. At present (6.0 Clients) those logical/physical processor inspectors are x86-specific. Out of curiosity, I wonder if you wouldn’t mind posting the output for these on your T2000:

number of processors

models of processors

speeds of processors

I’ve put in a feature request to get equivalent capabilities for the Solaris inspectors.

(imported comment written by rad.ricka91)

Hi Ryan,

no problem, the CPU property:

(significant digits 2 of (speed of main processor / mhz)) as string & " MHz " & family name of main processor as string & (if it > 1 then " x" & it as string else “”) of ( if ( exists true whose ( if true then ( exists physical processor count ) else false ) ) then physical processor count else number of processors )

gives

“1000Mhz sparcv9 x32”

The box is 1 physical CPU with eight cores, 4 threads each, so the information seems to be kind of accurate, note that it is a piece of beta kit we’ve got from Sun so can’t vouch for a release product.

This reminds me - are you covering/planning to cover Itanic systems?

R.

(imported comment written by SystemAdmin)

I am also getting the error “undefined” on Solaris and Red Hat boxxes and this is what prompted mt post. In our case our Oracle licensing is charged by the number of processors so its important that our reports include not only the “number of processors” but also the physical count. It makes the bean counters so much happier. :slight_smile:

(imported comment written by jcsUTSW)

I need the HT Capable / Enabled , Logical Processor Count, Physcial Processor Count and number of Cores for Linux.

Anyone have any ideas?

The code at top works great for my Windows systems.

(imported comment written by SystemAdmin)

We are in need of the same information. We are trying to build a comprehensive physical system report in BigFix.

Does anyone else have a need for such a report?