Unix Technical Forum

Monitoring real CPU useage when using micro partitions

This is a discussion on Monitoring real CPU useage when using micro partitions within the AIX Operating System forums, part of the Unix Operating Systems category; --> I have a p5 570, with 4 DCMs (4 CPUs, 8 cores). I have two micro paritions. I have ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 10:09 AM
miles
 
Posts: n/a
Default Monitoring real CPU useage when using micro partitions

I have a p5 570, with 4 DCMs (4 CPUs, 8 cores).
I have two micro paritions.
I have two VIO servers. So, four micro paritions in total.
Also using a HMC and CSM from management station (p520).

I want to monitor the CPU usage at the physical level. ie. at the
hypervisor level.
I don't want any AIX commands, because these will only monitor that
micro parition. So I don't think iostat, vmstat, mpstat, lparstat,
nmon, sar, etc. will help.

I tried looking on the HMC, but I couldn't find what I wanted. I don't
think Ultilization Data Mangement, will give me what I want. Although,
it is the closest thing I could find.

Can anyone help me out?

Miles

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 10:09 AM
sveinng@gmail.com
 
Posts: n/a
Default Re: Monitoring real CPU useage when using micro partitions

> I have a p5 570, with 4 DCMs (4 CPUs, 8 cores).
> I have two micro paritions.
> I have two VIO servers. So, four micro paritions in total.
> Also using a HMC and CSM from management station (p520).
>
> I want to monitor the CPU usage at the physical level. ie. at the
> hypervisor level.
> I don't want any AIX commands, because these will only monitor that
> micro parition. So I don't think iostat, vmstat, mpstat, lparstat,
> nmon, sar, etc. will help.
>
> I tried looking on the HMC, but I couldn't find what I wanted. I don't
> think Ultilization Data Mangement, will give me what I want. Although,
> it is the closest thing I could find.
>
> Can anyone help me out?
>
> Miles



Hi Miles.

You can monitor the cpu usage of the whole system from within micro
partitions, if you grant "Pool Authority" to that partition. Then use
tools like lparstat (app column) or nmon (press p) to monitor your
shared CPU pool.

Hope this helps.
- Svenni

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 10:10 AM
miles
 
Posts: n/a
Default Re: Monitoring real CPU useage when using micro partitions

sveinng@gmail.com wrote:
> > I have a p5 570, with 4 DCMs (4 CPUs, 8 cores).
> > I have two micro paritions.
> > I have two VIO servers. So, four micro paritions in total.
> > Also using a HMC and CSM from management station (p520).
> >
> > I want to monitor the CPU usage at the physical level. ie. at the
> > hypervisor level.
> > I don't want any AIX commands, because these will only monitor that
> > micro parition. So I don't think iostat, vmstat, mpstat, lparstat,
> > nmon, sar, etc. will help.
> >
> > I tried looking on the HMC, but I couldn't find what I wanted. I don't
> > think Ultilization Data Mangement, will give me what I want. Although,
> > it is the closest thing I could find.
> >
> > Can anyone help me out?
> >
> > Miles

>
>
> Hi Miles.
>
> You can monitor the cpu usage of the whole system from within micro
> partitions, if you grant "Pool Authority" to that partition. Then use
> tools like lparstat (app column) or nmon (press p) to monitor your
> shared CPU pool.
>
> Hope this helps.
> - Svenni


I think that might be it!

This is what I did:
log into the HMC
Select Server and Partition
Select Server Managment
Click on each physical server:
Expand: Partitions
Right click on each on each of the micro partitions:
- Select Properties
- Click on Hardware
- Click on Processors and Memory
- Check "Allow shared processor pool utilization authority"
The change is dynamic.

Here is the difference in the lparstat commands:
lparstat 2 4

System configuration: type=Shared mode=Uncapped smt=On lcpu=8 mem=20480

%user %sys %wait %idle physc %entc lbusy vcsw phint
----- ---- ----- ----- ----- ----- ------ ---- -----
7.4 10.7 0.0 81.9 0.42 21.0 5.5 2522 25
3.7 6.6 0.0 89.7 0.24 12.0 2.7 2188 6
5.0 7.3 0.0 87.7 0.28 14.2 3.2 2089 13
7.8 8.4 0.0 83.7 0.37 18.4 4.3 1884 13
lparstat 2 4

System configuration: type=Shared mode=Uncapped smt=On lcpu=8 mem=20480

%user %sys %wait %idle physc %entc lbusy app vcsw phint
----- ---- ----- ----- ----- ----- ------ --- ---- -----
20.6 11.2 0.0 68.2 0.70 35.0 10.5 6.32 1476 64
27.8 9.7 0.0 62.6 0.80 40.2 13.5 6.19 1754 47
41.8 19.9 0.0 38.3 1.34 67.2 20.8 5.48 2777 133
29.8 22.1 0.0 48.1 1.17 58.7 15.0 5.75 5362 61

Notice the app column. This appears to be the amount of idle processing
units (for the entire physical server).

The output in nmon then changes a little:
Flags: LPARed DRable SMT-bound Shared UnCapped PoolAuth
Summary: Entitled= 2.00 Used 0.68 ( 33.8%) 8.4% of CPUs in System

PoolCPUs= 8 Unused 7.28 8.4% of CPUs in
Pool

The utilization of the entire physical server, including all micro
partitions is then:
(installed processing units - Unused) / installed processing units *
100
or: (8 - 7.28) / 8 * 100 or 9%

Thanks Svenni

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:12 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com