Operating System - HP-UX
1753488 Members
4729 Online
108794 Solutions
New Discussion юеВ

Re: Identification of number of cores of CPUs

 
SOLVED
Go to solution
Amir Pakdel
Occasional Advisor

Identification of number of cores of CPUs

I have different types of HP-UX systems. Can someone please help me with identification of number of cores of CPUs?
So far, I have tested the following, and all of them merely listed all of the cores!


# echo "map
> selall
> info
> wait
> infolog" | cstm
.
.
.
Hardware path: system


Sensor Information has to be gathered from the hardware. Please wait. Acquiring
this information should take no longer than five minutes.

Product ID : ia64 hp server rx4640
Current Product Number : A6961A
Original Product Number : N/A
System Firmware Revision : 04.29
BMC Revision : v04.06
System Serial Number: : DEH4419103

System Software ID : 2052534650



For additional information about the system and the CPUs, please run the
following command:

/usr/contrib/bin/machinfo



Field Replaceable Unit Identification (FRUID):

=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=
.
.
.

# machinfo
CPU info:
Number of CPUs = 8
Clock speed = 1600 MHz
Bus speed = 400 MT/s
CPUID registers
vendor information = "GenuineIntel"
processor serial number = 0x0000000000000000
processor version info = 0x0000000020000704
architecture revision: 0
processor family: 32 Intel(R) Itanium 2 9000 series
processor model: 0 Intel(R) Itanium 2 9000 series
processor revision: 7 Stepping C2
largest CPUID reg: 4
processor capabilities = 0x0000000000000005
implements long branch: 1
implements 16-byte atomic operations: 1
Bus features
implemented = 0xbdf0000020000000
selected = 0x0000000000000000
.
.
.

# ioscan -fCprocessor
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
processor 0 120 processor CLAIMED PROCESSOR Processor
processor 1 122 processor CLAIMED PROCESSOR Processor
processor 2 123 processor CLAIMED PROCESSOR Processor
processor 3 124 processor CLAIMED PROCESSOR Processor
processor 4 125 processor CLAIMED PROCESSOR Processor
processor 5 126 processor CLAIMED PROCESSOR Processor
processor 6 127 processor CLAIMED PROCESSOR Processor
processor 7 128 processor CLAIMED PROCESSOR Processor

# mpsched -s
System Configuration
=====================

Locality Domain Count: 1
Processor Count : 8

Domain Processors
------ ----------
0 0 1 2 3 4 5 6 7

# echo itick_per_usec/D | adb -k /stand/vmunix /dev/kmem
adb: info: Option -k is deprecated.
itick_per_usec:
adb: warning: Unrecognized format character - 'D'.


Additionally, execution of the script found in http://mirrors.develooper.com/hpux/faq.html gives nothing more useful:
# ./ux
rac2 HP-UX 11.23/64 U rx4640/64 Itanium 2 9000/1600(8) ia64 24546 Mb

Moreover, I have read the following:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1272456507562+28353475&threadId=1236376
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1272457966890+28353475&threadId=1168333
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1272459194156+28353475&threadId=1222330
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1272784544747+28353475&threadId=1199298
http://mirrors.develooper.com/hpux/faq.html
http://www-01.ibm.com/support/docview.wss?uid=swg21105416
http://sysdigg.blogspot.com/2008/03/howto-find-cpu-is-dualquad-core-in-hp.html


Basically I need to know the number of detachable physcal CPU units.

Thanks
Amir
19 REPLIES 19
Torsten.
Acclaimed Contributor

Re: Identification of number of cores of CPUs

>> processor family: 32 Intel(R) Itanium 2 9000 series


This is the Montecito, a dual-core CPU.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: Identification of number of cores of CPUs

The rx4640 has 4 slots, you have 8 CPUs, so there are 4 dual core modules.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Amir Pakdel
Occasional Advisor

Re: Identification of number of cores of CPUs

Posted output of commands are just a sample. I would like to have a script or a method to be able to investigate all of our servers.
Even if there is list of number of cores of different models of CPUs, that would be useful.
Dennis Handly
Acclaimed Contributor

Re: Identification of number of cores of CPUs

>I would like to have a script or a method to be able to investigate all of our servers.

For Integrity servers, I would stick with machinfo. Otherwise ioscan would work for both PA and Integrity.
Torsten.
Acclaimed Contributor

Re: Identification of number of cores of CPUs

If you see these CPU types:

PA8800, PA8900

processor family: 32 Intel(R) Itanium 2 9000 series
processor family: 32 Intel(R) Itanium 2 9100 series

or maybe

processor family: 32 Intel(R) Itanium 2 9300 series


you can be sure it is dual or (last line) even quad core.

With other Itanium CPU it could be a bit more complicated.

Any examples?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Amir Pakdel
Occasional Advisor

Re: Identification of number of cores of CPUs

Therefore, there is no simple way of determining number of detachable physical CPU units. I mean, for example, there is no single script to run that gives us "You have 4 detachable physical CPU units".
Does anyone know where can I find a list of Itanium CPU specifications? I may be able to map processor model to number of cores and produce the output I need from that.
Dennis Handly
Acclaimed Contributor

Re: Identification of number of cores of CPUs

>detachable physical CPU units".

What do you mean by this? Sockets or cores?

>I may be able to map processor model to number of cores and produce the output I need.

Why? machinfo(1) does that for you.
Amir Pakdel
Occasional Advisor

Re: Identification of number of cores of CPUs

>detachable physical CPU units".

>What do you mean by this? Sockets or cores?
Sockets; I mean the physical thing that I can buy, I can remove from the server.
Leonard C.
Frequent Advisor
Solution

Re: Identification of number of cores of CPUs

You can develop a script such as below method:

- find the ID number of processor family :

Example of possible cases:
processor family: 31 Intel(R) Itanium 2 Family Processors
processor family: 32 Intel(R) Itanium 2 9000 series

Extract the number of core per physical processor as below:
31 => Single core
32 => Dual core