HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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.

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.

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

Taifur
Respected Contributor

Re: Identification of number of cores of CPUs

Hi,

# machinfo
CPU info:
Number of CPUs = 8
Clock speed = 1600 MHz
Bus speed = 400 MT/s

From Machinfo ,i saw number of cpu 8 .In rx4640 server there are 4 cpu socket so 4 dual cpu are installed .

Check below link ,

http://webcache.googleusercontent.com/search?q=cache:speOzmmWxUgJ:www.filibeto.org/unix/hp-ux/lib/hardware/systems/rx4640/upgrade-guide-Diablo_upgrade.pdf+user+guide+rx4640&cd=7&hl=en&ct=clnk#31

Cheers//
Taifur
Torsten.
Acclaimed Contributor

Re: Identification of number of cores of CPUs

and again machinfo:

# machinfo
CPU info:
1 Intel(R) Itanium 2 9000 series processor (1.4 GHz, 12 MB)
399 MT/s bus, CPU version C2
2 logical processors (2 per socket)
...


The "2 per socket" is what you want to know?

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

>and again machinfo:
>
># machinfo
>CPU info:
>1 Intel(R) Itanium 2 9000 series processor >(1.4 GHz, 12 MB)
>399 MT/s bus, CPU version C2
>2 logical processors (2 per socket)
>...
>
>The "2 per socket" is what you want to know?

The output I have got from machinfo does not contain that "2 per socket". Please take look at the output of machinfo above.
Torsten.
Acclaimed Contributor

Re: Identification of number of cores of CPUs

missing patches?

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

I do not think so:
BUNDLE B.2009.06.23 Patch Bundle

QPKBASE B.11.23.0806.072 Base Quality Pack Bundle for HP-UX 11i v2, June 2008

HWEnable11i B.11.23.0712.070 Hardware Enablement Patches for HP-UX 11i v2, December 2007

FEATURE11i B.11.23.0803.070a Feature Enablement Patches for HP-UX 11i v2, March 2008
Torsten.
Acclaimed Contributor

Re: Identification of number of cores of CPUs

Your bundles are not the latest, however try

http://www13.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_40685&sel={hpux:11.23,}&BC=main|search|

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

I have installed the path, but output of my machinfo is still as the following:
# machinfo
CPU info:
Number of CPUs = 2
Number of enabled CPUs = 2
Clock speed = 1600 MHz
Bus speed = 400 MT/s
CPUID registers
vendor information = "GenuineIntel"
processor serial number = 0x0000000000000000
processor version info = 0x000000001f020204
architecture revision: 0
processor family: 31 Intel(R) Itanium 2 Family Processors
processor model: 2 Intel(R) Itanium 2 processor
Bus features
implemented = 0xbdf0000060000000
selected = 0x0000000040000000
Bus Lock Signal masked
processor revision: 2 Stepping A2
largest CPUID reg: 4
processor capabilities = 0x0000000000000001
implements long branch: 1

Cache info:
L1 Instruction: size = 16 KB, associativity = 4
L1 Data: size = 16 KB, associativity = 4
L2 Unified: size = 256 KB, associativity = 8
L3 Unified: size = 3072 KB, associativity = 6

Memory = 4076 MB (3.980469 GB)

Firmware info:
Firmware revision = 04.29
FP SWA driver revision: 1.18
IPMI is supported on this system.
BMC version: 4.04

Platform info:
model string = "ia64 hp server rx2620"
machine id number = a8f29c7e-b86e-11da-9b3a-01e2c9b6095d
machine serial number = DEH460642W

OS info:
sysname = HP-UX
nodename = unknown
release = B.11.23
version = U (unlimited-user license)
machine = ia64
idnumber = 2834472062
vmunix _release_version:
@(#) $Revision: vmunix: B11.23_LR FLAVOR=perf Fri Aug 29 22:35:38 PDT 2003 $
Torsten.
Acclaimed Contributor

Re: Identification of number of cores of CPUs

This is a single core, the Itanium 2 (codename Madison).

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!   
chris huys_4
Honored Contributor

Re: Identification of number of cores of CPUs

Hi Amir,

The defect description part of the patchnotes of the patch, torsten, points to, not only mentions that single core cpus will not display "core lines" in the machinfo output,

QUOTE http://www13.itrc.hp.com/service/patch/patchDetail.do?admit=109447627+1273084557679+28353475&patchid=PHCO_40685&sel={hpux%3A11.23%2C}&BC=main|search|

Patch Name: PHCO_40685

Patch Description: s700_800 11.23 Cumulative machinfo command patch

[..]
Defect Description:
[..]
# machinfo
CPU info:
Number of CPUs = 4
Number of enabled CPUs = 4
Number of enabled sockets = 2
Cores per socket = 2
...

The additional lines pertaining to processor sockets will
appear only on systems with multi-core processors. Systems
with single core processors will only present the number of
CPUs and the number of enabled CPUs.


UNQUOTE http://www13.itrc.hp.com/service/patch/patchDetail.do?admit=109447627+1273084557679+28353475&patchid=PHCO_40685&sel={hpux%3A11.23%2C}&BC=main|search|

, but also that this patch is part of a set of "socket information patches".

QUOTE [PHCO_40685]
[..]
The following patches will be required for machinfo to
provide socket information:

PHKL_37803
PHKL_37804
PHKL_37805
UNQUOTE [PHCO_40685]

And the above list of patches, is apparantly not "exhaustive", as clicking one of the additionial patches, f.e. PHKL_37803, will point to yet a 5th patch, PHKL_37806, patch to be installed..

Anyway, throwing the patch PHCO_40685 patch through a patch dependency analyzer will show the following dependency patches, that would be advised to also get installed, together with PHCO_40685, if not allready installed..

PHCO_40685: s700_800 11.23 Cumulative machinfo command patch
OS: 11.23
PHCO_38717
PHKL_31500
PHKL_37803
PHKL_37804
PHKL_39390
PHKL_39391
PHKL_39392
PHKL_40487
PHKL_40526
PHKL_40684

Greetz,
Chris
Hakki Aydin Ucar
Honored Contributor

Re: Identification of number of cores of CPUs

There is lots of way to examine what you are looking for as stated here. Additionally ,you can use (if you have GSP AND nPartition) remote console to see all hard partitions on same terminal;

MP:CM> df




The Entity you have selected is CPU
FRU ID Definition Revision : A
Artwork Revision :
Engineering Date Code :
Part Number : A6435-04001
Serial Number : VU1V9SY 531P
FRU Name : Processor
Scan Revision : 0x0
FRU Specific Information : PA8700 Rev 3.1
Manufacturing and Test History :
Field 0 0x000000000000000000
Field 1 0x000000000000000000
Field 2 0x000000000000000000
Field 3 0x000000000000000000
Field 4 0x000000000000000000
Field 5 0x000000000000000000
Field Spare 0x0000