Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

wrong vmstat info

Status
Not open for further replies.

gatetec

MIS
Mar 22, 2007
420
0
0
US
vmstat returns 8 cpu

mil:/> vmstat

System configuration: lcpu=8 mem=20480MB

kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
1 2 9718331 5277 0 0 5 1006 1276 0 538 6387 974 1 3 96 1


but, there are 4 cpus only. How do I correct vmstat info?

mil:/> lsconf
Processor Type: PowerPC_POWER5
Number Of Processors: 4
Processor Clock Speed: 1648 MHz
.....

mil:/> lsdev -C |grep Proc
proc0 Available 00-00 Processor
proc2 Available 00-02 Processor
proc4 Available 00-04 Processor
proc6 Available 00-06 Processor

thx much
 
Each Proc has two cores, You'll notice your procs are labelled 0,2,4,6

Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
On the other box, there are 12 cpus, and vmstat reflects the number of cpus correctly, though???

proc0 Available 00-00 Processor
proc2 Available 00-02 Processor
proc4 Available 00-04 Processor
proc6 Available 00-06 Processor
proc8 Available 00-08 Processor
proc10 Available 00-10 Processor
proc12 Available 00-12 Processor
proc14 Available 00-14 Processor
proc16 Available 00-16 Processor
proc18 Available 00-18 Processor
proc20 Available 00-20 Processor
proc22 Available 00-22 Processor

System Configuration: lcpu=12 mem=63616MB
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
10 2 9770604 4893 0 0 0 1139 1494 0 3123 104619 33282 34 11 40 16



 
I think in the first system with 4 Physical processor is a Power5 system and you have SMT ( Simultaneous multi threading ON).. If you not you have defined the number of virtual processor as 8.

In the second server, one of the following

1. It is not a Power5 system
2. SMT is not ON

or

3. The number of virtual processor is set to 6 with SMT on

You can check whether SMT is ON on not by typing the command smtctl
 
By any chance you are using AIX 5.2 on the second server which do not support SMT even if you have a Power 5 processor
 
The only reason I can think of is SMT on... on this 5.3 box.
This box has 4 cpus and 2 LPARs. So, 4 * 2 = 8 lcpus. Is that right?

thx

 
Yes. Are you getting a similar output when you give the command smtctl

#smtctl

This system is SMT capable.

SMT is currently enabled.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top