Operating System - HP-UX
1838383 Members
3151 Online
110125 Solutions
New Discussion

Inconsistent cpu utilization reports

 
hp_user_1
Regular Advisor

Inconsistent cpu utilization reports

Hi there,
I have an N4000-44 server with 2 vpars. One vpar has 5 cpus and the other one has 3 allocated. The server with 5 cpus reports in glance that there are only 2 active cpus 0 and 3, while stm, sysinfo and ioscan report 5 active cpus.

Who is right?

What should I do to make all 5 cpus active on the server?

Thanks
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Inconsistent cpu utilization reports

Shalom hp_user,

Bound cpu's can not be moved from vpar to vpar.

Unbound cpu's can be shifted from vpar to vpar. They can be used in the vpar they are already in.

vparmoidfy -p vPar_name -a cpu:109

109 is replaced by the cup you ant to use.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Devender Khatana
Honored Contributor

Re: Inconsistent cpu utilization reports

Hi,

What does top report ?

HTH,
Devender
Impossible itself mentions "I m possible"
hp_user_1
Regular Advisor

Re: Inconsistent cpu utilization reports

Here is the output from top. It shows two processors
=============================
System: yyzppdb3 Tue Nov 22 14:00:15 2005
Load averages: 2.49, 1.98, 1.83
292 processes: 257 sleeping, 34 running, 1 zombie
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 2.55 99.0% 0.0% 1.0% 0.0% 0.0% 0.0% 0.0% 0.0%
3 2.42 94.1% 0.0% 5.9% 0.0% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 2.49 97.0% 0.0% 3.0% 0.0% 0.0% 0.0% 0.0% 0.0%

Memory: 3220560K (2027388K) real, 3811208K (2468436K) virtual, 2605192K free Pa
ge# 1/27

CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
3 ? 22232 oracl920 231 20 726M 39600K run 139:16 45.91 45.83 oracleDW12
0 ? 29652 oracl920 230 20 455M 3312K run 0:14 27.05 25.64 oracleCL15
3 ? 27012 oracl920 148 20 709M 27436K sleep 2:15 19.55 19.52 ora_p010_DW
0 ? 27015 oracl920 217 20 709M 27436K run 2:16 17.62 17.59 ora_p011_DW
0 ? 1224 root 207 20 3936K 880K run 0:01 56.52 5.38 pvdisplay
0 ? 23252 root 152 20 80388K 62404K run 203:09 2.75 2.74 opcmona
0 ? 5964 root 152 20 51008K 19376K run 275:48 1.95 1.94 mhragent
3 ? 2937 root 127 20 40992K 10008K sleep 199:05 1.54 1.54 scopeux
3 ? 2885 root -16 20 34472K 12660K run 743:40 0.92 0.92 midaemon
=========================================

And here is the output from vparstatus:

[Virtual Partition]
Boot
Virtual Partition Name State Attributes Kernel Path Opts
============================== ===== ========== ========================= =====
yyzppdb3 Up Dyn,Auto /stand/vmunix -lq
yyzppap9 Up Dyn,Auto /stand/vmunix -lq

[Virtual Partition Resource Summary]
CPU Num Memory (MB)
CPU Bound/ IO # Ranges/
Virtual Partition Name Min/Max Unbound devs Total MB Total MB
============================== ================ ==== ====================
yyzppdb3 1/ 4 1 1 9 0/ 0 8192
yyzppap9 2/ 5 2 2 8 0/ 0 8192
=============================================

Thanks
Pete Randall
Outstanding Contributor

Re: Inconsistent cpu utilization reports

I think the unbound CPU's won't show up in Glance. Only bound CPU's are interruptable and capable of handling I/O. I suspect that Glance treats them differently. They may be assigned to the VPAR but, not being bound, they aren't counted by Glance. Sorry, I can't test this theory because all mine are bound but I think it's fairly likely that this is the case.


Pete

Pete
hp_user_1
Regular Advisor

Re: Inconsistent cpu utilization reports

With this info can someone tells me how many cpus this box has and how many are allocated to yyzppdb3 partition.

Thanks