1839999 Members
3137 Online
110158 Solutions
New Discussion

CPU Mask info

 
Jaideep Krishnan
Frequent Advisor

CPU Mask info

Hi,

How do you obtain the CPU Mask of a (64 bit) HP-UX system?

In other words, what is the equivalent of the following Solaris command on HP-UX:
/usr/platform/`uname -i`/sbin/prtdiag -v

========================= CPUs =========================
Brd CPU Module Run-MHz Ecache-MB CPU-Impl. CPU-Mask
----------------------------------------------
SYS 0 0 400 4.0 US-II 10.0
SYS 1 1 400 4.0 US-II 10.0
SYS 2 2 400 4.0 US-II 10.0
SYS 3 3 400 4.0 US-II 10.0
9 REPLIES 9
Joseph Loo
Honored Contributor

Re: CPU Mask info

hi,

try this:

# echo "selclass type processor;info;wait;infolog" | /usr/sbin/cstm

regards.
what you do not see does not mean you should not believe
Thayanidhi
Honored Contributor

Re: CPU Mask info

Try to use cstm.

For example to retrive memory information.

echo "selclass qualifier memory;info;wait;infolog" | cstm

Regards

TT
Attitude (not aptitude) determines altitude.
Jaideep Krishnan
Frequent Advisor

Re: CPU Mask info

Hi,

These commands do not seem to return the value for "CPU Mask", just like how "prtdiag -v" returns for Solaris.

Any way of knowing what exactly is the "CPU Mask" value - For e.g., is it 10.0, or 9.0, etc......
Jaideep Krishnan
Frequent Advisor

Re: CPU Mask info

Hi,

Thank you so much for your inputs.

There are couple of commands like 'stm' and 'ioscan' that could return likely results.

BUT WHAT RETURNS "cpu mask"? Any suggestions?

Thanks,
Jaideep
Jaideep Krishnan
Frequent Advisor

Re: CPU Mask info

Hi,

Appreciate if someone can please let us know how to get the CPU MASK information.

It quite urgent and hence worth high points !!
Bill Hassell
Honored Contributor

Re: CPU Mask info

Perhaps it would help to know what a CPU MASK is describing. I've never seen this terminology applied to CPU hardware before.


Bill Hassell, sysadmin
Jaideep Krishnan
Frequent Advisor

Re: CPU Mask info

Okay. Let me take an example.

Consider SunOS 300 MHz UltraSPARC-II CPU (part number 501-4849).

These CPUs are used in E450, Ultra 2, Ultra 30, and Netra t1120 hardware. When we ran OpenSSH/OpenSSL, it did not work properly on these CPUs as we found that they had a CPU mask of 1.1. Open suggestion from Sun, the processors were replaced with ones that had CPU mask of 2.0, and we found that SSH/SSL started working fine.

CPU mask information can be obtained through command "prtdiag -v" in SunOS.

We just needed to know how to obtain the CPU mask of an HP processor.
Bill Hassell
Honored Contributor

Re: CPU Mask info

It sounds like the CPU mask is a processor version or revision. There is no reason to assume that HP processor revisions have anything in common with Sun processors. There are PA-RISC revisions 1.0, 1.2, 2.0, etc which are major feature levels (ie, PA-RISC 2.0 is a 64bit processor), and then there are processor models such as the 7200, 8000, 8600, etc.

There have been very few processor rev-dependent problems with PA-RISC. Most were solved with compiler mods. As mentioned, all the details about the processors can be seen with:

echo "selclass qualifier cpu;info;wait;infolog" | /usr/sbin/cstm


Bill Hassell, sysadmin
Gregory Fruth
Esteemed Contributor

Re: CPU Mask info

Each hardware vendor has their own notion
of CPU version information. The so-called
"CPU mask" which you describe appears to be
a Sun-only concept. Therefore it makes no
sense to ask what the "CPU mask" is for HP
machines.

Perhaps if you describe why you think you
need to determine the CPU version someone
could direct you to the info you need.
Under HPUX it is relatively straightforward
to determine if the CPU is PA-RISC 1.1,
2.0, Itanium, etc. It is not as
straightforward to determine the actual
CPU model number (e.g. PA-8200, Itanium 6M),
probably because there are few circumstances
where you, the user, could make any use of
such information.

P.S. It is ironic that you mention that the
answer is "worth high points", since you
have never assigned points to answers to
any of your questions.