Operating System - HP-UX
1855255 Members
5718 Online
104109 Solutions
New Discussion

Processors on rp4440-8, and HP-UX

 
Andrew Rycroft
Advisor

Processors on rp4440-8, and HP-UX

Hi,

We have an rp4440-8 with HP-UX. All the HP bill of materials, and licensing refers to our configuration as a 4 processor system. It has 2 system boards with dual core processor.

ioscan and top only see 2 processors. Is this correct ? Can I not see all 4 processors from the operating system ?
10 REPLIES 10
Sunil Sharma_1
Honored Contributor

Re: Processors on rp4440-8, and HP-UX

It should show 4 CPU in ioscan and top.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
John Payne_2
Honored Contributor

Re: Processors on rp4440-8, and HP-UX

Andrew,

I didn't think the rp4440's were cell based architecture. (But I could be wrong, we haven't purchased one yet.)

There should not be anything preventing you from seeing all 4 processors from an OS perspective. (Assuming they are all there and configured.)

Do you have online diagnostics? can you run cstm or xstm to look and see what they see?

Short of that, can you reboot the server, interrupt the boot process to the BCH, and see how many processors are there?

John
Spoon!!!!

Re: Processors on rp4440-8, and HP-UX

The rp4440 is not a cell based system. I assume when you say 2 system boards you mean to CPU modules (each of which will contain 2 CPU cores). If your bill of materials is for 4 CPU cores (you can usually tell by looking at the number of per-processor HPUX licenses), then something is wrong - time to go back to HP/your reseller and ask them to sort it...

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Amit Agarwal_1
Trusted Contributor

Re: Processors on rp4440-8, and HP-UX

top shows only active processors. I am not sure about your system configuration, but it could be that your system has 4 CPUs out of which 2 are deactivated.

You can use pstat_getdynamic call to find out the actual processors and active processors.

You can use psd_max_proc_cnt and psd_proc_cnt fields of pst_dynamic structure defined in /usr/include/sys/pstat/global_pstat_body.h

HTH,
Amit
B. Hulst
Trusted Contributor

Re: Processors on rp4440-8, and HP-UX

Hi,

Check the system with glance. It should give you more details. If you don't have glance you can download an eval version.

Otherwise the command dmesg might show you the bootup messages...also in /var/adm/messages...

Regards,
Bob
Geoff Wild
Honored Contributor

Re: Processors on rp4440-8, and HP-UX

Run this script called hpmem:


#!/bin/ksh
#
# Taken from the HP/UniGraphics FAQ
# You must be ROOT to execute this since it uses adb to
# examine the running kernel
#
GetKernelSymbol()
{
echo "$1/D" | \
adb -k $hpux /dev/kmem | \
tr "\012" " " | \
read junk junk2 kval
}
hpux=/hp-ux
rev=$(uname -r | cut -d. -f2)
if ((rev > 9)); then hpux=/stand/vmunix ;fi
/bin/uname -a
GetKernelSymbol "processor_count"
print CPU Count: $kval
GetKernelSymbol "itick_per_tick"
let speed=kval/10000
print CPU Speed: $speed MHz
if ((rev > 10)); then
print CPU HW Support: `getconf HW_CPU_SUPP_BITS`-bit
print Kernel Support: `getconf KERNEL_BITS`-bit
GetKernelSymbol "memory_installed_in_machine"
else
GetKernelSymbol "physmem"
fi
let mb=kval*4/1024 # convert pages to MB
print RAM Size: $mb MB
GetKernelSymbol "bufpages"
let mb=kval*4/1024 # convert pages to MB
print bufpages: $mb MB
GetKernelSymbol "maxuprc"
print maxuprc: $kval
GetKernelSymbol "maxvgs"
print maxvgs: $kval
GetKernelSymbol "maxfiles"
print maxfiles: $kval
GetKernelSymbol "max_thread_proc"
print max_thread_proc: $kval
GetKernelSymbol "nfile"
print nfile: $kval
GetKernelSymbol "nflocks"
print nflock: $kval
GetKernelSymbol "nproc"
print nproc: $kval
GetKernelSymbol "ninode"
print ninode: $kval
GetKernelSymbol "vfd_cw"
print shmmax: $kval
GetKernelSymbol "shmmni"
print shmmni: $kval
GetKernelSymbol "dbc_max_pct"
print dbc_max_pct: $kval

If that doesn't show 4 processors, then run sysinfo301 - attached like so:

/usr/local/sysinfo/sysinfo -a -b -o /usr/tmp/`hostname`.sysinfo

The look view /usr/tmp/`hostname`.sysinfo

Rgds...Geoff


Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Gerhard Roets
Esteemed Contributor

Re: Processors on rp4440-8, and HP-UX

HI Andrew

You have 4 physical cpu's. That is 100% right. They have two CPU cores on each so on the system you will have 8 CPU's when you look at it from the OS level.

HTH
Gerhard
B. Hulst
Trusted Contributor

Re: Processors on rp4440-8, and HP-UX

Hi,

And software licenses are on cpu level.

Not yet taking in account the same confusion we have now with the double core CPU's.

How do we count them? The hardware view or the software view... ;-)

Regards,
Bob


Gerhard Roets
Esteemed Contributor

Re: Processors on rp4440-8, and HP-UX

Hi

Well the licensing will depend on the app and the app rules.

The app would see 8 CPU's so it will be 8. Some apps allow you tobuyer smaller blocks etc.

HTH
Gerhard
Andrew Rutter
Honored Contributor

Re: Processors on rp4440-8, and HP-UX

hi,

if you ordered an rp4440-8 then you should see 8 processors not 4 or 2
this would be made up from 4x dual core cpu's installed on the baseboard. 2 on the top and 2 underneath.
I would check first at pdc level on bootup to see if all 8 proc are seen. If not detected then they wont work in unix. You can also easily check the baseboard for installed cpu's
Your licences should also reflect 8 processors.
hpux and oracle and other apps price per cpu
1x dual core cpu = 2 lic required.

Sounds like you may have to call HP as they have misconfigured your server.

Andy