Operating System - HP-UX
1748219 Members
4890 Online
108759 Solutions
New Discussion юеВ

top command showing more CPUs

 
SOLVED
Go to solution
T Jose
Advisor

top command showing more CPUs

Hi,

In one of the Vpar, top command is showing 8 CPUs where in vparstatus is showing only 4CPUs for that particualar partition. Please find attached output.
12 REPLIES 12
Dennis Handly
Acclaimed Contributor
Solution

Re: top command showing more CPUs

Is hyperthreading turned on?
njia_1
Trusted Contributor

Re: top command showing more CPUs

hi there

4 dual core CPUs ? ;)
Hakki Aydin Ucar
Honored Contributor

Re: top command showing more CPUs

Hi
if you are not sure about dual core processor that nija stated, use to check;

# vparstatus -d
T Jose
Advisor

Re: top command showing more CPUs

Hi njia,

We have 14 dual core processor,ie 28 core.
And equqlly distributed to all 7 vpars.
Also we have configured GwLM in this complex.
please find vparstatus -d output below.
root@spare2:/>vparstatus -d
CPU Cell Config Sibling Information
path CPU LID ID Status Assigned to Path /vPar name
===== ================== ==== ====== ================== =======================
0.120 0x0 0 E Spare_1 0.121 ECCCI
0.121 0x1000000 0 E ECCCI 0.120 Spare_1
0.122 0x4000000 0 E BWCI 0.123 XICI
0.123 0x5000000 0 E XICI 0.122 BWCI
0.124 0x8000000 0 E SRMCI 0.125 BWCI
0.125 0x9000000 0 E BWCI 0.124 SRMCI
1.120 0x10000 1 E SCMCI 1.121 Spare_1
1.121 0x1010000 1 E Spare_1 1.120 SCMCI
1.122 0x4010000 1 E BWCI 1.123 EPCI
1.123 0x5010000 1 E EPCI 1.122 BWCI
1.124 0x8010000 1 E EPCI 1.125 EPCI
1.125 0x9010000 1 E EPCI 1.124 EPCI
2.120 0x20000 2 E EPCI 2.121 XICI
2.121 0x1020000 2 E XICI 2.120 EPCI
2.122 0x4020000 2 E SCMCI 2.123 BWCI
2.123 0x5020000 2 E BWCI 2.122 SCMCI
2.124 0x8020000 2 E XICI 2.125 SCMCI
2.125 0x9020000 2 E SCMCI 2.124 XICI
3.120 0x30000 3 E XICI 3.121 Spare_1
3.121 0x1030000 3 E Spare_1 3.120 XICI
3.122 0x4030000 3 E SCMCI 3.123 SRMCI
3.123 0x5030000 3 E SRMCI 3.122 SCMCI
3.124 0x8030000 3 E SRMCI 3.125 ECCCI
3.125 0x9030000 3 E ECCCI 3.124 SRMCI
7.120 0x70000 7 E SRMCI 7.121 ECCCI
7.121 0x1070000 7 E ECCCI 7.120 SRMCI
7.122 0x8070000 7 E ECCCI 7.123 Spare_1
7.123 0x9070000 7 E Spare_1 7.122 ECCCI
T Jose
Advisor

Re: top command showing more CPUs

Hi,

Please find the differences in ioscan and vparstatus -d out puts.

T Jose
Advisor

Re: top command showing more CPUs

Hello Team,

Is there any input on this issue?

Benoy Daniel
Trusted Contributor

Re: top command showing more CPUs

Are you using 11.31?. Did you enable hyperthreading?.

To check hyperthreading is enabled or not.

check the kernel value lcpu_attr. If it shows 1 then hyperthreading is enabled.
Torsten.
Acclaimed Contributor

Re: top command showing more CPUs

... or just send the output of

# setboot

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!   
muruganantham raju
Valued Contributor

Re: top command showing more CPUs

Hi Jose,
Even I guess it is due to HyperThreading. If you have glance installed in your hpux system, run the following to find if hyperthreading enabled or not.

#cat myscript
print GBL_CPU_MT_ENABLED

#/opt/perf/bin/glance -aos ./myscript

This will get you output "on" of HT enabled.